mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
vc4: Mark texturing setup instructions as having side effects.
We need to not DCE them even though they don't have a destination in QIR. We also shouldn't relocate them in vc4_opt_vpm. Neither of these things happen, but I'm about to make DCE consider instructions with a NULL destination.
This commit is contained in:
parent
44df374a9c
commit
2a8973fb78
1 changed files with 5 additions and 5 deletions
|
|
@ -75,11 +75,11 @@ static const struct qir_op_info qir_op_info[] = {
|
|||
[QOP_FRAG_Z] = { "frag_z", 1, 0 },
|
||||
[QOP_FRAG_W] = { "frag_w", 1, 0 },
|
||||
|
||||
[QOP_TEX_S] = { "tex_s", 0, 2 },
|
||||
[QOP_TEX_T] = { "tex_t", 0, 2 },
|
||||
[QOP_TEX_R] = { "tex_r", 0, 2 },
|
||||
[QOP_TEX_B] = { "tex_b", 0, 2 },
|
||||
[QOP_TEX_DIRECT] = { "tex_direct", 0, 2 },
|
||||
[QOP_TEX_S] = { "tex_s", 0, 2, true },
|
||||
[QOP_TEX_T] = { "tex_t", 0, 2, true },
|
||||
[QOP_TEX_R] = { "tex_r", 0, 2, true },
|
||||
[QOP_TEX_B] = { "tex_b", 0, 2, true },
|
||||
[QOP_TEX_DIRECT] = { "tex_direct", 0, 2, true },
|
||||
[QOP_TEX_RESULT] = { "tex_result", 1, 0, true },
|
||||
|
||||
[QOP_LOAD_IMM] = { "load_imm", 0, 1 },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue