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: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
864bcfe6e6
commit
613a7e78cb
@ -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;
|
type = (opcode_token & WINED3D_SM4_SHADER_DATA_TYPE_MASK) >> WINED3D_SM4_SHADER_DATA_TYPE_SHIFT;
|
||||||
if (type != WINED3D_SM4_SHADER_DATA_IMMEDIATE_CONSTANT_BUFFER)
|
if (type != WINED3D_SM4_SHADER_DATA_IMMEDIATE_CONSTANT_BUFFER)
|
||||||
{
|
{
|
||||||
FIXME("Unhandled shader data type %#x.\n", type);
|
FIXME("Ignoring shader data type %#x.\n", type);
|
||||||
ins->handler_idx = WINED3DSIH_TABLE_SIZE;
|
ins->handler_idx = WINED3DSIH_NOP;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user