mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
i965: Test fixed_hw_reg.file against BRW_IMMEDIATE_VALUE, not IMM.
No functional change, since they were both 3, but BRW_IMMEDIATE_VALUE is the hardware value and IMM was the IR value -- and you can see that BRW_IMMEDIATE_VALUE was correctly used in the context of this patch. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
ee46c1e626
commit
bcdf664682
1 changed files with 4 additions and 4 deletions
|
|
@ -822,7 +822,7 @@ fs_instruction_scheduler::calculate_deps()
|
|||
inst->src[i].file != IMM &&
|
||||
inst->src[i].file != UNIFORM &&
|
||||
(inst->src[i].file != HW_REG ||
|
||||
inst->src[i].fixed_hw_reg.file != IMM)) {
|
||||
inst->src[i].fixed_hw_reg.file != BRW_IMMEDIATE_VALUE)) {
|
||||
assert(inst->src[i].file != MRF);
|
||||
add_barrier_deps(n);
|
||||
}
|
||||
|
|
@ -951,7 +951,7 @@ fs_instruction_scheduler::calculate_deps()
|
|||
inst->src[i].file != IMM &&
|
||||
inst->src[i].file != UNIFORM &&
|
||||
(inst->src[i].file != HW_REG ||
|
||||
inst->src[i].fixed_hw_reg.file != IMM)) {
|
||||
inst->src[i].fixed_hw_reg.file != BRW_IMMEDIATE_VALUE)) {
|
||||
assert(inst->src[i].file != MRF);
|
||||
add_barrier_deps(n);
|
||||
}
|
||||
|
|
@ -1080,7 +1080,7 @@ vec4_instruction_scheduler::calculate_deps()
|
|||
inst->src[i].file != IMM &&
|
||||
inst->src[i].file != UNIFORM &&
|
||||
(inst->src[i].file != HW_REG ||
|
||||
inst->src[i].fixed_hw_reg.file != IMM)) {
|
||||
inst->src[i].fixed_hw_reg.file != BRW_IMMEDIATE_VALUE)) {
|
||||
/* No reads from MRF, and ATTR is already translated away */
|
||||
assert(inst->src[i].file != MRF &&
|
||||
inst->src[i].file != ATTR);
|
||||
|
|
@ -1177,7 +1177,7 @@ vec4_instruction_scheduler::calculate_deps()
|
|||
inst->src[i].file != IMM &&
|
||||
inst->src[i].file != UNIFORM &&
|
||||
(inst->src[i].file != HW_REG ||
|
||||
inst->src[i].fixed_hw_reg.file != IMM)) {
|
||||
inst->src[i].fixed_hw_reg.file != BRW_IMMEDIATE_VALUE)) {
|
||||
assert(inst->src[i].file != MRF &&
|
||||
inst->src[i].file != ATTR);
|
||||
add_barrier_deps(n);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue