From: Jason Ekstrand Date: Fri, 15 Apr 2016 23:39:17 +0000 (-0700) Subject: anv/device: Images are only enabled in scalar stages X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=93db828e426b663cb7b1a01f87368a27d2b9377e;p=mesa.git anv/device: Images are only enabled in scalar stages Reported-by: Ilia Mirkin --- diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 57c40f53df8..e477fe195ea 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -408,8 +408,8 @@ void anv_GetPhysicalDeviceFeatures( /* We can't do image stores in vec4 shaders */ pFeatures->vertexPipelineStoresAndAtomics = - !pdevice->compiler->scalar_stage[MESA_SHADER_VERTEX] && - !pdevice->compiler->scalar_stage[MESA_SHADER_GEOMETRY]; + pdevice->compiler->scalar_stage[MESA_SHADER_VERTEX] && + pdevice->compiler->scalar_stage[MESA_SHADER_GEOMETRY]; } void