Commits on Source (28)
-
-
vkd3d: Create smaller UAV-only descriptor pools in the allocator if Vulkan-backed heaps are enabled. In this case d3d12_command_allocator_allocate_descriptor_set() is only called for clearing UAVs. This helps on platforms with limited descriptor maximum counts.
-
-
Variables that contain more than one object (arrays or structs) require the allocation of contiguous registers in the respective object register spaces.
-
-
-
-
-
-
-
-
The new fixmes can be triggered in presence of object components within structs (for SM5). In shaders such as this one: struct apple { Texture2D tex : TEX; float4 color : COLOR; }; float4 main(struct apple input) : sv_target { return input.tex.Load(int3(1, 2, 3)); } Or this one: struct { Texture2D tex; float4 color; } s; float4 main() : sv_target { return s.tex.Load(int3(1, 2, 3)); }
-
This is just a wrapper of vkd3d_calloc(), that has the advantage of checking for multiplication overflow.
-
-
-
-
-
-
-
-
-
-
-
Avoid letting them fall through to the default rule. A syntax error will be emitted by the parser.
-
Avoid letting them fall through to the default rule.
-
-
Avoid letting them fall through to the default rule.
-
Showing
- Makefile.am 5 additions, 0 deletionsMakefile.am
- libs/vkd3d-shader/d3dbc.c 121 additions, 9 deletionslibs/vkd3d-shader/d3dbc.c
- libs/vkd3d-shader/hlsl.c 52 additions, 27 deletionslibs/vkd3d-shader/hlsl.c
- libs/vkd3d-shader/hlsl.h 34 additions, 9 deletionslibs/vkd3d-shader/hlsl.h
- libs/vkd3d-shader/hlsl.l 5 additions, 0 deletionslibs/vkd3d-shader/hlsl.l
- libs/vkd3d-shader/hlsl.y 96 additions, 67 deletionslibs/vkd3d-shader/hlsl.y
- libs/vkd3d-shader/hlsl_codegen.c 285 additions, 112 deletionslibs/vkd3d-shader/hlsl_codegen.c
- libs/vkd3d-shader/preproc.l 4 additions, 2 deletionslibs/vkd3d-shader/preproc.l
- libs/vkd3d-shader/tpf.c 93 additions, 51 deletionslibs/vkd3d-shader/tpf.c
- libs/vkd3d-shader/vkd3d_shader_private.h 1 addition, 0 deletionslibs/vkd3d-shader/vkd3d_shader_private.h
- libs/vkd3d/command.c 1 addition, 1 deletionlibs/vkd3d/command.c
- libs/vkd3d/device.c 20 additions, 3 deletionslibs/vkd3d/device.c
- libs/vkd3d/vkd3d_private.h 1 addition, 0 deletionslibs/vkd3d/vkd3d_private.h
- tests/fmod.shader_test 13 additions, 0 deletionstests/fmod.shader_test
- tests/load-level.shader_test 51 additions, 0 deletionstests/load-level.shader_test
- tests/object-parameters.shader_test 182 additions, 0 deletionstests/object-parameters.shader_test
- tests/object-references.shader_test 3 additions, 3 deletionstests/object-references.shader_test
- tests/register-reservations.shader_test 33 additions, 1 deletiontests/register-reservations.shader_test
- tests/sample-bias.shader_test 43 additions, 0 deletionstests/sample-bias.shader_test
- tests/sample-level.shader_test 36 additions, 0 deletionstests/sample-level.shader_test
This diff is collapsed.
This diff is collapsed.
tests/fmod.shader_test
0 → 100644
tests/load-level.shader_test
0 → 100644
tests/object-parameters.shader_test
0 → 100644
tests/sample-bias.shader_test
0 → 100644
tests/sample-level.shader_test
0 → 100644