summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/xa/xa_context.c
diff options
context:
space:
mode:
authorIago Toral Quiroga <itoral@igalia.com>2014-04-15 12:30:40 +0200
committerKenneth Graunke <kenneth@whitecape.org>2014-04-16 23:39:57 -0700
commitcda5e0c25ea5f8ab38b69f1f04099acfa3f0ced2 (patch)
treeb414a531b7f6c4529d42e72c3cb7b022ab4ac9a7 /src/gallium/state_trackers/xa/xa_context.c
parent4472ab9e6d7940dcdd627de6bd4fca0cc43651f9 (diff)
glsl: Small optimization for constant conditionals
Once the relevant branch has been identified do not iterate over the instructions in the branch, do a linked list insertion instead to avoid the loop. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/gallium/state_trackers/xa/xa_context.c')
0 files changed, 0 insertions, 0 deletions