On Tue May 9 23:40:28 2023 +0000, Paul Gofman wrote:
> Did you check the return value on Windows, do they match? I don't know
> how the actual non-zero values a estimated, but probably most
> interesting things if on such a machine EfficiencyClass is zero for
> performance cores (like in the patch) or maybe non-zero as well.
I don't have an Intel Hybrid Architecture CPU that I can personally test with, but I did ask someone in the Linux Gaming Dev Discord to test <https://github.com/doitsujin/dxvk/tree/thread-affinity> with this MR and it gave the same result as on Windows.
<https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-processo…> tells us that on non-hybrid CPUs the EfficiencyClass member is zero, and I found here <https://github.com/giampaolo/psutil/issues/2034> that for hybrid CPUs the EfficiencyClass is 1 for performance cores and 0 for efficiency cores. So this patch should match that exactly.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/2710#note_32392
Prior to 98d209752cee9abd8dc31dfe1f28811066b0b83f, the base type format
wasn't inserted twice in stream format description.
An application (Idol Showdown) fails to play its intro video when the
base type format is duplicated.
Signed-off-by: Eric Pouech <epouech(a)codeweavers.com>
--
v2: winestreamer: Fix type.
https://gitlab.winehq.org/wine/wine/-/merge_requests/2771
Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com>
--
v4: tests: Add a test for writing to RWBuffer.
tests: Add support for specifing UAV buffers.
vkd3d-shader/hlsl: Improve UAV format type checking for buffer types.
vkd3d-shader/hlsl: Add support for writing RWStructuredBuffer declarations.
vkd3d-shader/hlsl: Add support for RWBuffer object.
vkd3d-shader: Fix dcl_uav_typed_* formatting.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/193
From what I can tell, the recent work on SampleBias/SampleLevel did all of the work for us, we just need to take the same framework and include the case for the `sample_l` instruction.
Tested with some shaders from the native Linux version of Little Racers STREET.
--
v12: vkd3d-shader/tpf: For sample_l/sample_b, set lod swizzle to SCALAR.
vkd3d-shader/tpf: Add support for emitting sample_l instructions
vkd3d-shader/hlsl: Add support for SampleGrad() method
tests: Add a test for SampleGrad() method
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/188