=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: libs/vkd3d-shader: Translate control point count declarations.

Alexandre Julliard julliard at winehq.org
Thu Feb 15 13:18:49 CST 2018


Module: vkd3d
Branch: master
Commit: 1fe62703070c98717186000e3b30862c78d93d95
URL:    https://source.winehq.org/git/vkd3d.git/?a=commit;h=1fe62703070c98717186000e3b30862c78d93d95

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Thu Feb 15 15:43:54 2018 +0100

libs/vkd3d-shader: Translate control point count declarations.

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>

---

 libs/vkd3d-shader/spirv.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libs/vkd3d-shader/spirv.c b/libs/vkd3d-shader/spirv.c
index 5d04b58..89b1187 100644
--- a/libs/vkd3d-shader/spirv.c
+++ b/libs/vkd3d-shader/spirv.c
@@ -5686,6 +5686,7 @@ void vkd3d_dxbc_compiler_handle_instruction(struct vkd3d_dxbc_compiler *compiler
             vkd3d_dxbc_compiler_emit_dcl_stream(compiler, instruction);
             break;
         case VKD3DSIH_DCL_VERTICES_OUT:
+        case VKD3DSIH_DCL_OUTPUT_CONTROL_POINT_COUNT:
             vkd3d_dxbc_compiler_emit_dcl_vertices_out(compiler, instruction);
             break;
         case VKD3DSIH_DCL_INPUT_PRIMITIVE:
@@ -5876,7 +5877,9 @@ void vkd3d_dxbc_compiler_handle_instruction(struct vkd3d_dxbc_compiler *compiler
         case VKD3DSIH_CUT_STREAM:
             vkd3d_dxbc_compiler_emit_cut_stream(compiler, instruction);
             break;
+        case VKD3DSIH_DCL_INPUT_CONTROL_POINT_COUNT:
         case VKD3DSIH_NOP:
+            /* nothing to do */
             break;
         default:
             FIXME("Unhandled instruction %#x.\n", instruction->handler_idx);




More information about the wine-cvs mailing list