diff --git a/src/gallium/drivers/crocus/crocus_screen.c b/src/gallium/drivers/crocus/crocus_screen.c index b722c9b54ca..b9853e6a231 100644 --- a/src/gallium/drivers/crocus/crocus_screen.c +++ b/src/gallium/drivers/crocus/crocus_screen.c @@ -305,14 +305,7 @@ crocus_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT: return CROCUS_MAP_BUFFER_ALIGNMENT; case PIPE_CAP_SHADER_BUFFER_OFFSET_ALIGNMENT: - /* Choose a cacheline (64 bytes) so that we can safely have the CPU and - * GPU writing the same SSBO on non-coherent systems (Atom CPUs). With - * UBOs, the GPU never writes, so there's no problem. For an SSBO, the - * GPU and the CPU can be updating disjoint regions of the buffer - * simultaneously and that will break if the regions overlap the same - * cacheline. - */ - return devinfo->ver >= 7 ? 64 : 0; + return devinfo->ver >= 7 ? 4 : 0; case PIPE_CAP_MAX_SHADER_BUFFER_SIZE: return devinfo->ver >= 7 ? (1 << 27) : 0; case PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT: