glsl: encode/decode types using a union with bitfields for readability
authorMarek Olšák <marek.olsak@amd.com>
Thu, 31 Oct 2019 00:15:36 +0000 (20:15 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 1 Nov 2019 23:19:03 +0000 (19:19 -0400)
commit21d2fbb8c3e0bfaec1b6896e117df4ae3161d677
tree272e428d57f1d37d24b9d17cf756168f7dd5571c
parentdd52744201952af487e87753eee9fad09657578f
glsl: encode/decode types using a union with bitfields for readability

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