fix(agc): an all-zero sampled descriptor binds a 1x1 zero texture #293

Closed
MichonGoddijn231849 wants to merge 4 commits from upstream-pr/293 into main
MichonGoddijn231849 commented 2026-10-01 21:58:12 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MichonGoddijn231849 on 2026-10-01T21:58:12Z.


What

Split out of #167. An all-zero sampled descriptor was rejected by DecodeTextureResource, which skipped the draw or dispatch and cost an exception per binding. It now binds a 1×1 zero texture of the shader's image shape, one per device and image shape.

Only an all-zero T# counts as null. That matches RADV's null image view (radv_descriptors.h, memset(dst, 0, size)): its DST_SEL 0 selects 0, so it reads zeros. A descriptor with base 0 and any other field set keeps throwing, because the hardware would fetch from address 0. The stage-A records and the fast revalidation recognise the null texture, so a reused binding stays one.

Tested

Windows 11 Pro, AMD Ryzen 5 7600, NVIDIA GeForce RTX 5080 (driver 32.0.16.1074), 32 GB DDR5-5600, MinGW-w64 GCC 15.2.0.

  • ctest: the new IsNullTextureDescriptor cases (all-zero, short, and base 0 with each other word set) pass, as does everything else that passes on main here.
  • GTA V (PPSA04264) and Demon's Souls (PPSA01342) bound null descriptors every frame, and with the first version of this PR (which also took base-0 descriptors with other fields set) those draws stopped skipping. They have not been re-run with the all-zero rule, so any non-zero null descriptors they use will throw again.
  • Dreaming Sarah (PPSA02929): the title menu rendered as on main with the first version.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt
  • No notes, investigation .md files or images added to the repository
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes. Written with Claude (Anthropic) under my direction; I reviewed and tested it.

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4710119837 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/293). Originally posted by [MichonGoddijn231849](https://github.com/MichonGoddijn231849) on 2026-10-01T21:58:12Z. --- ### What Split out of #167. An all-zero sampled descriptor was rejected by `DecodeTextureResource`, which skipped the draw or dispatch and cost an exception per binding. It now binds a 1×1 zero texture of the shader's image shape, one per device and image shape. Only an all-zero T# counts as null. That matches RADV's null image view (`radv_descriptors.h`, `memset(dst, 0, size)`): its DST_SEL 0 selects 0, so it reads zeros. A descriptor with base 0 and any other field set keeps throwing, because the hardware would fetch from address 0. The stage-A records and the fast revalidation recognise the null texture, so a reused binding stays one. ### Tested Windows 11 Pro, AMD Ryzen 5 7600, NVIDIA GeForce RTX 5080 (driver 32.0.16.1074), 32 GB DDR5-5600, MinGW-w64 GCC 15.2.0. - `ctest`: the new `IsNullTextureDescriptor` cases (all-zero, short, and base 0 with each other word set) pass, as does everything else that passes on `main` here. - GTA V (PPSA04264) and Demon's Souls (PPSA01342) bound null descriptors every frame, and with the first version of this PR (which also took base-0 descriptors with other fields set) those draws stopped skipping. They have not been re-run with the all-zero rule, so any non-zero null descriptors they use will throw again. - Dreaming Sarah (PPSA02929): the title menu rendered as on `main` with the first version. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except technical debt - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in TechnicalDebt - [x] No notes, investigation `.md` files or images added to the repository - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] AI-assisted: yes. Written with Claude (Anthropic) under my direction; I reviewed and tested it. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
oneandonlydean commented 2026-10-04 07:10:02 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-04T07:10:02Z.


@boykopovar this one needs your call: should a sampled T# whose base address is 0 bind a 1x1 zero texture instead of throwing? The PR body says the hardware behaviour is inferred, not documented, so it comes down to how you apply exact-or-throw here.

What backs part of it: RADV writes an all-zero descriptor for a null image view (src/amd/vulkan/radv_descriptors.h:133 at Mesa e5f06878, memset(dst, 0, size)), and an all-zero T# reads zeros because DST_SEL 0 selects 0. But IsNullTextureDescriptor only looks at the 40-bit base, so a descriptor with base 0 and a real type, size and DST_SEL also gets the zero texture, where the hardware would fetch from address 0. My read: I'd accept the all-zero descriptor and keep throwing when any other field is set.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:5977586090 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/293#issuecomment-5977586090). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-04T07:10:02Z. --- @boykopovar this one needs your call: should a sampled T# whose base address is 0 bind a 1x1 zero texture instead of throwing? The PR body says the hardware behaviour is inferred, not documented, so it comes down to how you apply exact-or-throw here. What backs part of it: RADV writes an all-zero descriptor for a null image view (`src/amd/vulkan/radv_descriptors.h:133` at Mesa e5f06878, `memset(dst, 0, size)`), and an all-zero T# reads zeros because DST_SEL 0 selects 0. But `IsNullTextureDescriptor` only looks at the 40-bit base, so a descriptor with base 0 and a real type, size and DST_SEL also gets the zero texture, where the hardware would fetch from address 0. My read: I'd accept the all-zero descriptor and keep throwing when any other field is set.
MichonGoddijn231849 commented 2026-10-04 08:13:36 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MichonGoddijn231849 on 2026-10-04T08:13:36Z.


Agreed, that is the stricter reading of exact-or-throw, and it's the part RADV backs. I'll narrow it: only an all-zero T# binds the 1x1 zero texture, and a descriptor with base 0 and any other field set keeps throwing. I'll add a test for both cases and push it today.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:5978008053 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/293#issuecomment-5978008053). Originally posted by [MichonGoddijn231849](https://github.com/MichonGoddijn231849) on 2026-10-04T08:13:36Z. --- Agreed, that is the stricter reading of exact-or-throw, and it's the part RADV backs. I'll narrow it: only an all-zero T# binds the 1x1 zero texture, and a descriptor with base 0 and any other field set keeps throwing. I'll add a test for both cases and push it today.
MichonGoddijn231849 commented 2026-10-04 08:53:46 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MichonGoddijn231849 on 2026-10-04T08:53:46Z.


Narrowed as discussed in d50ed1ad: only an all-zero T# binds the zero texture. Base 0 with any other field set keeps throwing, and the null texture no longer takes a swizzle. IsNullTextureDescriptor moved next to DecodeTextureResource with a test (all-zero, short, and base 0 with each other word set). I updated the title and description, including that GTA V and Demon's Souls haven't been re-run with the stricter rule.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:5978282618 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/293#issuecomment-5978282618). Originally posted by [MichonGoddijn231849](https://github.com/MichonGoddijn231849) on 2026-10-04T08:53:46Z. --- Narrowed as discussed in d50ed1ad: only an all-zero T# binds the zero texture. Base 0 with any other field set keeps throwing, and the null texture no longer takes a swizzle. `IsNullTextureDescriptor` moved next to `DecodeTextureResource` with a test (all-zero, short, and base 0 with each other word set). I updated the title and description, including that GTA V and Demon's Souls haven't been re-run with the stricter rule.
oneandonlydean commented 2026-10-04 09:51:40 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-04T09:51:40Z.


Thanks, that's the narrowing I meant. Only an all-zero T# takes the null texture now, base 0 with any other word set still throws, and the test covers each word. An all-zero T# has DST_SEL 0 in every channel, which selects 0, so the zero texture with a ZERO swizzle reads the same. Merged with current main it builds and passes the full ctest here, and it's ready to merge from my side after a PPSA21564 run on my integration branch.

@boykopovar, this is now only the all-zero descriptor, as I suggested above. Let me know if you'd rather it kept throwing there too.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:5978688451 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/293#issuecomment-5978688451). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-04T09:51:40Z. --- Thanks, that's the narrowing I meant. Only an all-zero T# takes the null texture now, base 0 with any other word set still throws, and the test covers each word. An all-zero T# has DST_SEL 0 in every channel, which selects 0, so the zero texture with a ZERO swizzle reads the same. Merged with current main it builds and passes the full ctest here, and it's ready to merge from my side after a PPSA21564 run on my integration branch. @boykopovar, this is now only the all-zero descriptor, as I suggested above. Let me know if you'd rather it kept throwing there too.
MichonGoddijn231849 commented 2026-10-05 15:41:11 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MichonGoddijn231849 on 2026-10-05T15:41:11Z.


Rebased onto current main. The only conflict was the null texture next to main's new extended-surface helpers (#490) in ShaderResources.cpp. Both are kept, unchanged. Build and ctest are clean apart from the failures main has locally.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:5997835598 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/293#issuecomment-5997835598). Originally posted by [MichonGoddijn231849](https://github.com/MichonGoddijn231849) on 2026-10-05T15:41:11Z. --- Rebased onto current `main`. The only conflict was the null texture next to `main`'s new extended-surface helpers (#490) in `ShaderResources.cpp`. Both are kept, unchanged. Build and ctest are clean apart from the failures `main` has locally.
adriadam10 commented 2026-10-07 13:40:13 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-07T13:40:13Z.

Review: CHANGES_REQUESTED


Measured an all-zero T# on real RDNA2 (gfx1035) with the HW oracle (tools/hw-oracle), dims 1D/2D/3D/Cube/2DArray: image_sample_lz, image_gather4_lz, image_load and image_get_resinfo all return 0 in every channel. Sample/gather/load match this PR (zero texture + ZERO swizzle). One thing doesn't:

  • image_get_resinfo on a null binding: the PR binds a real 1x1 view with one mip, so the recompiler's OpImageQuerySize[Lod]/OpImageQueryLevels (SpirvImageEmitter.cpp:397-413) give width 1, height 1, levels 1, while the hardware gives 0 for all of them. This matters: Astro's Playroom uses image_get_resinfo in 88 shaders. One direction: a real null descriptor (VK_EXT_robustness2 nullDescriptor, where Vulkan requires reads and size queries to return 0), with the 1x1 texture kept only as a fallback when the feature is missing. In that fallback, resinfo on that binding should either be modelled as 0 or throw.
  • Minor: a null T# paired with a depth-compare sampler (binding.imageDepthCompare) binds the RGBA8 null texture, which lacks SAMPLED_IMAGE_DEPTH_COMPARISON, so that's a Vulkan validation error. Either give the depth-compare case its own depth-format null texture or keep throwing there.
  • Tests: the new checks cover only IsNullTextureDescriptor, and they're in agc_driver_graphics_tests, which isn't registered in ctest, so CI never runs them (that's already true on main). An execution test that binds an all-zero T# and checks sample = 0 and resinfo = 0 would pin the behaviour above and run on CI.

Build and the full ctest pass merged with current main here.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5443171017 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/293#pullrequestreview-5443171017). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-07T13:40:13Z. **Review:** CHANGES_REQUESTED --- Measured an all-zero T# on real RDNA2 (gfx1035) with the HW oracle (`tools/hw-oracle`), dims 1D/2D/3D/Cube/2DArray: `image_sample_lz`, `image_gather4_lz`, `image_load` and `image_get_resinfo` all return 0 in every channel. Sample/gather/load match this PR (zero texture + ZERO swizzle). One thing doesn't: - `image_get_resinfo` on a null binding: the PR binds a real 1x1 view with one mip, so the recompiler's `OpImageQuerySize[Lod]`/`OpImageQueryLevels` (`SpirvImageEmitter.cpp:397-413`) give width 1, height 1, levels 1, while the hardware gives 0 for all of them. This matters: Astro's Playroom uses `image_get_resinfo` in 88 shaders. One direction: a real null descriptor (`VK_EXT_robustness2` `nullDescriptor`, where Vulkan requires reads *and* size queries to return 0), with the 1x1 texture kept only as a fallback when the feature is missing. In that fallback, resinfo on that binding should either be modelled as 0 or throw. - Minor: a null T# paired with a depth-compare sampler (`binding.imageDepthCompare`) binds the RGBA8 null texture, which lacks `SAMPLED_IMAGE_DEPTH_COMPARISON`, so that's a Vulkan validation error. Either give the depth-compare case its own depth-format null texture or keep throwing there. - Tests: the new checks cover only `IsNullTextureDescriptor`, and they're in `agc_driver_graphics_tests`, which isn't registered in ctest, so CI never runs them (that's already true on main). An execution test that binds an all-zero T# and checks sample = 0 and resinfo = 0 would pin the behaviour above and run on CI. Build and the full ctest pass merged with current main here.
MichonGoddijn231849 commented 2026-10-07 17:31:12 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MichonGoddijn231849 on 2026-10-07T17:31:12Z.


Rebased onto current main (now 5d828e33), no conflicts. #1184 (bindless tables up to the device's limit) builds on this one. Working on the review points next.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6043248900 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/293#issuecomment-6043248900). Originally posted by [MichonGoddijn231849](https://github.com/MichonGoddijn231849) on 2026-10-07T17:31:12Z. --- Rebased onto current `main` (now 5d828e33), no conflicts. #1184 (bindless tables up to the device's limit) builds on this one. Working on the review points next.
MichonGoddijn231849 commented 2026-10-07 18:22:22 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MichonGoddijn231849 on 2026-10-07T18:22:22Z.


@adriadam10 thanks for measuring it. Changes in d00dabf8:

  • Where the device has VK_EXT_robustness2 nullDescriptor (enabled when present), an all-zero T# now binds VK_NULL_HANDLE, so image_get_resinfo returns 0 like the hardware. Without the feature it keeps the 1x1 zero texture. There is no per-binding record of size queries to refuse it on, so that fallback's size difference is listed in TechnicalDebt.
  • A null T# in a depth-comparison binding now binds a 32-bit float null texture created for comparison, not the RGBA8 one.
  • New execution test agc_driver_null_texture (tests/execution/NullTexture.cpp, so it runs in ctest). It runs image_sample_lz and image_get_resinfo through an all-zero T#, and expects 0 from both where nullDescriptor is available; otherwise it checks only the sample. With the null handle not written it fails with resinfo 1. It passes on an RTX 5080.

Build and ctest pass. #1184 is rebased on this.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6044137638 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/293#issuecomment-6044137638). Originally posted by [MichonGoddijn231849](https://github.com/MichonGoddijn231849) on 2026-10-07T18:22:22Z. --- @adriadam10 thanks for measuring it. Changes in d00dabf8: - Where the device has `VK_EXT_robustness2` `nullDescriptor` (enabled when present), an all-zero T# now binds `VK_NULL_HANDLE`, so `image_get_resinfo` returns 0 like the hardware. Without the feature it keeps the 1x1 zero texture. There is no per-binding record of size queries to refuse it on, so that fallback's size difference is listed in TechnicalDebt. - A null T# in a depth-comparison binding now binds a 32-bit float null texture created for comparison, not the RGBA8 one. - New execution test `agc_driver_null_texture` (`tests/execution/NullTexture.cpp`, so it runs in ctest). It runs `image_sample_lz` and `image_get_resinfo` through an all-zero T#, and expects 0 from both where `nullDescriptor` is available; otherwise it checks only the sample. With the null handle not written it fails with resinfo 1. It passes on an RTX 5080. Build and ctest pass. #1184 is rebased on this.
adriadam10 commented 2026-10-07 19:59:54 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-07T19:59:54Z.

Review: CHANGES_REQUESTED


Thanks for the quick turnaround. Checked d00dabf8 merged onto current main: build and full ctest pass, and agc_driver_null_texture passes on RADV and on CI's lavapipe (both expose nullDescriptor, so the size check runs). image_get_resinfo = 0 on a null descriptor is also what the Vulkan CTS requires (vktRobustnessExtsTests.cpp, textureSize/textureQueryLevels on a null descriptor), so it holds on any conformant driver.

Also measured image_sample_c_lz with an all-zero T# on RDNA2 (gfx1035, tools/hw-oracle): 0 in every channel for compare funcs ALWAYS/GREATER/LESS, dims 1D/2D/Cube/2DArray. One thing doesn't match:

  • Fallback without nullDescriptor, depth-comparison binding (ShaderResources.cpp nullTexture(..., depthCompare=true)): I ran your test with image_sample_lz replaced by image_sample_c_lz (ref 1.0, sampler compare func ALWAYS) and forced nullDescriptor off. RADV returns 1.0, the hardware returns 0. The ZERO swizzle doesn't reach the comparison result, so the D32 zero texture gives whatever the compare func says. With nullDescriptor on, the same test gives 0 (RADV and lavapipe), so only the fallback is wrong. Since there's no texture content that makes every compare func return 0, I'd suggest the fallback keep throwing for comparison bindings (as on main), and the TechnicalDebt line say so.
  • Neither the comparison path nor the fallback is covered by a test right now. A image_sample_c_lz case in NullTexture.cpp (expecting 0 with the device's nullDescriptor) would pin the comparison path. Encoding I used, for reference: v_mov_b32 v1, 1.0 then image_sample_c_lz v[8:11], v[1:3], s[4:11], s[12:15] dmask:0xf dim:SQ_RSRC_IMG_2D (0x7e0202f2, ..., 0xf0bc0f08, 0x00610801), and | (7u << 12u) in userData[12].
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5447638606 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/293#pullrequestreview-5447638606). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-07T19:59:54Z. **Review:** CHANGES_REQUESTED --- Thanks for the quick turnaround. Checked d00dabf8 merged onto current main: build and full ctest pass, and `agc_driver_null_texture` passes on RADV and on CI's lavapipe (both expose `nullDescriptor`, so the size check runs). `image_get_resinfo` = 0 on a null descriptor is also what the Vulkan CTS requires (`vktRobustnessExtsTests.cpp`, textureSize/textureQueryLevels on a null descriptor), so it holds on any conformant driver. Also measured `image_sample_c_lz` with an all-zero T# on RDNA2 (gfx1035, `tools/hw-oracle`): 0 in every channel for compare funcs ALWAYS/GREATER/LESS, dims 1D/2D/Cube/2DArray. One thing doesn't match: - Fallback without `nullDescriptor`, depth-comparison binding (`ShaderResources.cpp` `nullTexture(..., depthCompare=true)`): I ran your test with `image_sample_lz` replaced by `image_sample_c_lz` (ref 1.0, sampler compare func ALWAYS) and forced `nullDescriptor` off. RADV returns **1.0**, the hardware returns 0. The ZERO swizzle doesn't reach the comparison result, so the D32 zero texture gives whatever the compare func says. With `nullDescriptor` on, the same test gives 0 (RADV and lavapipe), so only the fallback is wrong. Since there's no texture content that makes every compare func return 0, I'd suggest the fallback keep throwing for comparison bindings (as on `main`), and the TechnicalDebt line say so. - Neither the comparison path nor the fallback is covered by a test right now. A `image_sample_c_lz` case in `NullTexture.cpp` (expecting 0 with the device's `nullDescriptor`) would pin the comparison path. Encoding I used, for reference: `v_mov_b32 v1, 1.0` then `image_sample_c_lz v[8:11], v[1:3], s[4:11], s[12:15] dmask:0xf dim:SQ_RSRC_IMG_2D` (`0x7e0202f2, ..., 0xf0bc0f08, 0x00610801`), and `| (7u << 12u)` in `userData[12]`.
MichonGoddijn231849 commented 2026-10-08 15:56:37 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MichonGoddijn231849 on 2026-10-08T15:56:37Z.


Thanks for measuring the comparison case. Rebased onto main and updated:

  • Without nullDescriptor, an all-zero T# bound by a depth-comparison sampler now throws again (as on main), with the descriptor dwords in the message. The D32 stand-in is gone. Sample, gather and load in the fallback still bind the 1x1 zero texture; with nullDescriptor, comparisons bind the null descriptor as before.
  • NullTexture.cpp adds an image_sample_c_lz case (ref 1.0, compare ALWAYS) that expects 0 with nullDescriptor, and a new ctest agc_driver_null_texture_fallback runs the same test with APS5_NO_NULL_DESCRIPTOR=1 and expects the throw for the comparison and 0 for the plain sample. Against the previous version the fallback test fails with the 1.0 read you saw.
  • TechnicalDebt.md records the fallback comparison throw and, as before, the fallback image_get_resinfo deviation.
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6063827127 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/293#issuecomment-6063827127). Originally posted by [MichonGoddijn231849](https://github.com/MichonGoddijn231849) on 2026-10-08T15:56:37Z. --- Thanks for measuring the comparison case. Rebased onto main and updated: - Without `nullDescriptor`, an all-zero T# bound by a depth-comparison sampler now throws again (as on `main`), with the descriptor dwords in the message. The D32 stand-in is gone. Sample, gather and load in the fallback still bind the 1x1 zero texture; with `nullDescriptor`, comparisons bind the null descriptor as before. - `NullTexture.cpp` adds an `image_sample_c_lz` case (ref 1.0, compare ALWAYS) that expects 0 with `nullDescriptor`, and a new ctest `agc_driver_null_texture_fallback` runs the same test with `APS5_NO_NULL_DESCRIPTOR=1` and expects the throw for the comparison and 0 for the plain sample. Against the previous version the fallback test fails with the 1.0 read you saw. - TechnicalDebt.md records the fallback comparison throw and, as before, the fallback `image_get_resinfo` deviation.
MichonGoddijn231849 commented 2026-10-09 08:31:59 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MichonGoddijn231849 on 2026-10-09T08:31:59Z.


Closing: superseded by #639. The runtime ABI requires robustness2 null descriptors, so an all-zero sampled descriptor now binds as a null descriptor and reads zeros, which is what this PR did with a 1x1 zero texture.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6077376107 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/293#issuecomment-6077376107). Originally posted by [MichonGoddijn231849](https://github.com/MichonGoddijn231849) on 2026-10-09T08:31:59Z. --- Closing: superseded by #639. The runtime ABI requires robustness2 null descriptors, so an all-zero sampled descriptor now binds as a null descriptor and reads zeros, which is what this PR did with a 1x1 zero texture.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!293
No description provided.