Giovanni Mascellani
37c2f709d1
vkd3d-shader/ir: Lower d3dbc SINCOS to the new COS and SIN instructions.
2025-06-19 20:32:55 +02:00
Giovanni Mascellani
6f092fb84a
vkd3d-shader/ir: Introduce opcode SIN.
...
It is meant to compute sine.
2025-06-19 20:32:50 +02:00
Giovanni Mascellani
322f2e5496
vkd3d-shader/ir: Introduce opcode COS.
...
It is meant to compute cosine, and gradually replace SINCOS, at
least from a certain point in the pipeline on.
2025-06-19 20:32:41 +02:00
Giovanni Mascellani
b7fbd3c0f0
vkd3d-shader/ir: Validate data types for SIGNNEG source modifiers.
2025-06-19 20:11:41 +02:00
Giovanni Mascellani
3689d3076c
vkd3d-shader/ir: Validate data types for SIGN source modifiers.
2025-06-19 20:10:21 +02:00
Giovanni Mascellani
e1ca552173
vkd3d-shader/ir: Validate data types for BIASNEG source modifiers.
2025-06-19 20:08:52 +02:00
Giovanni Mascellani
b2e1c3b90a
vkd3d-shader/ir: Validate data types for BIAS source modifiers.
2025-06-19 20:06:35 +02:00
Giovanni Mascellani
eb3383b04e
vkd3d-shader/ir: Validate data types for NEG source modifiers.
2025-06-19 20:03:17 +02:00
Giovanni Mascellani
4da83fe83b
vkd3d-shader/ir: Validate ATAN instructions.
2025-06-19 19:28:42 +02:00
Giovanni Mascellani
813021e60b
vkd3d-shader/ir: Validate ASIN instructions.
2025-06-19 19:28:42 +02:00
Giovanni Mascellani
16e142465c
vkd3d-shader/ir: Validate AND instructions.
2025-06-19 19:28:41 +02:00
Giovanni Mascellani
0edd654c9e
vkd3d-shader/ir: Validate ADD instructions.
2025-06-19 19:24:36 +02:00
Giovanni Mascellani
475e16b87f
vkd3d-shader/ir: Validate ACOS instructions.
2025-06-19 19:24:36 +02:00
Giovanni Mascellani
65e896fd60
vkd3d-shader/ir: Validate ABS instructions.
2025-06-19 19:24:06 +02:00
Giovanni Mascellani
bf92190924
vkd3d-shader/ir: Rename VKD3D_SHADER_ERROR_VSIR_INVALID_HANDLER to VKD3D_SHADER_ERROR_VSIR_INVALID_OPCODE.
...
Following the way it is currently called in the code.
2025-06-16 16:03:07 +02:00
Henri Verbeet
a5ff884605
vkd3d-shader/ir: Use vsir_opcode_get_name() in the validator.
2025-06-11 20:28:38 +02:00
Henri Verbeet
83ed825e5a
vkd3d-shader/ir: Use vsir_opcode_get_name() in vsir_program_lower_instructions().
2025-06-10 17:44:18 +02:00
Henri Verbeet
1214359022
vkd3d-shader/ir: Introduce vsir_opcode_get_name().
2025-06-10 17:44:18 +02:00
Elizabeth Figura
847c008b49
vkd3d-shader/ir: Split TEX into two separate vsir opcodes.
...
The two have the same d3dbc opcode, but have different names and different semantics.
2025-06-02 20:13:52 +02:00
Elizabeth Figura
b25362e036
vkd3d-shader/ir: Split TEXCOORD into two separate vsir opcodes.
...
The two have the same d3dbc opcode, but have different names and different semantics.
2025-06-02 20:12:27 +02:00
Elizabeth Figura
f5e0c47811
vkd3d-shader/ir: Use add_signature_element() to add clip planes.
...
In particular, ensure that the semantic name is not NULL. This is necessary to
avoid a crash when a later pass using vsir_signature_find_element_by_name(),
e.g. vsir_program_insert_vertex_fog(), iterates over the signature including the
new element.
2025-05-24 21:02:17 +02:00
Shaun Ren
18ec4caded
vkd3d-shader/tpf: Read the DCL_OUTPUT_SGV instruction.
...
Introduce VSIR op VKD3DSIH_DCL_OUTPUT_SGV.
2025-05-24 20:38:36 +02:00
Elizabeth Figura
bfa655a01f
vkd3d-shader/ir: Use the .w component of the existing swizzle when lowering texldb.
2025-05-14 15:07:46 +02:00
Elizabeth Figura
d40422592a
vkd3d-shader/ir: Merge tess factor used masks together.
...
Encountered with the domain shader in
test_domain_shader_one_patch_constant_input().
2025-05-14 14:09:21 +02:00
Elizabeth Figura
315247bf02
vkd3d-shader: Normalize TEXKILL to use a source register.
2025-04-30 16:51:44 +02:00