Mesa (master): anv/device: Images are only enabled in scalar stages
Jason Ekstrand
jekstrand at kemper.freedesktop.org
Fri Apr 15 23:41:10 UTC 2016
Module: Mesa
Branch: master
Commit: 93db828e426b663cb7b1a01f87368a27d2b9377e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=93db828e426b663cb7b1a01f87368a27d2b9377e
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date: Fri Apr 15 16:39:17 2016 -0700
anv/device: Images are only enabled in scalar stages
Reported-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
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 57c40f5..e477fe1 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
More information about the mesa-commit
mailing list