summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_disasm.c
diff options
context:
space:
mode:
authorChris Forbes <chrisf@ijw.co.nz>2014-09-23 22:16:23 +1200
committerChris Forbes <chrisf@ijw.co.nz>2014-10-16 22:31:43 +1300
commitf1261db1eea0bea739d5d9e6e1f4ef8192431e26 (patch)
tree6c36b4982736760bf9bb2353eefb9a96074eb87e /src/mesa/drivers/dri/i965/brw_disasm.c
parent0dc56600aa0fae509b60da09f57d1f649125be04 (diff)
downloadexternal_mesa3d-f1261db1eea0bea739d5d9e6e1f4ef8192431e26.zip
external_mesa3d-f1261db1eea0bea739d5d9e6e1f4ef8192431e26.tar.gz
external_mesa3d-f1261db1eea0bea739d5d9e6e1f4ef8192431e26.tar.bz2
i965/disasm: Add missing message type for Gen7 DP untyped surface read
This is used to implement GLSL's atomicCounter() intrinsic. Previously it *worked*, but the disassembly was bogus. Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_disasm.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_disasm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c
index a729d11..53ec767 100644
--- a/src/mesa/drivers/dri/i965/brw_disasm.c
+++ b/src/mesa/drivers/dri/i965/brw_disasm.c
@@ -434,6 +434,7 @@ static const char *const dp_dc0_msg_type_gen7[16] = {
[GEN7_DATAPORT_DC_OWORD_DUAL_BLOCK_READ] = "DC OWORD dual block read",
[GEN7_DATAPORT_DC_DWORD_SCATTERED_READ] = "DC DWORD scattered read",
[GEN7_DATAPORT_DC_BYTE_SCATTERED_READ] = "DC byte scattered read",
+ [GEN7_DATAPORT_DC_UNTYPED_SURFACE_READ] = "DC untyped surface read",
[GEN7_DATAPORT_DC_UNTYPED_ATOMIC_OP] = "DC untyped atomic",
[GEN7_DATAPORT_DC_MEMORY_FENCE] = "DC mfence",
[GEN7_DATAPORT_DC_OWORD_BLOCK_WRITE] = "DC OWORD block write",