summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/programopt.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-03-11 09:25:22 -0700
committerBrian Paul <[email protected]>2011-03-11 09:25:22 -0700
commit8cc84b3e454cf03c71282322e988f03bc4a1baa3 (patch)
tree24776b266f98b8ef7aa8fb3c3fcd8153ed170a69 /src/mesa/program/programopt.h
parentdecc6e2a32ef49e673c081f30e19b8970155d887 (diff)
mesa: use check_resources() to check program against limits
Without these checks we could create shaders with more samplers, constants than the driver could handle. Fail linking rather than dying later.
Diffstat (limited to 'src/mesa/program/programopt.h')
0 files changed, 0 insertions, 0 deletions