diff options
author | Brian Paul <[email protected]> | 2012-11-04 16:43:44 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-11-06 07:42:37 -0700 |
commit | 0d61f879a1f2e6bb37368731a29d5267e1c25195 (patch) | |
tree | f107d7a0c05ba457b64d1ce07fe77f729fe7adac /src/mesa/main/enums.h | |
parent | 406df38a6673cb7d19ce652f71fac1047b2279d0 (diff) |
mesa: assert that key->fragprog_inputs_read value isn't too large
fragprog_inputs_read is a 12-bit bitfield so check the assigned value.
MSVC warns on the assignment. Not easy to fix but let's do a sanity check.
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/main/enums.h')
0 files changed, 0 insertions, 0 deletions