wined3d: Do not check the input signature element count for sm4+ shaders in shader_sp...
commit47be32f3d1fc6fbbcd2faae96ae1f8a3d617c0fe
authorHenri Verbeet <hverbeet@codeweavers.com>
Wed, 13 Mar 2024 12:15:53 +0000 (13 13:15 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 15 Mar 2024 14:06:37 +0000 (15 15:06 +0100)
tree1c40b42f871a24ed781e95fb92dbaf8254996de7
parentd6ac41a9f40539645483f111aab2f2a1386c14b2
wined3d: Do not check the input signature element count for sm4+ shaders in shader_spirv_compile_arguments_init().

Shader model 4 fragment shaders can have more than 12 input varyings. That's
fine though, because we don't need to build a varying map for them in the
first place. Note that in principle the ERR in question could still be
triggered by e.g. attempting to use a shader model 4 fragment shader with a
shader model 3 vertex shader.
dlls/wined3d/shader_spirv.c