st: add st_glsl_type_dword_size() helper
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 13 Mar 2018 01:34:50 +0000 (12:34 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 20 Mar 2018 03:17:34 +0000 (14:17 +1100)
commita80cf442d939212da40951a0a57a0978de6f39a6
treeb1175b98b74d50ee16de73893930d5efb9bc84ed
parent54881667308aea17f7f21720f5e8b41cf45f2020
st: add st_glsl_type_dword_size() helper

This will be used to support uniform packing.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_glsl_types.cpp
src/mesa/state_tracker/st_glsl_types.h