diff options
author | Jason Ekstrand <[email protected]> | 2016-04-15 16:39:17 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-04-15 16:40:56 -0700 |
commit | 93db828e426b663cb7b1a01f87368a27d2b9377e (patch) | |
tree | 48f9495cbf8f40d3e9d0d8b80852b0ee62b36106 /src/intel | |
parent | c1a2fe7fd1ce7e58517a00c3031d786e8b9849f8 (diff) |
anv/device: Images are only enabled in scalar stages
Reported-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/vulkan/anv_device.c | 4 |
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 |