From 93db828e426b663cb7b1a01f87368a27d2b9377e Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 15 Apr 2016 16:39:17 -0700 Subject: [PATCH] anv/device: Images are only enabled in scalar stages Reported-by: Ilia Mirkin --- src/intel/vulkan/anv_device.c | 4 ++-- 1 file 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 -- 2.30.2