Commit 613a7e78 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

wined3d: Ignore unhandled shader data types.

This opcode may contain various types of additional data, e.g. shader messages produced by the HLSL printf() function. It can generally be safely ignored. Signed-off-by: 's avatarJózef Kucia <jkucia@codeweavers.com> Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 864bcfe6
......@@ -498,8 +498,8 @@ static void shader_sm4_read_shader_data(struct wined3d_shader_instruction *ins,
type = (opcode_token & WINED3D_SM4_SHADER_DATA_TYPE_MASK) >> WINED3D_SM4_SHADER_DATA_TYPE_SHIFT;
if (type != WINED3D_SM4_SHADER_DATA_IMMEDIATE_CONSTANT_BUFFER)
{
FIXME("Unhandled shader data type %#x.\n", type);
ins->handler_idx = WINED3DSIH_TABLE_SIZE;
FIXME("Ignoring shader data type %#x.\n", type);
ins->handler_idx = WINED3DSIH_NOP;
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment