AGC tests: native depth fixture reuses command buffers without pool reset permission #7311
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?
Imported from boykopovar/AnyPS5. Originally posted by Amoenus on 2026-10-17T22:47:57Z.
Reproduction
On unchanged main
b4f05ab328fac5a9c1c458398e55f7ab3bfe8508, the native-depth clear/refusal fixtures pass their assertions but emitVUID-vkBeginCommandBuffer-commandBuffer-00050with Khronos validation enabled. The fixture source is unchanged in current main55f82fee838c9895dd19ae8a997cbc935ef566e1.The local
Deviceintests/execution/NativeMultisampleDepth.cppcreates its command pool with zero flags. Its recorder reuses command buffers. The Vulkan begin-command-buffer rule requires a reset-capable pool for that implicit reset.After the normal test-enabled Release build:
Loading the layer is verified in the output; merely setting
VK_INSTANCE_LAYERSwithout an available layer is insufficient.Observed and proposed correction
Windows 11 Enterprise26200, WinLibs GCC15.2r7, Khronos validation1.4.363:
Focused fork commit96394a24d sets
pool.flags = VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BITin that test device. It changes one test line and no production library. The selected target rebuilds, both numerical/refusal groups still pass, and the validation errors disappear on both GPUs. This is fixture validation, not a newly observed game defect or performance claim; no Linux validation-layer result is available.Found while independently retesting #7233. The same warning is reproduced without that PR, so it is not attributed to its HTILE completion changes. Its real BDA callback-positive test has no such warnings. Exact before/after logs are retained locally; the excerpt above omits machine-specific handles.
Duplicate searches for the VUID, native-depth pool and command-pool reset found no existing matching report. Resolved upstream by #7312, which cites the physical-GPU results in this report; no duplicate PR is being prepared. AI-assisted: Codex; author responsible.