=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: wined3d: Record sampler usage for sample_c instruction.

Alexandre Julliard julliard at winehq.org
Fri Dec 2 17:00:09 CST 2016


Module: wine
Branch: master
Commit: dc7db9852a2f66aaddc8a7ed022356ee0b2debcf
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=dc7db9852a2f66aaddc8a7ed022356ee0b2debcf

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Thu Dec  1 13:56:32 2016 +0100

wined3d: Record sampler usage for sample_c instruction.

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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)




More information about the wine-cvs mailing list