shader: accept GLC and DLC cache flags on direct read-only image ops #3244
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows#3244
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@legacy-code-archaeologist on GitHub · 2026-11-28 01:25 UTC · original
DirectCompute::image_io()(src/gfx1013_direct_compute.inl) currently refuses all0x3e0c0uMIMG word 0 bits with"direct image opcode or descriptor modifiers"(Rank 8 in #3226: 54 shaders, 233,735 dispatches).In GFX10 MIMG word 0, bit 13 (
0x2000,GLC) and bit 7 (0x0080,DLC) — alongside bit 25 (SLC, already outside the mask) — are cache-policy hints that do not change read-only texel fetch/sample/gather/dimension results. AcceptingGLCandDLCon read-only image ops (image_load*,image_sample*,image_gather4*,image_getlod,image_getresinfo) while keepingimage_store*,image_atomic_*,R128(0x8000),TFE(0x10000),LWE(0x20000), and reserved bits (0x4040/ word 10x3c000000) refused increases direct Compute and Pixel DXIL coverage.Refs #2935
Refs #3226
AI-assisted.