diff options
author | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-02-07 13:44:33 -0800 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-02-08 14:51:56 -0800 |
commit | ee670d09afdbcbcc6ffec1847169ffaecfeff64b (patch) | |
tree | 03cb13e2898c61f64b7d4d10efa98fa2aef2aeca /src/gallium/drivers/nouveau/nouveau_fence.h | |
parent | e8e544436cbe1fc6139334a2314896b42f88882e (diff) |
intel/compiler: use 0 as sampler in emit_mcs_fetch
The sampler will be ignored since the underlying 'ld_mcs' operation
won't use it, so just fill the field with 0 instead of the texture to
make it clearer that's the case.
This will also avoid is_high_sampler() to kick in unnecessarily, in
case we are using the operation for a texture with index >= 16.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nouveau_fence.h')
0 files changed, 0 insertions, 0 deletions