Nikolay Sivov
|
12947aa50d
|
vkd3d-shader/fx: Add support for writing DepthStencilState objects.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-07-08 18:12:03 +02:00 |
|
Nikolay Sivov
|
1008c49ce6
|
vkd3d-shader/fx: Cast state block field values to target type.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-07-08 18:12:03 +02:00 |
|
Nikolay Sivov
|
48ff7de8ef
|
vkd3d-shader/hlsl: Add support for ConstantBuffer<> type.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-07-08 18:12:03 +02:00 |
|
Nikolay Sivov
|
222c52380b
|
vkd3d-shader/fx: Fix variable buffer offset value.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-06-12 19:02:20 +02:00 |
|
Nikolay Sivov
|
402dc94259
|
vkd3d-shader/fx: Set EXPLICIT_BIND_POINT flag for packoffset() reservations as well.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-06-12 19:02:20 +02:00 |
|
Nikolay Sivov
|
72ddea6030
|
vkd3d-shader/fx: Use original full semantic name.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-06-11 15:53:19 +02:00 |
|
Francisco Casas
|
e8dbc36bd2
|
vkd3d-shader/hlsl: Record default values for uniforms and constant buffers.
|
2024-06-11 15:46:40 +02:00 |
|
Nikolay Sivov
|
5265fbb789
|
vkd3d-shader/fx: Do not write shared buffers block when not compiling as a child effect.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-05-30 19:56:50 +02:00 |
|
Nikolay Sivov
|
9c83caeda6
|
vkd3d-shader/fx: Use correct type name when reusing types.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-05-16 21:49:50 +02:00 |
|
Nikolay Sivov
|
a913ac7844
|
vkd3d-shader/fx: Implement writing shared buffers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-05-16 21:49:48 +02:00 |
|
Nikolay Sivov
|
0053cc52b7
|
vkd3d-shader/fx: Initial support for writing sample state objects.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-05-08 21:08:05 +02:00 |
|
Nikolay Sivov
|
3c6470e3b2
|
vkd3d-shader/fx: Set UAV count in the header.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-05-08 21:08:04 +02:00 |
|
Nikolay Sivov
|
1a79d1e945
|
vkd3d-shader/fx: Filter out unsupported object types.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-05-08 21:08:03 +02:00 |
|
Nikolay Sivov
|
9bbed14987
|
vkd3d-shader/fx: Fix shader counter in the header.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-05-08 21:08:02 +02:00 |
|
Nikolay Sivov
|
cb1a271151
|
vkd3d-shader/fx: Set texture count in the header.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-05-08 21:08:01 +02:00 |
|
Nikolay Sivov
|
162d8760be
|
vkd3d-shader/fx: Set RTV counter in the header.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-05-08 21:08:00 +02:00 |
|
Nikolay Sivov
|
a879ac5536
|
vkd3d-shader/fx: Write depth stencil view object variables.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-05-08 21:07:59 +02:00 |
|
Zebediah Figura
|
c2eb563e50
|
vkd3d-shader/fx: Skip uniform copy logic for global variables.
|
2024-05-08 21:07:58 +02:00 |
|
Zebediah Figura
|
2480eec98b
|
vkd3d-shader/hlsl: Move the "base_type" member to the class-specific union.
|
2024-05-06 22:12:41 +02:00 |
|
Zebediah Figura
|
d9f7a88329
|
vkd3d-shader/hlsl: Make HLSL_TYPE_PIXELSHADER into a separate class.
|
2024-05-06 22:12:37 +02:00 |
|
Zebediah Figura
|
874937dab4
|
vkd3d-shader/hlsl: Make HLSL_TYPE_VERTEXSHADER into a separate class.
|
2024-05-06 22:12:34 +02:00 |
|
Zebediah Figura
|
d7da278693
|
vkd3d-shader/hlsl: Make HLSL_TYPE_RENDERTARGETVIEW into a separate class.
|
2024-04-23 22:37:09 +02:00 |
|
Zebediah Figura
|
ee2bde3aba
|
vkd3d-shader/hlsl: Make HLSL_TYPE_DEPTHSTENCILVIEW into a separate class.
|
2024-04-23 22:37:06 +02:00 |
|
Zebediah Figura
|
76971d811e
|
vkd3d-shader/hlsl: Make HLSL_TYPE_TECHNIQUE into a separate class.
|
2024-04-23 22:36:51 +02:00 |
|
Zebediah Figura
|
3c8c7426df
|
vkd3d-shader/hlsl: Make HLSL_TYPE_PASS into a separate class.
|
2024-04-23 22:36:38 +02:00 |
|
Zebediah Figura
|
24d3a352a6
|
vkd3d-shader/hlsl: Make HLSL_TYPE_EFFECT_GROUP into a separate class.
|
2024-04-23 22:36:32 +02:00 |
|
Zebediah Figura
|
171e097268
|
vkd3d-shader/hlsl: Make HLSL_TYPE_UAV into a separate class.
|
2024-04-19 22:23:20 +02:00 |
|
Zebediah Figura
|
93d7cd1785
|
vkd3d-shader/hlsl: Make HLSL_TYPE_TEXTURE into a separate class.
|
2024-04-19 22:23:19 +02:00 |
|
Zebediah Figura
|
220362cbad
|
vkd3d-shader/hlsl: Make HLSL_TYPE_SAMPLER into a separate class.
|
2024-04-19 22:23:18 +02:00 |
|
Zebediah Figura
|
f57db442b0
|
vkd3d-shader/hlsl: Make HLSL_TYPE_STRING into a separate class.
|
2024-04-19 22:23:16 +02:00 |
|
Zebediah Figura
|
cdcf2da2eb
|
vkd3d-shader/hlsl: Make HLSL_TYPE_VOID into a separate class.
|
2024-04-19 22:23:14 +02:00 |
|
Zebediah Figura
|
280bea9033
|
vkd3d-shader/fx: Use a switch in write_fx_2_initial_value().
|
2024-04-10 08:55:20 -05:00 |
|
Zebediah Figura
|
6c6106f780
|
vkd3d-shader/fx: Move unimplemented type checks into is_type_supported_fx_2().
|
2024-04-10 08:55:19 -05:00 |
|
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 |
|