summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_optimization.h
diff options
context:
space:
mode:
authorYuanhan Liu <[email protected]>2011-12-21 15:10:40 +0800
committerYuanhan Liu <[email protected]>2011-12-26 11:21:56 +0800
commit328e6a5497e54b0e8aed803cf6d2ae9a2a00b2fe (patch)
tree0e135ff0a6667b16657efcc99089343547a4bcf0 /src/glsl/ir_optimization.h
parent0a17093eaf84696b05d04a45d6d51281f7b2786b (diff)
i965: get the jmp distance by instruction index
If dynamic instruction store size is enabled, while after the brw_JMPI() and before the brw_land_fwd_jump() function, the eu instruction store base address(p->store) may change. Thus, the safe way to reference the jmp instruction is by index instead of by the instruction address. v2: comments from Eric, don't change the prototype of brw_JMPI Signed-off-by: Yuanhan Liu <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/glsl/ir_optimization.h')
0 files changed, 0 insertions, 0 deletions