Module: vkd3d Branch: master Commit: 6a8939e19f312c8ab85d2d111766a693c75e490c URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/6a8939e19f312c8ab85d2d111766a6...
Author: Francisco Casas fcasas@codeweavers.com Date: Wed Jan 31 17:10:29 2024 -0300
tests: Remove [require] directives for tests that use int and bool uniforms.
These tests should actually compile and run in SM1, which is possible if we pass the int and uint uniforms in the expected IEEE 754 float format for SM1 shaders.
Also, bools should be passed as 1.0f or 0.0f to SM1.
---
tests/hlsl/any.shader_test | 46 +++++----- tests/hlsl/bool-cast.shader_test | 18 ++-- tests/hlsl/cast-to-float.shader_test | 21 ++--- tests/hlsl/cast-to-half.shader_test | 21 ++--- tests/hlsl/cast-to-int.shader_test | 24 ++--- tests/hlsl/cast-to-uint.shader_test | 4 +- tests/hlsl/ceil.shader_test | 10 +-- tests/hlsl/floor.shader_test | 9 +- tests/hlsl/function-cast.shader_test | 7 +- tests/hlsl/ldexp.shader_test | 12 +-- tests/hlsl/lerp.shader_test | 15 ++-- tests/hlsl/sign.shader_test | 35 +++++--- tests/hlsl/switch.shader_test | 165 +++++++++++++++++++++-------------- tests/hlsl/trunc.shader_test | 9 +- 14 files changed, 220 insertions(+), 176 deletions(-)