Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
eaf4d0bf by Francisco Casas at 2025-01-10T19:51:43+01:00
vkd3d-shader: Avoid passing NULL to memcpy(). (ubsan)
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
- - - - -
7b23cd4d by Francisco Casas at 2025-01-10T19:51:55+01:00
vkd3d-shader: Avoid passing NULL to qsort(). (ubsan)
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
- - - - -
8056058a by Francisco Casas at 2025-01-10T19:51:55+01:00
vkd3d-shader: Avoid passing NULL to memset(). (ubsan)
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
- - - - -
9b3b47b1 by Francisco Casas at 2025-01-10T19:51:55+01:00
vkd3d-shader: Avoid left shifting signed integers. (ubsan)
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
- - - - -
7 changed files:
- libs/vkd3d-shader/hlsl_codegen.c
- libs/vkd3d-shader/hlsl_constant_ops.c
- libs/vkd3d-shader/ir.c
- libs/vkd3d-shader/spirv.c
- libs/vkd3d-shader/vkd3d_shader_main.c
- libs/vkd3d/state.c
- tests/hlsl/bitwise.shader_test
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/29bac62ba22705bb7521aed72deb…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/29bac62ba22705bb7521aed72deb…
You're receiving this email because of your account on gitlab.winehq.org.
Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
1ff1a51e by Elizabeth Figura at 2025-01-10T19:24:10+01:00
vkd3d-shader/hlsl: Avoid some uses of the default case when switching over hlsl_base_type.
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.
- - - - -
39239879 by Elizabeth Figura at 2025-01-10T19:24:21+01:00
vkd3d-shader/d3dbc: Do not access the type dimensions for non-numeric types.
- - - - -
29bac62b by Elizabeth Figura at 2025-01-10T19:38:13+01:00
vkd3d-shader/hlsl: Move the "dimx" and "dimy" fields to the type-specific union.
- - - - -
7 changed files:
- libs/vkd3d-shader/fx.c
- libs/vkd3d-shader/hlsl.c
- libs/vkd3d-shader/hlsl.h
- libs/vkd3d-shader/hlsl.y
- libs/vkd3d-shader/hlsl_codegen.c
- libs/vkd3d-shader/hlsl_constant_ops.c
- libs/vkd3d-shader/tpf.c
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/646087d54ca7488d133e5e1fc802…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/646087d54ca7488d133e5e1fc802…
You're receiving this email because of your account on gitlab.winehq.org.
Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
646087d5 by Shaun Ren at 2025-01-10T19:17:43+01:00
vkd3d-shader/hlsl: Collect together terms with constant coefficients.
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.
- - - - -
2 changed files:
- libs/vkd3d-shader/hlsl_constant_ops.c
- tests/hlsl/arithmetic-uint.shader_test
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/commit/646087d54ca7488d133e5e1fc802b…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/commit/646087d54ca7488d133e5e1fc802b…
You're receiving this email because of your account on gitlab.winehq.org.
Alexandre Julliard pushed to branch master at wine / wine
Commits:
b936f742 by Gabriel Ivăncescu at 2025-01-09T22:30:50+01:00
winex11: Respect swp_flags when syncing window position.
Since 895ca2eda64f506b936999cdd8f14e224eef6a7f, we're not telling Win32
side of the fact the window moved offscreen. This means any SetWindowPos
sent afterwards has potential to resync the Window and "put it on screen
again", even if such operation has SWP_NOMOVE or SWP_NOSIZE. This causes
some fullscreen apps to follow the workspace/desktop instead of remaining
offscreen.
Fixes a regression introduced by 895ca2eda64f506b936999cdd8f14e224eef6a7f.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode(a)gmail.com>
- - - - -
1 changed file:
- dlls/winex11.drv/window.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/b936f7426e33508538f48f7d20e7d7…
--
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/b936f7426e33508538f48f7d20e7d7…
You're receiving this email because of your account on gitlab.winehq.org.
Alexandre Julliard pushed to branch master at wine / wine
Commits:
b42329b3 by Eric Pouech at 2025-01-08T21:37:46+01:00
cmd/tests: Add more tests.
Signed-off-by: Eric Pouech <epouech(a)codeweavers.com>
- - - - -
d1ff9d69 by Eric Pouech at 2025-01-08T21:37:46+01:00
cmd: Skip trailing white spaces in FOR's option.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57570
Signed-off-by: Eric Pouech <epouech(a)codeweavers.com>
- - - - -
562b71de by Eric Pouech at 2025-01-08T21:37:46+01:00
cmd: Fix some CALL errorlevel propagation.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57649
Signed-off-by: Eric Pouech <epouech(a)codeweavers.com>
- - - - -
86f3e21d by Eric Pouech at 2025-01-08T21:37:46+01:00
cmd: Don't return syntax error code on empty lines.
Signed-off-by: Eric Pouech <epouech(a)codeweavers.com>
- - - - -
6 changed files:
- programs/cmd/batch.c
- programs/cmd/tests/test_builtins.bat
- programs/cmd/tests/test_builtins.bat.exp
- programs/cmd/tests/test_builtins.cmd
- programs/cmd/tests/test_builtins.cmd.exp
- programs/cmd/wcmdmain.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/d40555b815ddffbbe79fd82b8b909…
--
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/d40555b815ddffbbe79fd82b8b909…
You're receiving this email because of your account on gitlab.winehq.org.