--
v2: vkd3d-shader/ir: Check that SWITCH blocks are correctly nested.
vkd3d-shader/ir: Check that REP blocks are correctly nested.
vkd3d-shader/ir: Check that LOOP blocks are correctly nested.
vkd3d-shader/ir: Check that IF blocks are correctly nested.
vkd3d-shader/ir: Do not enfore DCL_TEMPS count for hull shaders.
vkd3d-shader/ir: Emit an ERR() on validation errors.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/444
This is the last thing needed to support non-constant offset dereferences in SM4.
It allows to perform relative addressing on temps.
Besides this, I have additional patches for relative addressing on uniforms, and input and output semantics, but these may not be useful for now, since we copy all these variables into temps instead of using them directly.
--
v6: vkd3d-shader/tpf: Support relative addressing for indexable temps in SM4.
vkd3d-shader/tpf: Move sm4_register_from_node() up.
vkd3d-shader/tpf: Support writing relative addressing indexes.
vkd3d-shader/tpf: Write register index addressing.
vkd3d-shader/tpf: Encode dst and src registers using the same function.
tests: Add aditional relative addressing tests.
tests: Rename array-index-expr.shader_test as non-const-indexing.shader_test.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/435
gcc tends to optimize away the magic field cleanup, leading to
believe the query is still allocated.
Signed-off-by: Eric Pouech <epouech(a)codeweavers.com>
--
v3: pdh: Zero out magic fields with SecureZeroMemory().
https://gitlab.winehq.org/wine/wine/-/merge_requests/4323
gcc tends to optimize away the magic field cleanup, leading to
believe the query is still allocated.
Signed-off-by: Eric Pouech <epouech(a)codeweavers.com>
--
v2: pdh: Zero out magic fields with SecureZeroMemory().
https://gitlab.winehq.org/wine/wine/-/merge_requests/4323
Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com>
--
v5: vkd3d-shader/tpf: Initial support for writing fx_4_0/fx_4_1 binaries.
vkd3d-shader: Add separate binary target type for effects.
vkd3d-shader/hlsl: Handle effect group statement.
vkd3d-shader/hlsl: Add variables for techniques.
vkd3d-shader/hlsl: Rename rule for top-level techniques.
vkd3d-shader/hlsl: Add 'fxgroup' token.
tests: Add some tests for effects groups syntax.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/443