summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/auxiliary/tgsi/tgsi_scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/gallium/auxiliary/tgsi/tgsi_scan.c')
-rw-r--r--lib/mesa/src/gallium/auxiliary/tgsi/tgsi_scan.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mesa/src/gallium/auxiliary/tgsi/tgsi_scan.c b/lib/mesa/src/gallium/auxiliary/tgsi/tgsi_scan.c
index ecb3706ed..5fab72eb6 100644
--- a/lib/mesa/src/gallium/auxiliary/tgsi/tgsi_scan.c
+++ b/lib/mesa/src/gallium/auxiliary/tgsi/tgsi_scan.c
@@ -663,6 +663,10 @@ scan_declaration(struct tgsi_shader_info *info,
info->shader_buffers_declared |= 1u << reg;
break;
+ case TGSI_FILE_HW_ATOMIC:
+ info->hw_atomic_declared |= 1u << reg;
+ break;
+
case TGSI_FILE_INPUT:
info->input_semantic_name[reg] = (ubyte) semName;
info->input_semantic_index[reg] = (ubyte) semIndex;