diff options
author | Rob Clark <[email protected]> | 2019-03-19 12:51:39 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-03-21 09:13:05 -0400 |
commit | 1088b788d8616f4cb835ceeeea969b9adcc02487 (patch) | |
tree | dfed096e6d31a00f29b316bd0d7c77c11c839348 /src/freedreno/ir3/ir3.h | |
parent | d4cbc946859f56f0a2a50cd8931a6fd29ab22db9 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/freedreno/ir3/ir3.h')
-rw-r--r-- | src/freedreno/ir3/ir3.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/freedreno/ir3/ir3.h b/src/freedreno/ir3/ir3.h index b42524d22ae..8fde504196a 100644 --- a/src/freedreno/ir3/ir3.h +++ b/src/freedreno/ir3/ir3.h @@ -1028,7 +1028,7 @@ int ir3_ra(struct ir3 *ir3, gl_shader_stage type, bool frag_coord, bool frag_face); /* legalize: */ -void ir3_legalize(struct ir3 *ir, int *num_samp, bool *has_ssbo, int *max_bary); +void ir3_legalize(struct ir3 *ir, bool *has_ssbo, int *max_bary); /* ************************************************************************* */ /* instruction helpers */ |