aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_glsl_to_tgsi_private.h
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2018-04-18 21:16:52 -0400
committerIlia Mirkin <[email protected]>2018-12-26 20:04:57 -0500
commit4d5a6a16497a5993c987bbfef2ce032ecf785968 (patch)
tree0a544a35f7f6df6106b0102e22956e23a9cbd3da /src/mesa/state_tracker/st_glsl_to_tgsi_private.h
parentd139231b32b3bbf73750fb7fb6b46d7cbb9387db (diff)
st/mesa: select ATOMFADD when source type is float
Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_glsl_to_tgsi_private.h')
-rw-r--r--src/mesa/state_tracker/st_glsl_to_tgsi_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi_private.h b/src/mesa/state_tracker/st_glsl_to_tgsi_private.h
index c82de951427..6b5d8278027 100644
--- a/src/mesa/state_tracker/st_glsl_to_tgsi_private.h
+++ b/src/mesa/state_tracker/st_glsl_to_tgsi_private.h
@@ -181,6 +181,7 @@ is_resource_instruction(unsigned opcode)
case TGSI_OPCODE_ATOMUMAX:
case TGSI_OPCODE_ATOMIMIN:
case TGSI_OPCODE_ATOMIMAX:
+ case TGSI_OPCODE_ATOMFADD:
case TGSI_OPCODE_IMG2HND:
return true;
default: