[PATCH 1/6] wined3d: Record sampler usage for sample_c instruction.
Józef Kucia
jkucia at codeweavers.com
Thu Dec 1 06:56:32 CST 2016
Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
dlls/wined3d/shader.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/wined3d/shader.c b/dlls/wined3d/shader.c
index 765c682..bf4b421 100644
--- a/dlls/wined3d/shader.c
+++ b/dlls/wined3d/shader.c
@@ -1282,6 +1282,7 @@ static HRESULT shader_get_registers_used(struct wined3d_shader *shader, const st
}
else if (ins.handler_idx == WINED3DSIH_SAMPLE
|| ins.handler_idx == WINED3DSIH_SAMPLE_B
+ || ins.handler_idx == WINED3DSIH_SAMPLE_C
|| ins.handler_idx == WINED3DSIH_SAMPLE_C_LZ
|| ins.handler_idx == WINED3DSIH_SAMPLE_GRAD
|| ins.handler_idx == WINED3DSIH_SAMPLE_LOD)
--
2.7.3
More information about the wine-patches
mailing list