diff options
author | Ian Romanick <[email protected]> | 2012-07-25 07:24:58 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2012-08-24 19:13:12 -0700 |
commit | a33f360e8f8138c5b37b5e33324283e764d0750c (patch) | |
tree | 4c9d0fb36a321f2fcc880da8deef1d632d5bf94b /src/mesa/main/texgen.c | |
parent | 229868edf7f4232a4d97867a2ccea12db4c8cf57 (diff) |
mesa: Refactor element type checking into its own function
This consolidates the tests and makes the emitted error message
consistent.
v2: Rename _mesa_valid_element_type to valid_elements_type. Log the
enum string instead of the hex value in error messages. Based on review
comments from Brian Paul and Ken Graunke.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/texgen.c')
0 files changed, 0 insertions, 0 deletions