Repository navigation
fix(kyty): ignore exemplar skip_degamma for image heap specializations - #346
Conversation
|
Please remove |
|
Removed \PASS_REGULAR_EXPRESSION\ from \kyty_shim_image_heap_variant_key\ in \KytyShim/tests/CMakeLists.txt\ so the test exit code gates pass/fail directly. |
|
Thanks for the update. The current diff confirms that |
simnJS
left a comment
There was a problem hiding this comment.
Reviewed the updated test registration. The integration checks passed on the exact candidate for the current target branch.
What
Ignore exemplar
skip_degammaonimage.heapchildren inBuildResourceSpecialization(ResourceMaterialization.cpp):image.heap == true), neither the SPIR-V emitter (spirvEmitterImage.cpp, wheresrgb_decoderequiresindirect_root == NoIndirectImage) nor descriptor binding (descriptors.cpp, which skipsresource.heap) readsResourceSpecialization::Image::skip_degamma.!table_heap && Prospero::IsSrgbFormat(format) && SamplerSkipsDegamma(...)wrote the first-seen exemplar T#'s sRGB bit fromview.kindsintospecialization.images[child].skip_degamma, causing identical shaders to produce differentResourceSpecializationkeys across sessions depending on texture streaming order.!table_heapto!image.heapkeepsskip_degammafor direct sampled images while making image heap specializations independent of exemplar sRGB vs UNorm order.kyty_shim_image_heap_variant_key(KytyShim/tests/ImageHeapVariantKey.cpp).Tested
NVIDIA GeForce RTX 3070:python tools/check_conventions.py --base origin/AnyKytypassed.python tools/check_kyty_settings.pypassed.ctest --test-dir build -R "^(kyty_shim_image_heap_variant_key|kyty_shim_empty_buffer_replay|kyty_shim_generic_compute_replay|kyty_shim_buffer_cache_pages)$" --output-on-failurepassed 4/4.ANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1,VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation,VK_LOADER_DEBUG=layer) passed withInsert instance layer "VK_LAYER_KHRONOS_validation"confirmed and 0 newVUID-errors vsorigin/AnyKytybaseline.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)