Henri Verbeet pushed to branch master at wine / vkd3d
Commits: 9b65cc88 by Shaun Ren at 2025-04-23T17:54:54+02:00 vkd3d-shader/hlsl: Support HLSL_CLASS_STREAM_OUTPUT in hlsl type helpers.
- - - - - 9525eb2f by Shaun Ren at 2025-04-23T17:54:54+02:00 vkd3d-shader/hlsl: Parse the Append() method for stream outputs.
- - - - - 8059608a by Shaun Ren at 2025-04-23T17:54:54+02:00 vkd3d-shader/hlsl: Parse the RestartStrip() method for stream outputs.
- - - - - d620ad49 by Shaun Ren at 2025-04-23T17:54:54+02:00 vkd3d-shader/hlsl: Introduce HLSL_REGSET_STREAM_OUTPUTS regset.
- - - - - f2f44b05 by Shaun Ren at 2025-04-23T17:54:54+02:00 vkd3d-shader/hlsl: Allocate registers for stream output objects.
All stream output objects need to have a stream index allocated, whether they are used or not.
We allocate stream outputs here, before other objects are allocated, because the stream index is needed to create the appropriate output semantic variables during append_output_copy(), which will be called in a lowering pass for the Append() method.
- - - - - 2a89b23e by Shaun Ren at 2025-04-23T18:01:06+02:00 vkd3d-shader/hlsl: Validate and record stream output objects.
Validation should only be done for stream outputs that are used.
- - - - - 5d29554f by Shaun Ren at 2025-04-23T18:03:59+02:00 tests/hlsl: Add geometry shader stream output syntax tests.
- - - - -
5 changed files:
- libs/vkd3d-shader/hlsl.c - libs/vkd3d-shader/hlsl.h - libs/vkd3d-shader/hlsl.y - libs/vkd3d-shader/hlsl_codegen.c - tests/hlsl/geometry-shader-syntax.shader_test
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/6ca9395368b2189ee6e2fffe223ce...