- Jul 17, 2023
-
-
We are using the hlsl_ir_var.is_uniform flag to indicate when an object is a uniform copy created from a variable with the HLSL_STORAGE_UNIFORM modifier. We should be checking for this instead of the HLSL_STORAGE_UNIFORM flag which is also set to 1 for the original variables, and there should be no reason to use this flag instead of "is_uniform" after the uniform copies and combined/separated samplers are created.
-
-
-
-
This struct is required for handling both whole-variable resources for SM < 5 and single-component resources for SM 5 in the same way, when writting the RDEF block and resource declarations within the shader.
-
After lowering the derefs path to a single offset node, there was no way of knowing the type of the referenced part of the variable. This little modification allows to avoid having to pass the data type everywhere and it is required for supporting instructions that reference objects components within struct types. Since deref->data_type allows us to retrieve the type of the deref, deref->offset_regset is no longer necessary.
-
- Jul 13, 2023
-
-
- Jul 11, 2023
-
-
- Jul 10, 2023
-
-
Used by F1 2018.
-
- Jul 06, 2023
-
-
-
-
depth <-> color copies aren't allowed in Vulkan
-
- Jul 05, 2023
-
-
Spotted by Giovanni Mascellani.
-
-
-
-
-
As well as from the "statement_list" and "compound_statement" rules, which trivially pass through from "statement".
-
- Jul 04, 2023
-
-
-
vkd3d-shader/hlsl: Simplify allocate_const_registers_recurse() to stop accounting for constants larger than a vector. That cannot happen with the current code.
-
-
vkd3d-shader/hlsl: Consistently use the destination width in constant folding instructions (Valgrind).
-
We emit one source with multiple components.
-
Signed-off-by:
Nikolay Sivov <nsivov@codeweavers.com>
-
vkd3d-shader/hlsl: Support evaluated expressions for sample count in multisampled textures declarations. Signed-off-by:
Nikolay Sivov <nsivov@codeweavers.com>
-
-
Store it in the shader_desc, and declare temps from that when compiling SPIR-V, instead of parsing dcl_instructions. As part of this change, we declare a single, global temps array (with Private scope instead of Function) which is as large as the maximum of all dcl_temps instructions. It is not clear to me whether this will improve, hurt, or have no significant effect on the lower-level compiler. An alternative is to still redeclare a new temps array every time (although still with a smaller size).
-
-
-