radeonsi/nir: Remove hack for builtins
authorConnor Abbott <cwabbott0@gmail.com>
Wed, 29 May 2019 14:03:25 +0000 (16:03 +0200)
committerConnor Abbott <cwabbott0@gmail.com>
Fri, 31 May 2019 09:03:05 +0000 (11:03 +0200)
commit78f33620e85fa3479bdded79981ae541871bfd2e
treed46573fc9baaae69e735fbce0e1c092e7a33e273
parentfca1a35163769f0476d559660a8f2c40054e9fd7
radeonsi/nir: Remove hack for builtins

We now bounds check properly in the uniform loading fast path, so
there's no need to disable it by pretending there are other UBO bindings
in use. The way this looks at the variable name was causing problems
when two piglit shaders, one with a name that triggered the hack and one
that didn't, got hashed to the same thing after stripping out the names.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/gallium/drivers/radeonsi/si_shader_nir.c