summaryrefslogtreecommitdiffstats
path: root/include/KHR
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2013-11-27 10:12:53 -0800
committerPaul Berry <[email protected]>2013-11-29 21:46:20 -0800
commita810db7b84b00763ce9ccbf40baee3f534057a80 (patch)
tree7b8ff168a6503376fc482622e7bbe5d210afaada /include/KHR
parentd6eb4321d0e62b6b391ad88ce390bd6e23d79747 (diff)
glsl: In ir_validate, check that ir_loop::counter always refers to a new var.
The compiler back-ends (i965's fs_visitor and brw_visitor, ir_to_mesa_visitor, and glsl_to_tgsi_visitor) have been assuming this for some time. Thanks to the preceding patch, the compiler front-end no longer breaks this assumption. This patch adds code to validate the assumption so that if we have future bugs, we'll be able to catch them earlier. Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'include/KHR')
0 files changed, 0 insertions, 0 deletions