summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/prog_optimize.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-05-15 12:12:04 -0600
committerBrian Paul <[email protected]>2015-06-03 11:35:46 -0600
commit56b2b3d385170ab33934ec71fd9d0a6e0e1af9a8 (patch)
treeab756ad508bb235c1585602653db34c4976d5abc /src/mesa/program/prog_optimize.c
parent4dd72fe70d6800525302c734d161be411ed9f7e0 (diff)
mesa: move no-change glDepthFunc check earlier
If the incoming func matches the current state it must be a legal value so we can do this before the switch statement. Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_optimize.c')
0 files changed, 0 insertions, 0 deletions