Nikolay Sivov
|
27584c1449
|
d3d10/effect: Use first element when index expression evaluates to out of bounds value.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-12-02 20:21:00 +01:00 |
Nikolay Sivov
|
0f95263086
|
d3d10/effect: Parse through value expressions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-11-23 21:02:13 +01:00 |
Nikolay Sivov
|
a4fe643920
|
d3d10/effect: Add initial support for indexing expressions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-11-15 21:48:35 +01:00 |
Nikolay Sivov
|
15a3da17a7
|
d3d10/effect: Implement numeric pass properties updates.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-11-02 21:53:30 +01:00 |
Nikolay Sivov
|
75eee80705
|
d3d10/effect: Handle NULL blend state assignments.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-11-02 21:53:30 +01:00 |
Nikolay Sivov
|
62ae5db722
|
d3d10/effect: Handle NULL depth stencil state assignments.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-11-02 21:53:30 +01:00 |
Nikolay Sivov
|
150796cc07
|
d3d10/effect: Handle D3D10_SVT_UINT type when returning numeric values.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-11-02 21:53:30 +01:00 |
Nikolay Sivov
|
3f598171be
|
d3d10/effect: Implement GetRawValue().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-10-27 11:36:45 +02:00 |
Nikolay Sivov
|
6839d8cba3
|
d3d10/effect: Implement default values handling.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-10-27 11:36:43 +02:00 |
Nikolay Sivov
|
3a975ebcd7
|
d3d10/tests: Extend default values test.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-10-27 11:36:40 +02:00 |
Nikolay Sivov
|
48759a68bb
|
d3d10/effect: Implement GetConstantBuffer().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-10-27 11:36:36 +02:00 |
Nikolay Sivov
|
59b01089a2
|
d3d10/effect: Fix buffer offsets for members and array elements.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-10-27 11:36:28 +02:00 |
Nikolay Sivov
|
7c7a14bfc2
|
d3d10/tests: Use IsValid() instead of null checks.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-10-15 20:57:05 +02:00 |
Nikolay Sivov
|
7b6918f680
|
d3d10/effect: Use correct vertex shader element when returning input signature.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-10-15 20:57:00 +02:00 |
Nikolay Sivov
|
69ae2cc7e7
|
d3d10/effect: Use SamplerState.Texture when setting shader resources.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-10-15 20:56:53 +02:00 |
Nikolay Sivov
|
64df3c61a5
|
d3d10/effect: Pick up resources from elements when shader variable arrays are used.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-10-15 20:56:39 +02:00 |
Nikolay Sivov
|
99376ade2a
|
d3d10/effect: Add support for constant index and anonymous shader values in assignment parsing helper.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-10-13 21:57:11 +02:00 |
Nikolay Sivov
|
e37f781cc2
|
d3d10/effect: Handle static variable assignments for object fields in state objects.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-10-13 21:57:11 +02:00 |
Nikolay Sivov
|
b56ed5f03f
|
d3d10/tests: Add some tests for annotations.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-10-13 21:57:11 +02:00 |
Nikolay Sivov
|
63ee26f298
|
d3d10/effect: Use shader variable directly from pass structure on Apply().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-10-13 21:57:11 +02:00 |
Nikolay Sivov
|
e893e6e27b
|
d3d10/effect: Set state block masks for state variables.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-10-07 21:22:32 +02:00 |
Nikolay Sivov
|
0c5c8fd84d
|
d3d10/effect: Explicitly store rasterizer state variable.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-10-07 21:22:24 +02:00 |
Nikolay Sivov
|
c85e46b102
|
d3d10/effect: Set shader masks in ComputeStateBlockMask() for passes.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-10-07 21:22:18 +02:00 |
Nikolay Sivov
|
a3942ae20e
|
d3d10/effect: Use effect variable pointers to store per-pass shader objects.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-10-07 21:22:15 +02:00 |
Nikolay Sivov
|
955071291c
|
d3d10/effect: Handle NULL initializer for SamplerState.Texture field.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-10-05 11:31:47 +02:00 |
Nikolay Sivov
|
ea24e203da
|
d3d10/effect: Set corresponding flag for pooled variables.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-10-02 00:41:14 +02:00 |
Nikolay Sivov
|
d11195067f
|
d3d10/effect: Fix handling samplers array binding.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-10-02 00:41:11 +02:00 |
Nikolay Sivov
|
c716aa4802
|
d3d10/effect: Go through both local and shared variables when looking for shader resources.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-09-30 21:25:09 +02:00 |
Nikolay Sivov
|
7fe8e49f33
|
d3d10/effect: Go through both local and shared buffers when looking for shader resources.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-09-30 21:25:06 +02:00 |
Nikolay Sivov
|
5227259043
|
d3d10/tests: Regenerate state group test effect with newer compiler.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-09-27 17:40:14 +02:00 |
Nikolay Sivov
|
2cc6b3092d
|
d3d10/effect: Implement IsOptimized().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-09-27 17:40:14 +02:00 |
Nikolay Sivov
|
099aa57f23
|
d3d10/effect: Validate shared constant buffer types against the pool.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-09-27 17:40:14 +02:00 |
Nikolay Sivov
|
3d1e7b0ed8
|
d3d10/effect: Validate shared object types against the pool.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-09-27 17:40:14 +02:00 |
Nikolay Sivov
|
f3f2fec52d
|
d3d10/effect: Forward to pool effect in GetConstantBufferByName().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-09-23 18:21:06 +02:00 |
Nikolay Sivov
|
fab2d7d8a3
|
d3d10/effect: Forward to pool effect in GetConstantBufferByIndex().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-09-23 18:21:04 +02:00 |
Nikolay Sivov
|
19517f8685
|
d3d10/effect: Forward to pool effect in GetVariableBySemantic().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-09-23 18:21:01 +02:00 |
Nikolay Sivov
|
d3b18bea30
|
d3d10/effect: Forward to pool effect in GetVariableByIndex().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-09-23 18:20:59 +02:00 |
Nikolay Sivov
|
23c6e537c2
|
d3d10/effect: Forward to pool effect in GetVariableByName().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-09-23 18:20:56 +02:00 |
Nikolay Sivov
|
5e5a97cf7f
|
d3d10/effect: Reference pool in the child effect.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-09-20 11:11:06 +02:00 |
Nikolay Sivov
|
de49664d06
|
d3d10/effect: Validate flags vs pool instance when creating child effects.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-09-20 11:11:03 +02:00 |
Nikolay Sivov
|
cec812d861
|
d3d10/effect: Partially implement D3D10CreateEffectPoolFromMemory().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-09-20 11:10:56 +02:00 |
Nikolay Sivov
|
4a3e038022
|
d3d10/tests: Add a test for default numeric variable values.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-09-15 19:34:22 +02:00 |
Nikolay Sivov
|
20952bcd3d
|
d3d10/tests: Add some tests for effect pools.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-09-15 19:34:22 +02:00 |
Nikolay Sivov
|
c00d42f4ba
|
d3d10/effect: Release passes names on Optimize().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-09-15 19:34:22 +02:00 |
Nikolay Sivov
|
eb1f76caa6
|
d3d10/effect: Release technique names on Optimize().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-09-15 19:34:22 +02:00 |
Nikolay Sivov
|
d2d161d507
|
d3d10/effect: Handle object type D3D10_SVT_TEXTURE.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-09-15 19:34:22 +02:00 |
Nikolay Sivov
|
a57fd101b8
|
d3d10/effect: Fix d3d object creation for arrays of state objects.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-09-10 22:13:01 +02:00 |
Nikolay Sivov
|
0fe9cba341
|
d3d10/effect: Handle special $SKIP semantic in stream output declaration.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-09-10 22:12:59 +02:00 |
Nikolay Sivov
|
bf1d4b5697
|
d3d10/effect: Handle rgba masks in stream output declarations.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-09-10 22:12:57 +02:00 |
Nikolay Sivov
|
78f4ce0b11
|
d3d10/effect: Use same field to return ExplicitBindPoint for all variable types.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-09-10 22:12:54 +02:00 |