nir/types: Add a glsl_get_component_slots() utility
authorEduardo Lima Mitev <elima@igalia.com>
Thu, 19 Oct 2017 11:28:35 +0000 (13:28 +0200)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 21 Jun 2018 12:25:05 +0000 (14:25 +0200)
commitf1ab16cf179b605882c927a5be2f01daca703a47
treee74d77117940585571ac4db65085bf1f3e965837
parent2b8765b824cbbdcbbc51033c7ac7a1c3af264244
nir/types: Add a glsl_get_component_slots() utility

It is basically a wrapper around glsl_type::component_slots().

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/nir_types.cpp
src/compiler/nir_types.h