radeonsi: add an assertion that only two-dimensional constant references are used
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 23 Aug 2017 16:14:32 +0000 (18:14 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 4 Sep 2017 11:44:09 +0000 (13:44 +0200)
commit30a2f0dfd46de9dbba42ada8d91292b742ed17c8
tree65dc40d4a7ea252c9c741700c9544ba50477822f
parent3e4dff4f002c4f956c4e10a84093cce6400f99f5
radeonsi: add an assertion that only two-dimensional constant references are used

v2: remove some redundant checks

Acked-by: Roland Scheidegger <sroland@vmware.com> (v1)
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de> (v1)
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/gallium/drivers/radeonsi/si_shader.c