Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
9c6f8c8b by Henri Verbeet at 2025-10-29T13:27:33+01:00
vkd3d-shader/dxil: Only add declared ICBs to the vsir program.
The input DXIL can sometimes contain constant arrays not referenced by the
resulting vsir program. It doesn't hurt much to generate ICBs for those
anyway, but it's a little pointless.
- - - - -
fce89133 by Henri Verbeet at 2025-10-29T13:27:33+01:00
vkd3d-shader/ir: Remove VSIR_OP_DCL_IMMEDIATE_CONSTANT_BUFFER instructions.
- - - - -
3 changed files:
- libs/vkd3d-shader/dxil.c
- libs/vkd3d-shader/ir.c
- libs/vkd3d-shader/spirv.c
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/f616e6c118a716762ec703f369f5…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/f616e6c118a716762ec703f369f5…
You're receiving this email because of your account on gitlab.winehq.org.
Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
cb7dac4d by Francisco Casas at 2025-10-29T12:24:50+01:00
tests/shader_runner: Introduce a "cull-distance" capability.
- - - - -
ca5bc63e by Francisco Casas at 2025-10-29T12:26:33+01:00
tests/hlsl: Add a simpler clip/cull distance test.
- - - - -
bc63aaf5 by Francisco Casas at 2025-10-29T13:13:44+01:00
tests/shader_runner_gl: Enable used GL_CLIP_DISTANCEs.
Here I am just printing a trace message on the rare situation where
GL_MAX_CLIP_DISTANCES is less than we need.
The maximum in Direct3D is given by D3D#_CLIP_OR_CULL_DISTANCE_COUNT which
is 8, which seems expectable here.
Alternatively we could add a clip-distance capability and only enable
it if gl_maxClipDistances is >= 8.
Another potential problem is that OpenGL expects the gl_ClipDistance[]
array to be the same size on every shader it is declared, which is a
restriction I am not sure Direct3D has with its SV_ClipDistance
components.
Co-authored-by: Anna (navi) Figueiredo Gomes <agomes(a)codeweavers.com>
- - - - -
32b622d7 by Francisco Casas at 2025-10-29T13:14:54+01:00
vkd3d-shader/dxil: Also map destination write masks for system values.
Currently, on what we consider normalized vsir, destination write masks
are not relative to the signature element's mask, even though source
swizzles are. Also for most instructions, the source swizzles are masked
by the destination write mask, as given by vsir_src_is_masked().
The DXIL parser however, is not derelativizing the destination write
masks for system value signature elements, so we fix that to make it
consistent with how other front-ends are handled.
For instance, when the test introduced in commit
ca5bc63e5e0e01fbf06979af788b82b0590fc6ba is compiled to DXIL using DXC,
and then parsed using vkd3d-compiler, we get the following store
instructions:
vs_6_0
.input
.param POSITION.xyzw, v0.xyzw, float
.output
.param SV_Position.xyzw, o0.xyzw, float, POS
.param SV_CullDistance.x, o1.x, float, CULLDST
.param SV_ClipDistance.y, o1.y, float, CLIPDST
.descriptors
.text
label l1
...
mov o1.x <v4:f32>, sr1 <s:f32>
mov o2.x <v4:f32>, sr2 <s:f32> // Note the .x write mask!
ret
whereas, when compiling using FXC and parsing the TPF using
vkd3d-compiler we get:
vs_4_0
.input
.param POSITION.xyzw, v0.xyzw, float
.output
.param SV_POSITION.xyzw, o0.xyzw, float, POS
.param SV_CULLDISTANCE.x, o1.x, float, CULLDST
.param SV_CLIPDISTANCE.y, o1.y, float, CLIPDST
.descriptors
.text
label l1
mov o0.xyzw <v4:f32>, v0.xyzw <v4:f32>
mov o1.x <v4:f32>, v0.x <v4:f32>
mov o2.y <v4:f32>, v0.y <v4:f32> // Note the .y write mask.
ret
This only really matters for cases where we have a system value semantic
whose mask doesn't start at .x, which is very rare. For instance, it
requires the clip/cull distance combo, which share registers, so one of
them pushes the other to start on another component.
According to the tests, the only thing relying on this behaviour is the
handling of private variables for system value semantics on the SPIR-V
backend, which expects destination write masks as if the element started
at .x even though it might not. This is modified then.
- - - - -
f616e6c1 by Francisco Casas at 2025-10-29T13:23:29+01:00
vkd3d-shader/ir: Validate I/O destination write masks on normalised vsir.
- - - - -
11 changed files:
- libs/vkd3d-shader/dxil.c
- libs/vkd3d-shader/ir.c
- libs/vkd3d-shader/spirv.c
- tests/d3d12_crosstest.h
- tests/hlsl/clip-cull-distance.shader_test
- tests/shader_runner.c
- tests/shader_runner.h
- tests/shader_runner_d3d11.c
- tests/shader_runner_d3d12.c
- tests/shader_runner_gl.c
- tests/shader_runner_vulkan.c
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/d3f658d410c42d739bdb3513bfdb…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/d3f658d410c42d739bdb3513bfdb…
You're receiving this email because of your account on gitlab.winehq.org.
Alexandre Julliard pushed to branch master at wine / wine
Commits:
edfc7b57 by Tim Clem at 2025-10-28T23:24:00+01:00
winemac.drv: Explicitly track the shape layer used for letter/pillarboxes.
The content view's layer can have internal sublayers from Cocoa, so
assuming anything about the hierarchy is dangerous and can result in
us removing backing layers for visible content.
- - - - -
1 changed file:
- dlls/winemac.drv/cocoa_window.m
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/edfc7b57af7b4bf1fc5e95b7c47e7f…
--
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/edfc7b57af7b4bf1fc5e95b7c47e7f…
You're receiving this email because of your account on gitlab.winehq.org.
Alexandre Julliard pushed to branch master at wine / wine
Commits:
5d1887f8 by Akihiro Sagawa at 2025-10-28T23:24:00+01:00
ntdll: Remove redundant definitions for Linux.
This partly reverts commit c3e06df9418.
IDE6_MAJOR and IDE7_MAJOR definitions were introduced in Linux 2.3.1
and Linux 2.2 series support has been dropped since Wine 9.3 and later.
As of commit eacd06264e2, we no longer use CDROM_SEND_PACKET ioctl.
- - - - -
a0eaa968 by Akihiro Sagawa at 2025-10-28T23:24:00+01:00
ntdll: Separate the I/O buffers in IOCTL_SCSI_PASS_THROUGH_DIRECT.
- - - - -
f798529e by Akihiro Sagawa at 2025-10-28T23:24:00+01:00
ntdll: Add wow64 support for IOCTL_SCSI_PASS_THROUGH_DIRECT.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=58257
- - - - -
6a825230 by Akihiro Sagawa at 2025-10-28T23:24:00+01:00
kernel32/tests: Add IOCTL_SCSI_PASS_THROUGH_DIRECT tests for optical drives.
- - - - -
2 changed files:
- dlls/kernel32/tests/volume.c
- dlls/ntdll/unix/cdrom.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/c86960bb16c3129271c265a4e0ef4…
--
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/c86960bb16c3129271c265a4e0ef4…
You're receiving this email because of your account on gitlab.winehq.org.
Alexandre Julliard pushed to branch master at wine / wine
Commits:
6f7f4074 by Alexandre Julliard at 2025-10-28T11:32:49+01:00
gitlab: Fix regexp to extract dll name for Windows tests.
- - - - -
0765c5c2 by Alexandre Julliard at 2025-10-28T13:41:38+01:00
kernel32/tests: Use CRT allocation functions.
- - - - -
a070938f by Alexandre Julliard at 2025-10-28T13:41:38+01:00
comctl32/tests: Use CRT allocation functions.
- - - - -
0fcc187d by Alexandre Julliard at 2025-10-28T23:24:00+01:00
kernelbase: Fix error returned for paths with a trailing backslash.
Based on MR !6759 by Fabian Maurer.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57376
- - - - -
9 changed files:
- dlls/comctl32/tests/msg.h
- dlls/comctl32/tests/pager.c
- dlls/comctl32/tests/toolbar.c
- dlls/kernel32/profile.c
- dlls/kernel32/tests/debugger.c
- dlls/kernel32/tests/file.c
- dlls/kernel32/tests/process.c
- dlls/kernelbase/file.c
- tools/gitlab/build.yml
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/38938bdb6f752cb68d13d833be97d…
--
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/38938bdb6f752cb68d13d833be97d…
You're receiving this email because of your account on gitlab.winehq.org.
Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
84c4a4f8 by Giovanni Mascellani at 2025-10-28T16:48:21+01:00
tests/hlsl: Do not test overflowing a float-to-half typed buffer read.
Native implementations do not behave consistently.
- - - - -
d3f658d4 by Giovanni Mascellani at 2025-10-28T16:51:20+01:00
tests/hlsl: Skip a tessellation test that is buggy on WARP with SM>=6.
- - - - -
2 changed files:
- tests/hlsl/tessellation-patch-vars.shader_test
- tests/hlsl/texture-load-typed.shader_test
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/b3f5bfdb7e3b3ffee387f0a617ea…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/b3f5bfdb7e3b3ffee387f0a617ea…
You're receiving this email because of your account on gitlab.winehq.org.