diff options
author | Rob Clark <[email protected]> | 2015-04-15 10:16:31 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2015-04-17 11:40:14 -0400 |
commit | efbf14e8936384ab1d243afbe3fa9bb0f40e3898 (patch) | |
tree | 7784dd008df178def832240e6689f269af3e8988 /src/gallium/drivers/freedreno/freedreno_screen.c | |
parent | e5e11b5baf26e175f802c8078db92fd8492aa29d (diff) |
freedreno/ir3/nir: lower if/else
For now, completely flatten if/else blocks. That will almost certainly
change once we have flow control.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_screen.c')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_screen.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index fda60eda6fd..15ae287d7b0 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -346,10 +346,6 @@ fd_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader, case PIPE_SHADER_CAP_MAX_TEX_INDIRECTIONS: return 16384; case PIPE_SHADER_CAP_MAX_CONTROL_FLOW_DEPTH: - /* for now, let someone else flatten if/else when using NIR: */ - if ((fd_mesa_debug & FD_DBG_NIR) && - (is_a3xx(screen) || is_a4xx(screen))) - return 0; return 8; /* XXX */ case PIPE_SHADER_CAP_MAX_INPUTS: case PIPE_SHADER_CAP_MAX_OUTPUTS: |