- Jan 10, 2025
-
-
Henri Verbeet authored
-
Francisco Casas authored
Otherwise ubsan reports these errors on the bitwise.shader_test: libs/vkd3d-shader/hlsl_constant_ops.c:970:50: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' libs/vkd3d-shader/hlsl_constant_ops.c:970:50: runtime error: left shift of negative value -12
-
Francisco Casas authored
Otherwise ubsan reports errors such as: libs/vkd3d-shader/spirv.c:7266:5: runtime error: null pointer passed as argument 1, which is declared to never be null
-
Francisco Casas authored
Otherwise ubsan reports runtime errors such as: libs/vkd3d-shader/ir.c:4731:5: runtime error: null pointer passed as argument 1, which is declared to never be null
-
Francisco Casas authored
Otherwise when passing "-fsanitize=undefined" to the compiler, ubsan reports such as: libs/vkd3d-shader/ir.c:3794:5: runtime error: null pointer passed as argument 1, which is declared to never be null
-
Elizabeth Figura authored
-
Elizabeth Figura authored
-
Elizabeth Figura authored
Since we have -Wswitch, this forces the developer to update all relevant switches when an enum case is added. Places where the default is just a FIXME are left alone.
-
Shaun Ren authored
We apply distributivity to applicable expressions, specifically with the following rewrite rules: (x OPL a) OPR (x OPL b) -> x OPL (a OPR b) (y OPR (x OPL a)) OPR (x OPL b) -> y OPR (x OPL (a OPR b)) ((x OPL a) OPR y) OPR (x OPL b) -> (x OPL (a OPR b)) OPR y (x OPL a) OPR ((x OPL b) OPR y) -> (x OPL (a OPR b)) OPR y (x OPL a) OPR (y OPR (x OPL b)) -> (x OPL (a OPR b)) OPR y where a, b are constants.
-
- Dec 19, 2024
-
-
Henri Verbeet authored
Like we did before commit 067e6dee. These skips aren't all that interesting; it's entirely intentional that e.g. a 2.0-3.0 run wouldn't run 4.0 shaders.
-
Henri Verbeet authored
-
Henri Verbeet authored
-
Henri Verbeet authored
-
Giovanni Mascellani authored
-
Giovanni Mascellani authored
-
Giovanni Mascellani authored
-
Giovanni Mascellani authored
-
Giovanni Mascellani authored
-
Giovanni Mascellani authored
-
Giovanni Mascellani authored
-
navi authored
-
Henri Verbeet authored
-
- Dec 18, 2024
-
-
Elizabeth Figura authored
-
Elizabeth Figura authored
This simplifies the IR.
-
Elizabeth Figura authored
This simplifies the IR.
-
Elizabeth Figura authored
-
Elizabeth Figura authored
We don't need VKD3DSPR_CONST2 et al in the IR, even for disassembly.
-
Elizabeth Figura authored
-
Elizabeth Figura authored
-
Elizabeth Figura authored
-
Elizabeth Figura authored
-
Elizabeth Figura authored
-
Francisco Casas authored
-
Francisco Casas authored
-
Francisco Casas authored
-
Francisco Casas authored
For SM1 the lod bias should be in src0.w.
-
navi authored
-
navi authored
-
Conor McCarthy authored
-
Conor McCarthy authored
-