diff options
author | Brian Paul <[email protected]> | 2011-03-11 09:25:22 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-03-11 09:25:22 -0700 |
commit | 8cc84b3e454cf03c71282322e988f03bc4a1baa3 (patch) | |
tree | 24776b266f98b8ef7aa8fb3c3fcd8153ed170a69 /src/mesa/program/programopt.h | |
parent | decc6e2a32ef49e673c081f30e19b8970155d887 (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