On 4/7/22 08:07, Henri Verbeet wrote:
On Wed, 6 Apr 2022 at 23:05, Zebediah Figura zfigura@codeweavers.com wrote:
Signed-off-by: Zebediah Figura zfigura@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.
I believe I had tried that at some point and found it difficult, but maybe that was before I encoded support for custom input layouts into the shader runner. I'll look at it again...