mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 00:38:48 +02:00
i965: Fix disassembly of sampler messages on Ivybridge.
Compared to sampler_gen5, simd_mode shifted by a bit and msg_type grew
by a bit. So we were printing slightly incorrect numbers.
NOTE: This is a candidate for stable release branches.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
(cherry picked from commit a608be5d33)
This commit is contained in:
parent
2fae4d26f3
commit
a62a4f77e8
1 changed files with 7 additions and 1 deletions
|
|
@ -982,7 +982,13 @@ int brw_disasm (FILE *file, struct brw_instruction *inst, int gen)
|
|||
inst->bits3.math.precision, &space);
|
||||
break;
|
||||
case BRW_SFID_SAMPLER:
|
||||
if (gen >= 5) {
|
||||
if (gen >= 7) {
|
||||
format (file, " (%d, %d, %d, %d)",
|
||||
inst->bits3.sampler_gen7.binding_table_index,
|
||||
inst->bits3.sampler_gen7.sampler,
|
||||
inst->bits3.sampler_gen7.msg_type,
|
||||
inst->bits3.sampler_gen7.simd_mode);
|
||||
} else if (gen >= 5) {
|
||||
format (file, " (%d, %d, %d, %d)",
|
||||
inst->bits3.sampler_gen5.binding_table_index,
|
||||
inst->bits3.sampler_gen5.sampler,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue