Zebediah Figura
|
047040fc63
|
vkd3d-shader/fx: Don't use an array to write the type class.
|
2024-04-10 08:55:18 -05:00 |
|
Zebediah Figura
|
a882d60534
|
vkd3d-shader/hlsl: Map HLSL_TYPE_DOUBLE to D3DXPT_FLOAT.
|
2024-04-10 08:55:15 -05:00 |
|
Francisco Casas
|
ef9ae22ed0
|
vkd3d-shader/hlsl: Store state block on pass variables.
|
2024-04-10 08:54:23 -05:00 |
|
Nikolay Sivov
|
e1e6367210
|
vkd3d-shader/fx: Add an option to include empty buffers in the effect binary.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-04-02 23:10:42 +02:00 |
|
Nikolay Sivov
|
c509c85f63
|
vkd3d-shader/hlsl: Allow annotations on constant buffers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-04-02 23:10:40 +02:00 |
|
Nikolay Sivov
|
b382d1843d
|
vkd3d-shader/fx: Accept texture types when writing fx_2_0 effects.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-03-27 22:37:29 +01:00 |
|
Nikolay Sivov
|
17dc23269e
|
vkd3d-shader/fx: Handle "uint" type for fx_2_0 parameters.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-03-27 22:37:27 +01:00 |
|
Nikolay Sivov
|
9117629e35
|
vkd3d-shader/fx: Handle "half" type for fx_2_0 parameters.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-03-27 22:37:25 +01:00 |
|
Nikolay Sivov
|
88d9cff407
|
vkd3d-shader/fx: Set initial object count to 1 for fx_2_0.
This is used for the object table at runtime. Object variable index is 1-based.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-03-27 22:37:24 +01:00 |
|
Nikolay Sivov
|
501aed43f3
|
vkd3d-shader/fx: Zero-pad strings when aligning them for fx_2_0.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-03-27 22:37:23 +01:00 |
|
Nikolay Sivov
|
228d54efff
|
vkd3d-shader/fx: Mark shared variables as such for fx_2_0 effects.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-03-27 22:37:21 +01:00 |
|
Nikolay Sivov
|
f55b152811
|
vkd3d-shader/fx: Fail effect writing on unsupported annotations.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-03-18 23:07:32 +01:00 |
|
Nikolay Sivov
|
206eeb0752
|
vkd3d-shader/fx: Remove newlines from fixme messages.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-03-18 23:07:31 +01:00 |
|
Nikolay Sivov
|
4fc15d4b4a
|
vkd3d-shader/fx: Add initial support for writing fx_2_0 parameters.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-03-18 23:07:30 +01:00 |
|
Nikolay Sivov
|
ed06e0bbef
|
vkd3d-shader/fx: Populate global variables list during context initialization.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-03-18 23:07:29 +01:00 |
|
Nikolay Sivov
|
ea686e8f5a
|
vkd3d-shader/fx: Fix an instruction block leak.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-03-18 23:07:28 +01:00 |
|
Nikolay Sivov
|
9c7fe62da6
|
vkd3d-shader/fx: Use type writing helper only for fx_4+.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-03-18 23:07:27 +01:00 |
|
Nikolay Sivov
|
948cd2154a
|
vkd3d-shader/fx: Handle 'single' modifier for buffers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-03-12 22:14:50 +01:00 |
|
Nikolay Sivov
|
30cc6ceb44
|
vkd3d-shader/fx: Add support for writing shared object descriptions for fx_4_x.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-03-12 22:14:41 +01:00 |
|
Nikolay Sivov
|
7f1fdd447c
|
vkd3d-shader/fx: Add initial support for writing uninitialized vertex/pixel shader objects.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-03-12 22:14:40 +01:00 |
|
Nikolay Sivov
|
437ef0896f
|
vkd3d-shader/fx: Make sure to set error message for unimplemented cases.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-03-06 23:04:22 +01:00 |
|
Nikolay Sivov
|
8c5db57ea7
|
vkd3d-shader/fx: Reject fx_2_0 output without techniques.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-03-06 23:04:19 +01:00 |
|
Nikolay Sivov
|
5474d91804
|
vkd3d-shader/fx: Write DepthStencilView types.
|
2024-02-22 22:45:27 +01:00 |
|
Nikolay Sivov
|
9632adaaec
|
vkd3d-shader/fx: Handle fx_4+ UAV types.
|
2024-02-22 22:45:24 +01:00 |
|
Nikolay Sivov
|
e5f4f60214
|
vkd3d-shader/fx: Handle fx_4+ texture types.
|
2024-02-22 22:45:23 +01:00 |
|
Nikolay Sivov
|
a6057a1365
|
vkd3d-shader/fx: Add initial support for writing object variables.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-02-22 22:45:22 +01:00 |
|
Nikolay Sivov
|
315b7c5a42
|
vkd3d-shader/fx: Do not align structured data section.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-02-19 21:12:09 +01:00 |
|
Nikolay Sivov
|
c107ec03b8
|
vkd3d-shader/fx: Add initial support for writing buffers descriptions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-02-19 21:12:08 +01:00 |
|
Nikolay Sivov
|
656c068b32
|
vkd3d-shader/fx: Do not align strings for fx_4/fx_5 profiles.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-02-19 21:12:07 +01:00 |
|
Nikolay Sivov
|
d5f562d994
|
vkd3d-shader/fx: Use variable pointer in write_group().
The helper will need to access group annotations later, and these are
available for variables.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-02-19 21:12:05 +01:00 |
|
Nikolay Sivov
|
0117e4fb7e
|
vkd3d-shader/fx: Add initial support for writing passes for fx_2_0.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-01-23 20:26:22 +01:00 |
|
Nikolay Sivov
|
b478f0a300
|
vkd3d-shader/fx: Add initial support for writing fx_2_0 binaries.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-01-23 20:26:21 +01:00 |
|
Nikolay Sivov
|
56100d36b1
|
vkd3d-shader/fx: Check technique type in global scope as well.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-01-23 20:26:20 +01:00 |
|
Nikolay Sivov
|
1a036ddff6
|
vkd3d-shader/fx: Do not write the same string twice.
|
2024-01-15 19:57:43 +01:00 |
|
Nikolay Sivov
|
e7d65d39ba
|
vkd3d-shader/fx: Initial support for fx_5_0 output.
|
2024-01-15 19:57:42 +01:00 |
|
Nikolay Sivov
|
8014c11e88
|
vkd3d-shader/fx: Write empty passes blocks.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-01-15 19:57:41 +01:00 |
|
Nikolay Sivov
|
a0207436f2
|
vkd3d-shader/tpf: Add initial support for writing fx_4_0/fx_4_1 binaries.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-01-11 23:04:48 +01:00 |
|