tgsi_to_nir: expand vec3 system values to vec4
authorMarek Olšák <marek.olsak@amd.com>
Tue, 13 Aug 2019 19:26:51 +0000 (15:26 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 13 Aug 2019 22:15:53 +0000 (18:15 -0400)
commitfad962eddc218cf95276e6b4d335e2dce3009aec
treecf15dbb56479e6f8bfc42a3100fcc54f3cadb8e3
parent88a511bd42c22fc44f0fe49b607f3b79247192a9
tgsi_to_nir: expand vec3 system values to vec4

for nir_intrinsic_load_work_group_id

Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/auxiliary/nir/tgsi_to_nir.c