mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 07:10:15 +01:00
i965: Fix INTEL_DEBUG=optimizer with VF types.
Hardcoding stderr is wrong; INTEL_DEBUG=optimizer uses other files. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
9b8bd67768
commit
408e298942
2 changed files with 2 additions and 2 deletions
|
|
@ -3295,7 +3295,7 @@ fs_visitor::dump_instruction(backend_instruction *be_inst, FILE *file)
|
|||
fprintf(file, "%uu", inst->src[i].fixed_hw_reg.dw1.ud);
|
||||
break;
|
||||
case BRW_REGISTER_TYPE_VF:
|
||||
fprintf(stderr, "[%-gF, %-gF, %-gF, %-gF]",
|
||||
fprintf(file, "[%-gF, %-gF, %-gF, %-gF]",
|
||||
brw_vf_to_float((inst->src[i].fixed_hw_reg.dw1.ud >> 0) & 0xff),
|
||||
brw_vf_to_float((inst->src[i].fixed_hw_reg.dw1.ud >> 8) & 0xff),
|
||||
brw_vf_to_float((inst->src[i].fixed_hw_reg.dw1.ud >> 16) & 0xff),
|
||||
|
|
|
|||
|
|
@ -1359,7 +1359,7 @@ vec4_visitor::dump_instruction(backend_instruction *be_inst, FILE *file)
|
|||
fprintf(file, "%uU", inst->src[i].fixed_hw_reg.dw1.ud);
|
||||
break;
|
||||
case BRW_REGISTER_TYPE_VF:
|
||||
fprintf(stderr, "[%-gF, %-gF, %-gF, %-gF]",
|
||||
fprintf(file, "[%-gF, %-gF, %-gF, %-gF]",
|
||||
brw_vf_to_float((inst->src[i].fixed_hw_reg.dw1.ud >> 0) & 0xff),
|
||||
brw_vf_to_float((inst->src[i].fixed_hw_reg.dw1.ud >> 8) & 0xff),
|
||||
brw_vf_to_float((inst->src[i].fixed_hw_reg.dw1.ud >> 16) & 0xff),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue