Conor McCarthy
|
a62343f544
|
vkd3d-shader/dxil: Read DXIL metadata strings.
|
2023-10-12 18:23:29 +02:00 |
|
Conor McCarthy
|
05d516bb00
|
vkd3d-shader/dxil: Emit an error on allocation failure in dxil_record_to_string().
|
2023-10-11 22:21:22 +02:00 |
|
Conor McCarthy
|
52dc6f252c
|
vkd3d-shader/dxil: Read global constants in sm6_parser_globals_init().
These are needed for reading metadata.
|
2023-10-11 22:21:20 +02:00 |
|
Conor McCarthy
|
df4e1b7393
|
vkd3d-shader/dxil: Read immediate constant arrays.
|
2023-10-11 22:21:19 +02:00 |
|
Conor McCarthy
|
f61c853f61
|
vkd3d-shader/dxil: Convert into an error the warning for an unhandled instrinsic.
|
2023-09-26 22:07:51 +02:00 |
|
Conor McCarthy
|
b30b95e824
|
vkd3d-shader/dxil: Do not access null code blocks on failure.
|
2023-09-26 22:07:50 +02:00 |
|
Francisco Casas
|
e904660497
|
vkd3d-shader: Turn vkd3d_shader_register.immconst_type into vkd3d_shader_register.dimension.
|
2023-09-26 22:07:04 +02:00 |
|
Francisco Casas
|
5d6899888d
|
vkd3d-shader: Rename shader_register_init() to vsir_register_init().
|
2023-09-26 22:06:50 +02:00 |
|
Conor McCarthy
|
6ec5e5bf54
|
vkd3d-shader/dxil: Implement DX instruction LoadInput.
|
2023-09-25 22:07:09 +02:00 |
|
Conor McCarthy
|
644a06dcca
|
vkd3d-shader/dxil: Declare shader inputs.
|
2023-09-25 22:07:08 +02:00 |
|
Giovanni Mascellani
|
c052cd8998
|
vkd3d-shader/ir: Introduce a boilerplate to validate the generated IR.
For the moment the validator is trivial, it never fails. Checks will
be added incrementally.
|
2023-09-22 11:06:13 +02:00 |
|
Giovanni Mascellani
|
cf871d2cb2
|
vkd3d-shader: Embed the parsing location in vkd3d_shader_instruction.
So that it can be used for printing meaningful error locations by
downstream processors.
|
2023-09-22 11:06:12 +02:00 |
|
Giovanni Mascellani
|
531c41306d
|
vkd3d-shader/dxil: Destroy the SM6 parser on parsing errors.
|
2023-09-22 11:06:11 +02:00 |
|
Giovanni Mascellani
|
05af25eecb
|
vkd3d-shader: Rename shader_instruction_init().
|
2023-09-22 11:06:05 +02:00 |
|
Henri Verbeet
|
da89da2bf3
|
vkd3d-shader: Hide support for DXIL sources.
Unfortunately this is not sufficiently ready to release.
|
2023-09-18 21:04:19 +02:00 |
|
Conor McCarthy
|
d27b8eb2c0
|
vkd3d-shader/dxil: Implement DX instruction StoreOutput.
|
2023-08-30 22:48:52 +02:00 |
|
Conor McCarthy
|
bf49a1a95b
|
vkd3d-shader/dxil: Declare shader outputs.
|
2023-08-30 22:48:50 +02:00 |
|
Conor McCarthy
|
e54f770669
|
vkd3d-shader/dxil: Implement the DXIL CALL instruction.
|
2023-08-30 22:48:48 +02:00 |
|
Conor McCarthy
|
720a087c28
|
vkd3d-shader/dxil: Replace the result type enum with a bool.
Changes to failure handling make the enum unnecessary.
|
2023-08-30 22:48:47 +02:00 |
|
Conor McCarthy
|
58d6e44501
|
vkd3d-shader/dxil: Validate the function block count.
|
2023-08-30 22:48:45 +02:00 |
|
Conor McCarthy
|
c0a2bb1095
|
vkd3d-shader/dxil: Emit undefined constants.
|
2023-07-20 22:32:53 +02:00 |
|
Conor McCarthy
|
3e553aaaa7
|
vkd3d-shader/dxil: Emit the shader instructions.
Sufficient for compiling a no-op pixel shader.
|
2023-07-20 22:32:51 +02:00 |
|
Conor McCarthy
|
8fe6d2eeac
|
vkd3d-shader/dxil: Return an error from sm6_parser_globals_init() on invalid operand count.
|
2023-07-20 22:32:48 +02:00 |
|
Conor McCarthy
|
1ec112e3d7
|
vkd3d-shader/dxil: Read function bodies.
|
2023-07-11 22:43:58 +02:00 |
|
Conor McCarthy
|
5d33fb4633
|
vkd3d-shader/dxil: Read numeric constants.
|
2023-07-11 22:43:57 +02:00 |
|
Conor McCarthy
|
c96143abdc
|
vkd3d-shader/dxil: Read global function declarations.
|
2023-07-11 22:43:55 +02:00 |
|
Conor McCarthy
|
22157c3da3
|
vkd3d-shader/dxil: Validate the module format version.
|
2023-07-11 22:43:53 +02:00 |
|
Conor McCarthy
|
eca4b62c7e
|
vkd3d-shader/dxil: Read the value symbol table.
|
2023-07-11 22:43:49 +02:00 |
|
Conor McCarthy
|
571d807dd8
|
vkd3d-shader/dxil: Read the type table.
|
2023-07-11 22:43:48 +02:00 |
|
Conor McCarthy
|
41a5d37935
|
vkd3d-shader/dxil: Use size_t where applicable.
|
2023-07-11 22:43:46 +02:00 |
|
Conor McCarthy
|
de25e88901
|
vkd3d-shader/dxil: Read and validate global abbreviated operands.
|
2023-06-28 21:40:37 +02:00 |
|
Conor McCarthy
|
e9a8bfb2c4
|
vkd3d-shader/dxil: Read and validate local abbreviated operands.
|
2023-06-28 21:40:36 +02:00 |
|
Conor McCarthy
|
6775f7ba66
|
vkd3d-shader/dxil: Read and validate DXIL bitcode unabbreviated blocks.
|
2023-06-28 21:40:34 +02:00 |
|