Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
51db2323 by Francisco Casas at 2025-01-22T14:23:29+01:00
tests/hlsl: Add lhs cast tests.
- - - - -
60f75cc5 by Francisco Casas at 2025-01-22T14:27:57+01:00
tests/hlsl: Test partial assignments due to lhs casts.
- - - - -
dc37d901 by Francisco Casas at 2025-01-22T14:29:54+01:00
tests/hlsl: Add more function cast tests.
- - - - -
c2e224c5 by Francisco Casas at 2025-01-22T14:34:19+01:00
vkd3d-shader/hlsl: Delay lowering complex casts until after parse time.
While so far it has been posible to do this at parse time, this must
happen after knowing if the complex cast is on the lhs or not.
The modified tests show that before this patch we are currently
miscompiling when this happens, because a complex lhs cast is transformed
into a load, and add_assigment() just stores to the generated "cast"
temp.
- - - - -
b55fe195 by Francisco Casas at 2025-01-22T14:38:10+01:00
vkd3d-shader/hlsl: Support non-size-changing lhs casts.
- - - - -
0a15ab70 by Francisco Casas at 2025-01-22T14:39:20+01:00
vkd3d-shader/hlsl: Don't count cast to param type on IN as part of OUT var's lhs.
If the parameter is HLSL_STORAGE_IN, we add a cast from the arg to the
param type so that it can enter the function, however this cast should
not be considered part of the lhs on the implicit assignment that happens
if the var is also HLSL_STORAGE_OUT.
- - - - -
4d18fb39 by Francisco Casas at 2025-01-22T14:46:02+01:00
vkd3d-shader/hlsl: Don't forbid first base type cast on var assignments.
- - - - -
7 changed files:
- Makefile.am
- libs/vkd3d-shader/hlsl.y
- libs/vkd3d-shader/hlsl_codegen.c
- tests/hlsl/function-cast.shader_test
- + tests/hlsl/lhs-cast.shader_test
- + tests/hlsl/lhs-partial-assignment.shader_test
- tests/hlsl/trigonometry.shader_test
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/c7b209124bcb4edf5c08d713b891…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/c7b209124bcb4edf5c08d713b891…
You're receiving this email because of your account on gitlab.winehq.org.
Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
de57afd6 by Anna (navi) Figueiredo Gomes at 2025-01-22T14:17:17+01:00
tests/hlsl: Add mixed argument size tests.
- - - - -
c7b20912 by Anna (navi) Figueiredo Gomes at 2025-01-22T14:18:54+01:00
vkd3d-shader/hlsl: Consider conversions across all parameters in function_compare().
For example, given two arguments, half3 and float, and two functions,
func(float, float) and func(float3, float3), fxc/d3dcompiler prefers to
widen both arguments to float3.
- - - - -
2 changed files:
- libs/vkd3d-shader/hlsl.y
- tests/hlsl/function-overload.shader_test
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/004a381d9cfddac31075eb3b3c2e…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/004a381d9cfddac31075eb3b3c2e…
You're receiving this email because of your account on gitlab.winehq.org.
Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
5f55f5ad by Elizabeth Figura at 2025-01-22T13:43:38+01:00
tests: Adjust angle-unit.shader_test to pass with 1.x.
Pixel shader 1.x constants must be between -1 and 1, or they will be clamped,
even constants defined in the shader.
Also mark 1.x-specific features if any.
- - - - -
8b4f0f34 by Elizabeth Figura at 2025-01-22T13:43:38+01:00
tests: Adjust arithmetic-float.shader_test to pass with 1.x.
Pixel shader 1.x constants must be between -1 and 1, or they will be clamped,
even constants defined in the shader.
Also mark 1.x-specific features if any.
- - - - -
fb75c053 by Elizabeth Figura at 2025-01-22T13:43:38+01:00
tests: Adjust arithmetic-float-uniform.shader_test to pass with 1.x.
Pixel shader 1.x constants must be between -1 and 1, or they will be clamped,
even constants defined in the shader.
Also mark 1.x-specific features if any.
- - - - -
e40b1919 by Elizabeth Figura at 2025-01-22T13:43:38+01:00
tests: Adjust arithmetic-int.shader_test to pass with 1.x.
Pixel shader 1.x constants must be between -1 and 1, or they will be clamped,
even constants defined in the shader.
Also mark 1.x-specific features if any.
- - - - -
e5ec52d6 by Elizabeth Figura at 2025-01-22T13:43:38+01:00
tests: Adjust array-parameters.shader_test to pass with 1.x.
Pixel shader 1.x constants must be between -1 and 1, or they will be clamped,
even constants defined in the shader.
Also mark 1.x-specific features if any.
- - - - -
e805fe3e by Elizabeth Figura at 2025-01-22T13:43:38+01:00
tests: Adjust array-size-expr.shader_test to pass with 1.x.
Pixel shader 1.x constants must be between -1 and 1, or they will be clamped,
even constants defined in the shader.
Also mark 1.x-specific features if any.
- - - - -
004a381d by Elizabeth Figura at 2025-01-22T13:43:38+01:00
tests: Adjust abs.shader_test to pass with 1.x.
Pixel shader 1.x constants must be between -1 and 1, or they will be clamped,
even constants defined in the shader.
Also mark 1.x-specific features if any.
- - - - -
7 changed files:
- tests/hlsl/abs.shader_test
- tests/hlsl/angle-unit.shader_test
- tests/hlsl/arithmetic-float-uniform.shader_test
- tests/hlsl/arithmetic-float.shader_test
- tests/hlsl/arithmetic-int.shader_test
- tests/hlsl/array-parameters.shader_test
- tests/hlsl/array-size-expr.shader_test
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/5b2d62e59a6365e32aac3fa37fe1…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/5b2d62e59a6365e32aac3fa37fe1…
You're receiving this email because of your account on gitlab.winehq.org.