- Mar 13, 2023
-
-
Francisco Casas authored
by replacing the value pointer of the last index in the chain with a load to a synthetic variable that holds the value.
-
Francisco Casas authored
-
Francisco Casas authored
-
Francisco Casas authored
-
Francisco Casas authored
-
Francisco Casas authored
-
Francisco Casas authored
From this point on, it is no longer true that only hlsl_ir_loads can return objects, because an object can also come from chain of hlsl_ir_indexes that ends in an hlsl_ir_load. For this reason, hlsl_resource_load_params now expects both the resource as the sampler to be just an hlsl_ir_node pointer instead of a pointer to a more specific hlsl_ir_load.
-
Francisco Casas authored
This node type is intended for use during parse-time. While we parse an indexing expression such as "a[3]", we don't know if it will end up as part of an expression (in which case it must be folded into a load) or it is for the lhs of a store (in which case it must be folded into the store's deref). --- This patch adds what may be considered dead-code, but this is promptly used in the follow patch. I organized it this way to somewhat ease the review.
-
- Mar 10, 2023
-
-
Francisco Casas authored
-
- Mar 07, 2023
-
-
Francisco Casas authored
-
- Feb 28, 2023
-
-
Otherwise it's not clear which clauses in vkd3d_shader_compile() really apply to other functions. For example, many of the functions currently refering to vkd3d_shader_compile() don't even take a vkd3d_shader_compile_info parameter.
-
-
-
This change does nothing by itself.
-
-
-
-
- Feb 27, 2023
-
-
Without this patch, dp3 and dp4 map src swizzles to the dst writemask, which is not correct. Before b84f560b, these ops worked despite this, because the dst register had, incorrectly, the full writemask. To solve this problem, write_sm1_binary_op_dot() is introduced, similarly to write_sm4_binary_op_dot().
-
-
- Feb 23, 2023
-
-
-
-
-
-
-
-
vkd3d-shader/dxbc: Pass a vkd3d_shader_dxbc_section_desc structure to the parse_dxbc() section handler.
-
vkd3d-shader/dxbc: Pass a vkd3d_shader_dxbc_section_desc structure to shader_parse_root_signature().
-
-
In preparation of exposing it in the public API.
-
-
-
Signed-off-by:
Nikolay Sivov <nsivov@codeweavers.com>
-
Signed-off-by:
Nikolay Sivov <nsivov@codeweavers.com>
-
-
- Feb 22, 2023
-
-
-
-
The \since field was too early, and prevented Doxygen from really parsing the synopsis for vkd3d_shader.h.
-
Any shader that would underflow is invalid, but it is helpful to allow tracing even invalid shaders.
-
This refactoring is required for improving the allocation strategy so it works with multiple-register variables.
-
-