mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
virgl: use debug_printf instead of fprintf
While we're at it, prefix the string with "VIRGL: ", to match similar
code elsewhere in virgl.
Fixes: d7b3196976 ("virgl: Return an error if we use fp64 on top of GLES")
Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Elie Tournier <elie.tournier@collabora.com>
This commit is contained in:
parent
04e672257c
commit
7c05c95d05
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ virgl_tgsi_transform_instruction(struct tgsi_transform_context *ctx,
|
|||
if (vtctx->fake_fp64 &&
|
||||
(tgsi_opcode_infer_src_type(inst->Instruction.Opcode, 0) == TGSI_TYPE_DOUBLE ||
|
||||
tgsi_opcode_infer_dst_type(inst->Instruction.Opcode, 0) == TGSI_TYPE_DOUBLE)) {
|
||||
fprintf(stderr, "ARB_gpu_shader_fp64 is exposed but not supported.");
|
||||
debug_printf("VIRGL: ARB_gpu_shader_fp64 is exposed but not supported.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue