summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_lower_tex.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-02-10 19:53:40 -0800
committerKenneth Graunke <[email protected]>2019-02-11 21:34:50 -0800
commit3eedc8f7b144c6bc21301a551763a53884c60fa1 (patch)
treed1ba86437a4badc93232efe02d0cbb252d7a972d /src/compiler/nir/nir_lower_tex.c
parent59ae985631ca984f2d56c599c210c35ec981f665 (diff)
i965: Use info->textures_used instead of prog->SamplersUsed.
prog->SamplersUsed is set by the linker when validating resource limits, while info->textures_used is gathered after NIR optimizations, which may have eliminated some unused surfaces. This may let us skip some work. Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_lower_tex.c')
0 files changed, 0 insertions, 0 deletions