diff options
author | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-04-05 16:04:40 -0700 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-04-08 19:29:33 -0700 |
commit | fcbc5ccaae6e606e68199c838e23545b4283b788 (patch) | |
tree | c6c1bec5617ba394c190d74184c6593be5ce5cfc /src/intel/compiler/brw_fs_nir.cpp | |
parent | d08a74d2bf12721f450098cfac300b4f5bcc5dfc (diff) |
nir: Don't set LOD=0 for compute shader that has derivative group
When using NV_compute_shader_derivatives to set a derivative group,
a compute shader supports texture with implicit LOD calculation, so
don't set an explicit LOD.
Note if the extension is used but the derivative group is not
specified, it will default to LOD=0 as before.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_fs_nir.cpp')
0 files changed, 0 insertions, 0 deletions