[PATCH vkd3d 3/5] tests: Try to avoid using SV_Position from shaders which can be tested with SM2.

Henri Verbeet hverbeet at gmail.com
Thu Apr 7 08:07:46 CDT 2022


On Wed, 6 Apr 2022 at 23:05, Zebediah Figura <zfigura at codeweavers.com> wrote:
>
> Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
> ---
>  tests/conditional.shader_test           | 11 +++++---
>  tests/hlsl-for.shader_test              | 17 +++++++-----
>  tests/hlsl-struct-semantics.shader_test | 35 ++++++++++++++++++++-----
>  tests/trigonometry.shader_test          | 31 +++++++++-------------
>  4 files changed, 60 insertions(+), 34 deletions(-)
>
Using uniforms works of course, but an alternative worth considering
is using texture coordinates. That would allow the structure of these
tests to remain otherwise unmodified.



More information about the wine-devel mailing list