summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorRhys Perry <[email protected]>2018-06-06 20:55:03 +0100
committerMarek Olšák <[email protected]>2018-08-01 00:10:00 -0400
commit00589be6c42501779e609b6c1e89a14d8536df08 (patch)
tree4677916e89ad2a0af60dd461adca6bb9b8f36d43 /src/gallium/include
parent1fb388cd20f6eb14474d2267c4a6c4840a925e57 (diff)
gallium: add new SAMP2HND and IMG2HND opcodes
This commit does not add support for the opcodes in gallivm or tgsi_to_nir.c Signed-off-by: Rhys Perry <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_shader_tokens.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h
index f4e45c25608..08ed08156e7 100644
--- a/src/gallium/include/pipe/p_shader_tokens.h
+++ b/src/gallium/include/pipe/p_shader_tokens.h
@@ -506,6 +506,8 @@ enum tgsi_opcode {
TGSI_OPCODE_LOAD = 161,
TGSI_OPCODE_STORE = 162,
+ TGSI_OPCODE_IMG2HND = 163,
+ TGSI_OPCODE_SAMP2HND = 164,
/* gap */
TGSI_OPCODE_BARRIER = 166,