summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_optimization.h
diff options
context:
space:
mode:
authorYuanhan Liu <[email protected]>2011-12-21 14:51:59 +0800
committerYuanhan Liu <[email protected]>2011-12-26 11:19:17 +0800
commit0a17093eaf84696b05d04a45d6d51281f7b2786b (patch)
treee45a746df6b8723b3f0a28fe4f4c7a4f3df3e54b /src/glsl/ir_optimization.h
parent2175634e73f9c5ccaf565f0dc15520610b1eb7ff (diff)
i965: let the if_stack just store the instruction index
If dynamic instruction store size is enabled, while after the brw_IF/ELSE() and before the brw_ENDIF() function, the eu instruction store base address(p->store) may change. Thus let if_stack just store the instruction index. This is somehow more flexible and safe than store the instruction memory address. Signed-off-by: Yuanhan Liu <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/ir_optimization.h')
0 files changed, 0 insertions, 0 deletions