freedreno/ir3: find # of samplers from uniform vars
authorRob Clark <robdclark@gmail.com>
Tue, 19 Mar 2019 16:51:39 +0000 (12:51 -0400)
committerRob Clark <robdclark@gmail.com>
Thu, 21 Mar 2019 13:13:05 +0000 (09:13 -0400)
commit1088b788d8616f4cb835ceeeea969b9adcc02487
treedfed096e6d31a00f29b316bd0d7c77c11c839348
parentd4cbc946859f56f0a2a50cd8931a6fd29ab22db9
freedreno/ir3: find # of samplers from uniform vars

When we have indirect samplers, we cannot tell the max sampler
referenced.  Instead just refer to the number of sampler uniforms.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/freedreno/ir3/ir3.h
src/freedreno/ir3/ir3_compiler_nir.c
src/freedreno/ir3/ir3_legalize.c