[Git][wine/vkd3d][master] 9 commits: vkd3d-shader/hlsl: Unify add_shader_compilation() cleanup.

"Henri Verbeet (@hverbeet) via Wine-commits" <[email protected]>
Newsgroups gmane.comp.emulators.wine.cvs
Message-ID <[email protected]>

Henri Verbeet pushed to branch master at wine / vkd3d


Commits:
ffe1a433 by Anna (navi) Figueiredo Gomes at 2025-12-09T15:02:27+01:00
vkd3d-shader/hlsl: Unify add_shader_compilation() cleanup.

- - - - -
b17923b5 by Anna (navi) Figueiredo Gomes at 2025-12-09T15:44:30+01:00
vkd3d-shader/hlsl: Store parsed values in hlsl_ir_compile().

Makes emitting shaders from fx.c easier, and brings parsing failures
upfront.

Non-effect target profiles don't perform any type checks on
ConstructGSWithSO(), nor use shader objects in any way, but they do
check if the argument count is correct.

So we create a GeometryShader object with NULL decl and profile when
targeting non-effect profiles, so our type checks still work and
implicit conversions aren't attempted.

- - - - -
b986bfa2 by Anna (navi) Figueiredo Gomes at 2025-12-09T15:46:45+01:00
tests/hlsl: Add effect CompileShader() tests.

- - - - -
46169b1a by Anna (navi) Figueiredo Gomes at 2025-12-09T15:46:59+01:00
vkd3d-shader/fx: Add HLSL_CLASS_GEOMETRY_SHADER to helper functions.

To avoid tests triggering an assert on the next commit.

- - - - -
6e15664b by Anna (navi) Figueiredo Gomes at 2025-12-09T16:21:48+01:00
vkd3d-shader/fx: Implement shader assignment.

- - - - -
ffc8f98b by Anna (navi) Figueiredo Gomes at 2025-12-09T16:29:29+01:00
vkd3d-shader/fx: Implement shader initializers.

- - - - -
38e6ba2d by Anna (navi) Figueiredo Gomes at 2025-12-09T16:37:38+01:00
vkd3d-shader/fx: Introduce write_var_type().

- - - - -
7658f038 by Anna (navi) Figueiredo Gomes at 2025-12-09T16:41:08+01:00
vkd3d-shader/fx: Implement ConstructGSWithSO().

- - - - -
00daf9eb by Anna (navi) Figueiredo Gomes at 2025-12-09T16:41:16+01:00
vkd3d-shader/fx: Handle HLSL_IR_INDEX assignments.

- - - - -


12 changed files:

- Makefile.am
- libs/vkd3d-shader/fx.c
- libs/vkd3d-shader/hlsl.c
- libs/vkd3d-shader/hlsl.h
- libs/vkd3d-shader/hlsl.y
- libs/vkd3d-shader/hlsl_codegen.c
- libs/vkd3d-shader/vkd3d_shader_main.c
- libs/vkd3d-shader/vkd3d_shader_private.h
- tests/hlsl/constructgswithso.shader_test
- tests/hlsl/effect-compile.shader_test
- + tests/hlsl/effect-constructgswithso-4.shader_test
- + tests/hlsl/effect-constructgswithso-5.shader_test


View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/d0318ca14bc58390847e29e5581dbe6165872770...00daf9eb0a2420759259ad3504343bc4a9394c31

-- 
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/d0318ca14bc58390847e29e5581dbe6165872770...00daf9eb0a2420759259ad3504343bc4a9394c31
You're receiving this email because of your account on gitlab.winehq.org.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.