summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_device.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-04-15 16:39:17 -0700
committerJason Ekstrand <[email protected]>2016-04-15 16:40:56 -0700
commit93db828e426b663cb7b1a01f87368a27d2b9377e (patch)
tree48f9495cbf8f40d3e9d0d8b80852b0ee62b36106 /src/intel/vulkan/anv_device.c
parentc1a2fe7fd1ce7e58517a00c3031d786e8b9849f8 (diff)
anv/device: Images are only enabled in scalar stages
Reported-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_device.c')
-rw-r--r--src/intel/vulkan/anv_device.c4
1 files changed, 2 insertions, 2 deletions
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