diff options
author | Kenneth Graunke <[email protected]> | 2019-02-10 19:53:40 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-11 21:34:50 -0800 |
commit | 3eedc8f7b144c6bc21301a551763a53884c60fa1 (patch) | |
tree | d1ba86437a4badc93232efe02d0cbb252d7a972d /src/compiler/nir/nir_lower_tex.c | |
parent | 59ae985631ca984f2d56c599c210c35ec981f665 (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