- Mar 06, 2025
-
-
Nikolay Sivov authored
Signed-off-by:
Nikolay Sivov <nsivov@codeweavers.com>
-
Nikolay Sivov authored
Signed-off-by:
Nikolay Sivov <nsivov@codeweavers.com>
-
Henri Verbeet authored
-
Henri Verbeet authored
-
Elizabeth Figura authored
And properly implement translation into some binary enumerations.
-
Elizabeth Figura authored
-
Elizabeth Figura authored
-
Elizabeth Figura authored
-
Elizabeth Figura authored
-
Elizabeth Figura authored
vkd3d-shader/hlsl: Emit the minimum-precision global flag when minimum-precision semantics are used. There are other things we need to check, but this is a start.
-
- Mar 05, 2025
-
-
Elizabeth Figura authored
-
Elizabeth Figura authored
-
Elizabeth Figura authored
-
Elizabeth Figura authored
-
Elizabeth Figura authored
-
Henri Verbeet authored
"char" is (potentially) signed, so casting it to uint32_t will sign-extend it. Because we use |= to assign it to "word", and don't otherwise mask out the higher bits either, we effectively set subsequent bytes in the same word to 0xff for input bytes > 0x7f. That potentially includes the \0 terminator. For example, "é" (U+00e9) is "\xc3\xa9" when encoded as UTF-8, and would get us 0xffffffc3 instead of 0x0000a9c3.
-
Nikolay Sivov authored
Signed-off-by:
Nikolay Sivov <nsivov@codeweavers.com>
-
Nikolay Sivov authored
Signed-off-by:
Nikolay Sivov <nsivov@codeweavers.com>
-
Nikolay Sivov authored
Signed-off-by:
Nikolay Sivov <nsivov@codeweavers.com>
-
- Mar 03, 2025
-
-
navi authored
While fxc allows full expressions inside the angle brackets, we don't parse that yet as it'd be quite a mess to properly do so with yacc, and I'm not aware of any game doing so in their shaders.
-
navi authored
-
Nikolay Sivov authored
To reproduce: float4 v; SamplerState s { BorderColor = 0.1 + v*0.2; }; Expression should use more than one literal constant, as a scalar in operation that involves a vector. Signed-off-by:
Nikolay Sivov <nsivov@codeweavers.com>
-
Giovanni Mascellani authored
So that they do not get truncated if they're too long.
-
Elizabeth Figura authored
-
Elizabeth Figura authored
-
Elizabeth Figura authored
-
Elizabeth Figura authored
-
Elizabeth Figura authored
-
Francisco Casas authored
The only purpose it has at this point is wrapping integer DIV in casts, which can be moved to lower_division().
-
Francisco Casas authored
Instead, allow half, bool, int, and uint, expressions that map to the same float op to reach sm1_generate_vsir_instr_expr().
-
navi authored
-
- Mar 02, 2025
-
-
Henri Verbeet authored
-
- Feb 26, 2025
-
-
Giovanni Mascellani authored
That extension (and the corresponding feature) must be enabled when the Initializer operand is used for workgroup variables.
-
- Feb 24, 2025
-
-
Nikolay Sivov authored
Signed-off-by:
Nikolay Sivov <nsivov@codeweavers.com>
-
Nikolay Sivov authored
Signed-off-by:
Nikolay Sivov <nsivov@codeweavers.com>
-
Henri Verbeet authored
Instead of "%f". vkd3d_string_buffer_print_f32() will use sufficient precision to represent the stored value exactly, and will use '.' as decimal separator regardless of the current locale.
-
Elizabeth Figura authored
-
Elizabeth Figura authored
-
Elizabeth Figura authored
-
Elizabeth Figura authored
-