st/mesa: call nir_lower_flrp only once per shader

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
This commit is contained in:
Marek Olšák
2019-10-25 00:15:37 -04:00
parent 7d00218aed
commit 4b4b383f38
2 changed files with 21 additions and 15 deletions

View File

@@ -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;