[Git][wine/vkd3d][master] 6 commits: vkd3d-shader/hlsl: Clone the entry point body and redirect processing to the clone.
Henri Verbeet pushed to branch master at wine / vkd3d Commits: f420e25f by Anna (navi) Figueiredo Gomes at 2025-07-23T15:54:52+02:00 vkd3d-shader/hlsl: Clone the entry point body and redirect processing to the clone. - - - - - 844f3302 by Francisco Casas at 2025-07-23T16:31:59+02:00 vkd3d-shader/hlsl: Dump processed function bodies. - - - - - 66895e26 by Anna (navi) Figueiredo Gomes at 2025-07-23T16:32:34+02:00 vkd3d-shader/hlsl: Reset "extern_vars" before processing "entry_func" in hlsl_emit_bytecode(). - - - - - f4d95af9 by Anna (navi) Figueiredo Gomes at 2025-07-23T16:33:35+02:00 vkd3d-shader/hlsl: Add temporary variables to "dummy_scope" in prepend_uniform_copy(). These are not looked up by name, so we don't need them in a specific scope. Moreover, since we generate the temporaries using the same storage modifiers as the uniforms, hlsl_emit_bytecode() will treat them as new uniforms if run multiple times. That function is currently only run once, but this will change when compiling shaders in effects. - - - - - db80f09c by Anna (navi) Figueiredo Gomes at 2025-07-23T16:37:54+02:00 vkd3d-shader/hlsl: Don't create a temporary copy for a uniform if one already exists. This can currently never happen, because we only ever process each uniform once. However, this will change once we support compiling multiple shaders in effects. - - - - - a7266284 by Anna (navi) Figueiredo Gomes at 2025-07-23T16:56:06+02:00 vkd3d-shader/hlsl: Move hlsl_ir_function_decl->extern_vars to a local variable. - - - - - 3 changed files: - libs/vkd3d-shader/hlsl.c - libs/vkd3d-shader/hlsl.h - libs/vkd3d-shader/hlsl_codegen.c View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/68cd72c7fc7a364ecce87a19617ac... -- View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/68cd72c7fc7a364ecce87a19617ac... You're receiving this email because of your account on gitlab.winehq.org.
participants (1)
-
Henri Verbeet (@hverbeet)