Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
d0e43316 by Henri Verbeet at 2024-12-03T14:38:33+01:00
vkd3d-shader/hlsl: Use hlsl_error() instead of hlsl_fixme() for ambiguous function calls.
This changes the return code, and some tests start passing as a result.
- - - - -
0b726e44 by Henri Verbeet at 2024-12-03T14:38:33+01:00
vkd3d-shader/hlsl: Introduce hlsl_dump_type().
- - - - -
4ca4dc0b by Henri Verbeet at 2024-12-03T14:38:33+01:00
vkd3d-shader/hlsl: Introduce hlsl_dump_ir_function_decl().
- - - - -
74365417 by Henri Verbeet at 2024-12-03T14:38:33+01:00
vkd3d-shader/hlsl: Output the candidates for ambiguous function calls.
- - - - -
5 changed files:
- libs/vkd3d-shader/hlsl.c
- libs/vkd3d-shader/hlsl.h
- libs/vkd3d-shader/hlsl.y
- libs/vkd3d-shader/vkd3d_shader_private.h
- tests/hlsl/function-overload.shader_test
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/1c93d706d7e7d1e578e3d291a035…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/1c93d706d7e7d1e578e3d291a035…
You're receiving this email because of your account on gitlab.winehq.org.
Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
a92b602b by Giovanni Mascellani at 2024-12-03T13:48:39+01:00
vkd3d-shader/spirv: Merge emitting input and output registers.
The register storage class is now represented in
vkd3d_register_builtins, so the spirv_compiler_emit_io_register()
doesn't need to know it from the caller.
- - - - -
18e422df by Giovanni Mascellani at 2024-12-03T14:19:24+01:00
vkd3d-shader/ir: Encode I/O declarations in vsir_program.
Most I/O registers are already described by the shader signatures.
The registers that are not do not have any property other then
being used by the program or not, so they can be collectively
described with a bitmap.
- - - - -
66382f0d by Giovanni Mascellani at 2024-12-03T14:19:50+01:00
vkd3d-shader/ir: Remove I/O declarations before I/O normalisation.
- - - - -
4ef94628 by Giovanni Mascellani at 2024-12-03T14:19:50+01:00
vkd3d-shader/ir: Remove I/O declarations before normalising hull shader control point I/O.
- - - - -
4717775a by Giovanni Mascellani at 2024-12-03T14:19:50+01:00
vkd3d-shader/ir: Remove I/O declarations before flattening hull shader phases.
- - - - -
1c93d706 by Giovanni Mascellani at 2024-12-03T14:36:13+01:00
vkd3d-shader/ir: Merge removing I/O declarations in the general instruction lowering pass.
- - - - -
6 changed files:
- libs/vkd3d-shader/d3d_asm.c
- libs/vkd3d-shader/glsl.c
- libs/vkd3d-shader/ir.c
- libs/vkd3d-shader/msl.c
- libs/vkd3d-shader/spirv.c
- libs/vkd3d-shader/vkd3d_shader_private.h
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/8bc9e15618916bb1d4ace1546753…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/8bc9e15618916bb1d4ace1546753…
You're receiving this email because of your account on gitlab.winehq.org.
Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
9c70348b by Elizabeth Figura at 2024-12-03T12:39:27+01:00
vkd3d-shader/hlsl: Do not abort when modifying a const expression.
- - - - -
97eac342 by Elizabeth Figura at 2024-12-03T12:39:27+01:00
vkd3d-shader/hlsl: Do not abort parsing when invalid modifiers are used.
- - - - -
c553c45f by Elizabeth Figura at 2024-12-03T12:39:27+01:00
vkd3d-shader/hlsl: Move the numeric type check to add_constructor().
- - - - -
e060b473 by Elizabeth Figura at 2024-12-03T12:39:27+01:00
vkd3d-shader/hlsl: Return an error expression when a function is used as a variable.
- - - - -
8bc9e156 by Elizabeth Figura at 2024-12-03T12:39:27+01:00
vkd3d-shader/hlsl: Translate invalid implicit-size arrays to an error type.
Instead of returning nonsense (such as, currently, a type with zero size).
In practice this improves error reporting for shaders such as the following:
void func(float x[])
{
float y[] = {x};
}
Currently this outputs a nonsense
test.hlsl:1:19: E5002: Implicit size arrays not allowed in function parameters.
test.hlsl:3:7: E5002: Implicit size arrays need to be initialized.
With this patch the second warning is removed.
- - - - -
1 changed file:
- libs/vkd3d-shader/hlsl.y
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/3264378fa04880f9bc8770c26000…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/3264378fa04880f9bc8770c26000…
You're receiving this email because of your account on gitlab.winehq.org.
Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
73be28a2 by Giovanni Mascellani at 2024-12-03T12:38:26+01:00
tests: Use plain skip() when skipping a test in the shader runner.
The context already gives the location in the .shader_test file.
- - - - -
3264378f by Giovanni Mascellani at 2024-12-03T12:38:26+01:00
tests: Print the file name instead of the test name in test logs.
Some test programs, particularly the shader runner, are built from
many different files nowadays, and a line number is relatively
cumbersome to use if you don't know which file that line comes from.
- - - - -
11 changed files:
- include/private/vkd3d_test.h
- tests/d3d12.c
- tests/d3d12_crosstest.h
- tests/d3d12_invalid_usage.c
- tests/d3d12_test_utils.h
- tests/hlsl_d3d12.c
- tests/shader_runner.c
- tests/shader_runner_d3d12.c
- tests/shader_runner_gl.c
- tests/utils.h
- tests/vkd3d_api.c
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/39cbef9e018ee760ffd175fdd672…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/39cbef9e018ee760ffd175fdd672…
You're receiving this email because of your account on gitlab.winehq.org.