Skip to content
Snippets Groups Projects
Commit 613a7e78 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard
Browse files

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: default avatarJózef Kucia <jkucia@codeweavers.com>
Signed-off-by: default avatarHenri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent 864bcfe6
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment