mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
nak/nir: Use Kepler texture source ordering on SM30
SM30 (i.e. Kepler A) has Fermi's instruction encoding but it uses the same texture source ordering as Kepler B. It also supports bindless, unlike Fermi. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34540>
This commit is contained in:
parent
b8c7d937fe
commit
8d41221158
1 changed files with 1 additions and 1 deletions
|
|
@ -237,7 +237,7 @@ lower_tex(nir_builder *b, nir_tex_instr *tex, const struct nak_compiler *nak)
|
|||
tex->src[1].src_type = nir_tex_src_backend2;
|
||||
nir_src_rewrite(&tex->src[1].src, nir_vec(b, src1, src1_comps));
|
||||
}
|
||||
} else if (nak->sm >= 32) {
|
||||
} else if (nak->sm >= 30) {
|
||||
nir_def *src[8] = { NULL, };
|
||||
unsigned src_comps = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue