projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0187f88
)
radeonsi: increase MAX_CONTROL_FLOW_DEPTH AKA MaxIfDepth
author
Marek Olšák
<marek.olsak@amd.com>
Fri, 4 Nov 2016 11:31:53 +0000
(12:31 +0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Thu, 10 Nov 2016 17:34:55 +0000
(18:34 +0100)
we don't want to lower deep IFs unconditionally
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_pipe.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_pipe.c
b/src/gallium/drivers/radeonsi/si_pipe.c
index 273633cdb48018dcf68bc473ca2b0e7186765280..900de9fa214d556d8ac665b122067fd5912e7cd9 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_pipe.c
+++ b/
src/gallium/drivers/radeonsi/si_pipe.c
@@
-608,9
+608,8
@@
static int si_get_shader_param(struct pipe_screen* pscreen, unsigned shader, enu
case PIPE_SHADER_CAP_MAX_ALU_INSTRUCTIONS:
case PIPE_SHADER_CAP_MAX_TEX_INSTRUCTIONS:
case PIPE_SHADER_CAP_MAX_TEX_INDIRECTIONS:
- return 16384;
case PIPE_SHADER_CAP_MAX_CONTROL_FLOW_DEPTH:
- return
32
;
+ return
16384
;
case PIPE_SHADER_CAP_MAX_INPUTS:
return shader == PIPE_SHADER_VERTEX ? SI_NUM_VERTEX_BUFFERS : 32;
case PIPE_SHADER_CAP_MAX_OUTPUTS: