aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-12-12 15:25:47 -0600
committerJason Ekstrand <[email protected]>2019-01-08 00:38:29 +0000
commit7f70b3e55514f1744e9aab6d2145e855603bd1dc (patch)
tree269bdb639d683951e060ad5d732adc288703d840 /src/mesa
parentd8a11bfc0850defbd4d3dd1fdc0de0e8901bfdc4 (diff)
glsl_type: Simplify glsl_channel_type
This is C++ so we can just poke at the fields of glsl_type if we wish and calling get_instance is way easier and more reliable than handling each instance separately. While we're at it, we re-arrange the base type labels to match the enum order and add 8-bit type support. Reviewed-by: Alejandro PiƱeiro <[email protected]> Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions