vkd3d-shader: Remove [ ] from first index of fp in dcl_interface.

Signed-off-by: Isabella Bosia <ibosia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Isabella Bosia 2020-09-16 12:45:36 +01:00 committed by Alexandre Julliard
parent 3757b951f3
commit 1fb3c77cce

View File

@ -1375,7 +1375,7 @@ static void shader_dump_instruction(struct vkd3d_string_buffer *buffer,
break;
case VKD3DSIH_DCL_INTERFACE:
shader_addline(buffer, "%s fp[%u][%u][%u] = {...}",
shader_addline(buffer, "%s fp%u[%u][%u] = {...}",
shader_opcode_names[ins->handler_idx], ins->declaration.fp.index,
ins->declaration.fp.array_size, ins->declaration.fp.body_count);
break;