This is the last thing needed to support non-constant offset dereferences in SM4.
It allows to perform relative addressing on temps.
Besides this, I have additional patches for relative addressing on uniforms, and input and output semantics, but these may not be useful for now, since we copy all these variables into temps instead of using them directly.
--
v3: vkd3d-shader/tpf: Support relative addressing for indexable temps in SM4.
vkd3d-shader/tpf: Move sm4_register_from_node() up.
vkd3d-shader/tpf: Support writing relative addressing indexes.
vkd3d-shader/tpf: Write register index addressing.
vkd3d-shader/tpf: Encode dst and src registers using the same function.
tests: Test relative addressing.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/435
This is the last thing needed to support non-constant offset dereferences in SM4.
It allows to perform relative addressing on temps.
Besides this, I have additional patches for relative addressing on uniforms, and input and output semantics, but these may not be useful for now, since we copy all these variables into temps instead of using them directly.
--
v2: vkd3d-shader/tpf: Support relative addressing for indexable temps in SM4.
vkd3d-shader/tpf: Move sm4_register_from_node() up.
vkd3d-shader/tpf: Support writing relative addressing indexes.
vkd3d-shader/tpf: Write register index addressing.
vkd3d-shader/tpf: Encode dst and src registers using the same function.
tests: Test relative addressing.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/435
On Fri Nov 3 00:13:06 2023 +0000, Etaash Mathamsetty wrote:
> yeah the ms edge installer doesn't work yet, this is just a stub fixing
> it partially and letting it progress further.
Thank you for confirming. Do you know any temporary workarounds by any chance? After 30 minutes the intaller eventually gave up with the error: `Installation Failed with error code Redist_MSWebView2_Standalone:-2147219196`.
I don't think that the developers would agree to make it opt-in neither, it seems to be an integral part of their application now.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/3724#note_50745
When changing some sprintf calls to snprintf, I realized there are many cases that would be simplified by using asprintf instead. It's been present in glibc since the 90s, the BSDs/macOS for almost as long, and Solaris since 'Solaris 10 8/2011'.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/4261