Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
90758b7c by Henri Verbeet at 2025-10-14T15:49:18+02:00
vkd3d-shader/msl: Implement VSIR_OP_UDIV_SIMPLE.
- - - - -
320bdd67 by Henri Verbeet at 2025-10-14T15:49:18+02:00
vkd3d-shader/ir: Validate IDIV instructions.
- - - - -
69879129 by Henri Verbeet at 2025-10-14T15:49:18+02:00
vkd3d-shader/msl: Implement VSIR_OP_IDIV.
- - - - -
b6acac49 by Henri Verbeet at 2025-10-14T15:49:18+02:00
vkd3d-shader/msl: Implement VSIR_OP_UREM.
- - - - -
c89fd938 by Henri Verbeet at 2025-10-14T15:49:18+02:00
vkd3d-shader/ir: Require signed operands for IREM instructions.
- - - - -
9b987619 by Henri Verbeet at 2025-10-14T15:49:18+02:00
vkd3d-shader/msl: Implement VSIR_OP_IREM.
- - - - -
5 changed files:
- libs/vkd3d-shader/dxil.c
- libs/vkd3d-shader/ir.c
- libs/vkd3d-shader/msl.c
- tests/hlsl/arithmetic-int-uniform.shader_test
- tests/hlsl/arithmetic-uint.shader_test
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/11e5b83e7933176ff53c1cf6f70c…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/11e5b83e7933176ff53c1cf6f70c…
You're receiving this email because of your account on gitlab.winehq.org.
Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
11e5b83e by Henri Verbeet at 2025-10-14T15:48:36+02:00
vkd3d-shader/spirv: Handle VSIR_DATA_MIXED in spirv_get_type_id().
For example, a HLSL shader like this:
tbuffer t0
{
float4 data;
};
float4 main() : sv_target
{
return data;
}
would be compiled to the following:
ps_4_0
dcl_resource_buffer (mixed,mixed,mixed,mixed) t0
dcl_output o0.xyzw
dcl_temps 1
ld r0.xyzw, l(0, 0, 0, 0), t0.xyzw
mov o0.xyzw, r0.xyzw
ret
VSIR_DATA_MIXED used to be mapped to VKD3D_SHADER_COMPONENT_UINT by
vkd3d_component_type_from_data_type(), but we no longer use that.
Found by Giovanni Mascellani.
- - - - -
1 changed file:
- libs/vkd3d-shader/spirv.c
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/commit/11e5b83e7933176ff53c1cf6f70c5…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/commit/11e5b83e7933176ff53c1cf6f70c5…
You're receiving this email because of your account on gitlab.winehq.org.
Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
79736ae6 by Giovanni Mascellani at 2025-10-13T19:06:34+02:00
vkd3d-shader/ir: Introduce VSIR_OP_NEG to represent floating-point negation.
- - - - -
eb1210f5 by Giovanni Mascellani at 2025-10-13T19:07:01+02:00
vkd3d-shader/ir: Lower NEG modifiers to instructions.
- - - - -
786ffe69 by Giovanni Mascellani at 2025-10-13T19:12:51+02:00
vkd3d-shader/ir: Use VSIR_OP_NEG in insert_fragment_fog_before_ret(), in the linear case.
- - - - -
b2d47693 by Giovanni Mascellani at 2025-10-13T19:12:56+02:00
vkd3d-shader/ir: Use VSIR_OP_NEG in insert_fragment_fog_before_ret(), in the exponential case.
- - - - -
ca23db5b by Giovanni Mascellani at 2025-10-13T19:13:01+02:00
vkd3d-shader/ir: Use VSIR_OP_NEG in insert_fragment_fog_before_ret(), in the doubly exponential case.
- - - - -
968eb746 by Giovanni Mascellani at 2025-10-13T19:13:05+02:00
vkd3d-shader/ir: Use VSIR_OP_NEG in insert_fragment_fog_before_ret(), in the common part.
The NEG source modifier is not generated any more during vsir
transformation, so it can be dropped in backends.
- - - - -
b5b5c67b by Giovanni Mascellani at 2025-10-13T19:25:51+02:00
vkd3d-shader/ir: Lower ABSNEG modifiers to instructions.
- - - - -
6 changed files:
- libs/vkd3d-shader/dxil.c
- libs/vkd3d-shader/glsl.c
- libs/vkd3d-shader/ir.c
- libs/vkd3d-shader/msl.c
- libs/vkd3d-shader/spirv.c
- libs/vkd3d-shader/vkd3d_shader_private.h
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/62fa65066fea8fc604910f9b6107…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/62fa65066fea8fc604910f9b6107…
You're receiving this email because of your account on gitlab.winehq.org.
Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
90cbe25d by Henri Verbeet at 2025-10-13T19:00:05+02:00
vkd3d-shader/spirv: Do not handle division by zero for VSIR_OP_IDIV or VSIR_OP_IREM.
These correspond to the DXIL SDiv and SRem instructions, for which division by
zero is undefined. Division by zero is also undefined for DXIL UDiv and URem;
addressing those is slightly more involved.
- - - - -
7aa6f4f8 by Henri Verbeet at 2025-10-13T19:00:05+02:00
tests: Replace the test_shader_instructions() "ps_udiv" test with a shader runner test.
- - - - -
433adab6 by Henri Verbeet at 2025-10-13T19:00:05+02:00
vkd3d-shader/glsl: Handle integer operands in shader_glsl_movc().
We don't use these yet, but we're about to.
- - - - -
9de22992 by Henri Verbeet at 2025-10-13T19:00:05+02:00
vkd3d-shader/ir: Handle integer division by zero in vsir_program_lower_udiv().
This achieves two things:
- The GLSL backend no longer needs to handle this by itself. Likwise, the
MSL backend won't have to either.
- We no longer handle division by zero for DXIL UDiv and URem instructions,
which leave this undefined.
- - - - -
5 changed files:
- libs/vkd3d-shader/glsl.c
- libs/vkd3d-shader/ir.c
- libs/vkd3d-shader/spirv.c
- tests/d3d12.c
- tests/hlsl/arithmetic-uint.shader_test
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/dd55b15865be45aed432e9ff5f01…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/dd55b15865be45aed432e9ff5f01…
You're receiving this email because of your account on gitlab.winehq.org.
Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
cfe51e84 by Elizabeth Figura at 2025-10-13T18:51:24+02:00
vkd3d-shader/glsl: Wrap gl_GlobalInvocationID in an uvec4.
Callers to shader_glsl_print_register_name() expect this. In particular, this
fixes translation of instructions such as
store_uav_typed u0.xyzw, vThreadID.xyxx, l(2.00000000e+00)
which is currently translated as the invalid
imageStore(cs_image_0, ivec4(gl_GlobalInvocationID).xy, vec4(uintBitsToFloat(0x40000000u), 0, 0, 0));
- - - - -
dd55b158 by Elizabeth Figura at 2025-10-13T18:55:42+02:00
vkd3d-shader/ir: Implement an initial vsir copy propagation pass.
- - - - -
3 changed files:
- libs/vkd3d-shader/glsl.c
- libs/vkd3d-shader/ir.c
- tests/vkd3d_shader_api.c
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/0bb8272f26c4011d8921f75119e2…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/0bb8272f26c4011d8921f75119e2…
You're receiving this email because of your account on gitlab.winehq.org.
Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
8d8132b2 by Elizabeth Figura at 2025-10-13T18:14:41+02:00
vkd3d-shader/d3dbc: Create vsir descriptor information in the parser.
- - - - -
db41ba55 by Elizabeth Figura at 2025-10-13T18:25:05+02:00
vkd3d-shader/hlsl: Create vsir descriptor info in hlsl_parse().
- - - - -
2be9c880 by Elizabeth Figura at 2025-10-13T18:25:05+02:00
vkd3d-shader: Remove sm1-specific descriptor scanning logic.
- - - - -
937b80f3 by Elizabeth Figura at 2025-10-13T18:40:25+02:00
vkd3d-shader: Remove the no longer used flat_constant_count field from struct vsir_program.
- - - - -
539a5be3 by Elizabeth Figura at 2025-10-13T18:40:44+02:00
vkd3d-shader: Introduce an interface to specify 1.x texture dimensions.
- - - - -
0bb8272f by Elizabeth Figura at 2025-10-13T18:40:52+02:00
vkd3d-shader: Introduce an interface to specify sm1 shadow samplers.
- - - - -
9 changed files:
- include/vkd3d_shader.h
- libs/vkd3d-shader/d3dbc.c
- libs/vkd3d-shader/hlsl.h
- libs/vkd3d-shader/hlsl_codegen.c
- libs/vkd3d-shader/ir.c
- libs/vkd3d-shader/vkd3d_shader_main.c
- libs/vkd3d-shader/vkd3d_shader_private.h
- tests/hlsl/ps1-sampler.shader_test
- tests/shader_runner_vulkan.c
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/781bb10ed086ece8191c5c9d56a5…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/781bb10ed086ece8191c5c9d56a5…
You're receiving this email because of your account on gitlab.winehq.org.
Alexandre Julliard pushed to branch master at wine / wine
Commits:
c78edbc0 by Rémi Bernon at 2025-10-10T18:52:11+02:00
winex11: Move colormap ownership to x11drv_client_surface.
- - - - -
4c6eead9 by Rémi Bernon at 2025-10-10T18:52:11+02:00
winex11: Use the visual depth when creating the client window.
- - - - -
6124fea1 by Rémi Bernon at 2025-10-10T18:52:11+02:00
winex11: Lookup visual from EGL config EGL_NATIVE_VISUAL_ID.
- - - - -
5 changed files:
- dlls/winex11.drv/init.c
- dlls/winex11.drv/opengl.c
- dlls/winex11.drv/vulkan.c
- dlls/winex11.drv/window.c
- dlls/winex11.drv/x11drv.h
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/d8094294627534618f794ed9b4018…
--
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/d8094294627534618f794ed9b4018…
You're receiving this email because of your account on gitlab.winehq.org.