fix(shader): qualify SRT memory flags template #6306
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/6306"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-15T10:36:55Z.
What
Qualify the dependent
Flags<MemoryFlags>()member-template call in SRT descriptor evaluation. GCC 12 otherwise rejects this expression while compilingSrtDescriptorEvaluation.cpp.Tested
Linux x86-64, GCC 12.2.0, Release: built
agc_shader_memory_tests; ran the test executable and the five CTest casesagc_shader_frontend_pair,agc_shader_frontend_pair_off,agc_shader_layout_pair,agc_shader_layout_pair_off, andagc_shader_memory. All passed. No GPU was used.Checklist
main; no other open PR implements the same change.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-15T11:21:01Z.
I independently applied this exact
templatequalifier in an isolated worktree to get past GCC 12.2 parsingFlags<MemoryFlags>(). The fullagc_driver_image_table_reuse_teststarget then built and linked successfully (241 remaining Ninja steps). I could not execute the binary here: AnyPS5 exits at its host CPU guard because this container exposes an Intel Xeon E5-1620 v2 without the required AVX2/BMI features, before Vulkan initialization. The temporary edit and build outputs were removed afterward.Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T12:18:23Z.
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
core/shader/recompiler/Optimization/src/SrtWalker/SrtDescriptorEvaluation.cppcore/shader/recompiler/Optimization/src/SrtWalker/SrtDescriptorEvaluation.cppcore/shader/recompiler/Optimization/src/SrtWalker/SrtDescriptorEvaluation.cpp