Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
b6ce1479 by Francisco Casas at 2025-04-02T18:06:18+02:00
tests/hlsl: Test vertex shader uniform indirect addressing.
Note that, for indexes with a decimal part, the behavior is different
depending on whether it is a temp load or a direct uniform load (which
can only happen on vertex shaders). The former rounds to the
closest-to-zero, while the latter rounds to the nearest even.
- - - - -
2327f87e by Francisco Casas at 2025-04-02T18:06:48+02:00
tests/hlsl: Test SM1 vertex shader uniform allocation on indirect addressing.
Here, a vertex shader version of the previous test by Shaun is
introduced. Note that in this case the uniform allocates all 4 registers
instead of 3 because it is indirectly addressed.
- - - - -
0e0ed726 by Francisco Casas at 2025-04-02T18:06:48+02:00
vkd3d-shader/d3dbc: Respect "idx_count" when writing registers.
Some SM1 src registers have idx_count = 0, in which case we have to
respect that instead of always reading reg->reg.idx[0].offset even when
it is invalid.
- - - - -
fd02d69d by Francisco Casas at 2025-04-02T18:26:03+02:00
vkd3d-shader/hlsl: Implement indirect addressing for d3dbc target profiles.
- - - - -
f65e6265 by Francisco Casas at 2025-04-02T18:27:16+02:00
vkd3d-shader/ir: Normalise MOVA and d3dbc indirect addressing.
- - - - -
3ead8d53 by Francisco Casas at 2025-04-02T18:27:16+02:00
vkd3d-shader/hlsl: Allow non-constant deref propagation on SM1.
Note that we still have to preempt the propagation to SM1 pixel shader
uniforms. Otherwise this will turn the many constant derefs that appear
from the <index-val> copy generated in lower_index_loads() into a single
non-constant deref, causing it to allocate all the registers instead of
up until the last one used.
- - - - -
5 changed files:
- libs/vkd3d-shader/d3dbc.c
- libs/vkd3d-shader/hlsl_codegen.c
- libs/vkd3d-shader/ir.c
- tests/hlsl/non-const-indexing.shader_test
- tests/hlsl/sm1-const-allocation.shader_test
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/20b76f87bffa5fccb794118a63e3…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/20b76f87bffa5fccb794118a63e3…
You're receiving this email because of your account on gitlab.winehq.org.
Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
227e2cc0 by Elizabeth Figura at 2025-04-02T17:58:18+02:00
vkd3d-shader/hlsl: Use vsir_*_from_hlsl_node() helpers in more places.
- - - - -
856f4b55 by Elizabeth Figura at 2025-04-02T17:58:26+02:00
vkd3d-shader/hlsl: Set the correct index count for sm1 DEPTHOUT.
- - - - -
950f7804 by Elizabeth Figura at 2025-04-02T17:58:26+02:00
vkd3d-shader/hlsl: Initialize the vsir dimension for sm1.
- - - - -
7cb5a7be by Elizabeth Figura at 2025-04-02T17:58:26+02:00
vkd3d-shader/hlsl: Leave the swizzle zero for VSIR_DIMENSION_NONE registers.
- - - - -
20b76f87 by Elizabeth Figura at 2025-04-02T17:58:26+02:00
vkd3d-shader/hlsl: Initialize the temp count for sm1.
- - - - -
1 changed file:
- libs/vkd3d-shader/hlsl_codegen.c
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/110edf32d0b2a2f0a49cdd76c977…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/110edf32d0b2a2f0a49cdd76c977…
You're receiving this email because of your account on gitlab.winehq.org.
Alexandre Julliard pushed to branch master at wine / wine
Commits:
0f6d9bed by Rémi Bernon at 2025-04-01T22:36:07+02:00
winemac: Use the default wglGetPixelFormatAttribivARB implementation.
Populate all the ARB related fields of advertised pixel formats, so that
the default implementation of wglGetPixelFormatAttribivARB (in opengl32)
will be used to get the pixel format attributes.
- - - - -
2d528801 by Rémi Bernon at 2025-04-01T22:36:07+02:00
winemac: Remove the driver wglChoosePixelFormatARB implementation.
The driver uses the default implementation provided by opengl32.dll.
- - - - -
1 changed file:
- dlls/winemac.drv/opengl.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/ed27d411a361776267f0c316fd2a2…
--
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/ed27d411a361776267f0c316fd2a2…
You're receiving this email because of your account on gitlab.winehq.org.
Alexandre Julliard pushed to branch master at wine / wine
Commits:
811a7aae by Brendan McGrath at 2025-04-01T22:36:07+02:00
mfplat/tests: Fix crash in MFShutdown on Windows.
It seems Windows will crash on a subsequent call to MFShutdown if
a local byte/scheme handler is registered outside corresponding calls
to MFStartup/MFShutdown.
- - - - -
ce5aa686 by Brendan McGrath at 2025-04-01T22:36:07+02:00
mfplat/tests: Fix leak of media events.
- - - - -
f6980ad7 by Brendan McGrath at 2025-04-01T22:36:07+02:00
mfplat/tests: Fix leak of media source.
If IMFMediaSource::Shutdown is not called, then the streams are not
released and they continue to hold a reference to the IMFMediaSource, so
the reference count of the source never reaches 0.
- - - - -
bf5eec8a by Brendan McGrath at 2025-04-01T22:36:07+02:00
winegstreamer: Allow NULL for time_format.
Allow the value of pguidTimeFormat to be NULL on a call to
IMFMediaSource::Start. Currently, if NULL is used, Wine crashes with
a SIGSEGV.
MS documentation states:
This parameter can be NULL. If the value is NULL, it is equivalent to GUID_NULL.
https://learn.microsoft.com/en-us/windows/win32/api/mfidl/nf-mfidl-imfmedia…
- - - - -
469984b4 by Brendan McGrath at 2025-04-01T22:36:07+02:00
mfsrcsnk: Allow NULL for time_format.
Allow the value of pguidTimeFormat to be NULL on a call to
IMFMediaSource::Start. Currently, if NULL is used, Wine crashes with
a SIGSEGV.
MS documentation states:
This parameter can be NULL. If the value is NULL, it is equivalent to GUID_NULL.
https://learn.microsoft.com/en-us/windows/win32/api/mfidl/nf-mfidl-imfmedia…
- - - - -
3 changed files:
- dlls/mfplat/tests/mfplat.c
- dlls/mfsrcsnk/media_source.c
- dlls/winegstreamer/media_source.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/fc3f2618849a161b61e905b3239d4…
--
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/fc3f2618849a161b61e905b3239d4…
You're receiving this email because of your account on gitlab.winehq.org.