vkd3d-shader: Replace VKD3DSIH_TABLE_SIZE with VKD3DSIH_INVALID.

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:
Józef Kucia
2019-02-20 13:42:48 +01:00
committed by Alexandre Julliard
parent 70822141b7
commit 3fbbc68160
4 changed files with 10 additions and 9 deletions

View File

@@ -1602,7 +1602,7 @@ void vkd3d_shader_trace(void *data)
struct vkd3d_shader_instruction ins;
shader_sm4_read_instruction(data, &ptr, &ins);
if (ins.handler_idx == VKD3DSIH_TABLE_SIZE)
if (ins.handler_idx == VKD3DSIH_INVALID)
{
WARN("Skipping unrecognized instruction.\n");
shader_addline(&buffer, "<unrecognized instruction>\n");