diff options
author | Kenneth Graunke <[email protected]> | 2019-05-05 02:39:23 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-05-15 19:44:21 -0700 |
commit | 752367b76640fe4fbd6dbb98c1d9bff53c0db993 (patch) | |
tree | f66cad57edc695fbea62770496a6fe1abcc81a12 /src | |
parent | fce0214e94ef2f95693d4c51e823ea7eca8b6dab (diff) |
iris: Dodge more GLSL IR lowering
This avoids some lower_instructions bits in st.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/iris/iris_screen.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c index f77b30e7789..84fd39bb23b 100644 --- a/src/gallium/drivers/iris/iris_screen.c +++ b/src/gallium/drivers/iris/iris_screen.c @@ -407,11 +407,12 @@ iris_get_shader_param(struct pipe_screen *pscreen, return 1 << PIPE_SHADER_IR_NIR; case PIPE_SHADER_CAP_MAX_UNROLL_ITERATIONS_HINT: return 32; + case PIPE_SHADER_CAP_TGSI_DROUND_SUPPORTED: + case PIPE_SHADER_CAP_TGSI_LDEXP_SUPPORTED: + return 1; case PIPE_SHADER_CAP_LOWER_IF_THRESHOLD: case PIPE_SHADER_CAP_TGSI_SKIP_MERGE_REGISTERS: - case PIPE_SHADER_CAP_TGSI_DROUND_SUPPORTED: case PIPE_SHADER_CAP_TGSI_DFRACEXP_DLDEXP_SUPPORTED: - case PIPE_SHADER_CAP_TGSI_LDEXP_SUPPORTED: case PIPE_SHADER_CAP_TGSI_FMA_SUPPORTED: case PIPE_SHADER_CAP_TGSI_ANY_INOUT_DECL_RANGE: case PIPE_SHADER_CAP_TGSI_SQRT_SUPPORTED: |