summaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-10-25 00:15:37 -0400
committerMarek Olšák <[email protected]>2019-11-04 16:49:44 -0500
commit4b4b383f38ab772d4ad1a4ddccc2d72749257b3a (patch)
treeacda46e3af1b3b2e478d50e0e36bffe0aa09e318 /src/compiler
parent7d00218aed7c9bc6ff6fb10d5fe11844ab68305f (diff)
st/mesa: call nir_lower_flrp only once per shader
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/shader_info.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h
index cc33899ad3e..339aee551eb 100644
--- a/src/compiler/shader_info.h
+++ b/src/compiler/shader_info.h
@@ -162,6 +162,9 @@ typedef struct shader_info {
/** Was this shader linked with any transform feedback varyings? */
bool has_transform_feedback_varyings;
+ /* Whether flrp has been lowered. */
+ bool flrp_lowered;
+
/* SPV_KHR_float_controls: execution mode for floating point ops */
unsigned float_controls_execution_mode;