instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
KhronosGroup__Vulkan-ValidationLayers__11613
KhronosGroup/Vulkan-ValidationLayers
11,613
defect
f96cf2688603695cb7fb4cf1e9a425fff71c3e2a
29aee2bff366d5a04b43c8755d736718293dcfb0
GPU-AV Redoing EntryPoints
closes https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/11475 3 commits doing 3 things 1. Functions are just a list of structs, not unique_ptr as we never need to worry about dangling pointers for the function list 2. Rework the entry point and checking which functions are ever touched (so not to d...
diff --git a/layers/gpuav/instrumentation/gpuav_shader_instrumentor.cpp b/layers/gpuav/instrumentation/gpuav_shader_instrumentor.cpp index 5728d9c5c39..8e75ebd67f4 100644 --- a/layers/gpuav/instrumentation/gpuav_shader_instrumentor.cpp +++ b/layers/gpuav/instrumentation/gpuav_shader_instrumentor.cpp @@ -1706,11 +1706,6...
4
4
0
[{"id": "G0", "claim": "The new comment in function_basic_block.h misspells 'therefore' as 'therefor'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The comment above functions_.reserve(8) is misleading: it implies functions_ already holds elemen...
null
KhronosGroup__Vulkan-ValidationLayers__11656
KhronosGroup/Vulkan-ValidationLayers
11,656
defect
7f4f47f0078801df14dd26ed825bedd35c9324a8
01cb39fb584f713bb25e1b22f0565c75c8aa34b3
Make gpuav work with descriptor heap
Closes #11640
diff --git a/layers/gpuav/core/gpuav_setup.cpp b/layers/gpuav/core/gpuav_setup.cpp index 74973f37406..3cc726ca16e 100644 --- a/layers/gpuav/core/gpuav_setup.cpp +++ b/layers/gpuav/core/gpuav_setup.cpp @@ -267,6 +267,9 @@ void Validator::FinishDeviceSetup(const VkDeviceCreateInfo *pCreateInfo, const L VkBufferC...
3
3
0
[{"id": "G0", "claim": "UpdateInstrumentationDescHeap should take a struct with appropriately named members instead of a std::array<uint32_t, 2> of dynamic offsets, for clarity and ease of use.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The descripto...
null
KhronosGroup__Vulkan-ValidationLayers__11682
KhronosGroup/Vulkan-ValidationLayers
11,682
defect
4f96a53b647b213dd5ca575c500a13e8e5e41ccb
2dbbfe2c0aef3b22acfa209b613315d4d7d58bcd
layers: Batch leaking object message
closes https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/11675 now prints a single error message printing all the objects together (stopped at 64, the app I tested with leaked 14,000 objects and its just too much text IMO after about 50-ish)
diff --git a/layers/object_tracker/object_lifetime_validation.cpp b/layers/object_tracker/object_lifetime_validation.cpp index 757d3093418..055206c9880 100644 --- a/layers/object_tracker/object_lifetime_validation.cpp +++ b/layers/object_tracker/object_lifetime_validation.cpp @@ -612,10 +612,7 @@ void Device::CreateSwa...
1
1
0
[{"id": "G0", "claim": "The new batched leaked-object report should respect enable_message_limit and/or duplicate_message_limit instead of capping at a hardcoded 64 objects.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
KhronosGroup__Vulkan-ValidationLayers__11713
KhronosGroup/Vulkan-ValidationLayers
11,713
defect
8166b45f45f15eab64e73480de22fd3004480215
1e31fc0f2c2e6ce3dc5014e853c9cea24f246cd3
layers: Add checks and tests for VU 9941 - WIP
This is very specific for datagraphs defined with TOSA in a spirv program. The unit test does NOT create a negative case; it is a positive test for testing and needs to be modified.
diff --git a/layers/core_checks/cc_data_graph.cpp b/layers/core_checks/cc_data_graph.cpp index a9383db9fe5..e35f8df8f6e 100644 --- a/layers/core_checks/cc_data_graph.cpp +++ b/layers/core_checks/cc_data_graph.cpp @@ -409,5 +409,7 @@ bool CoreChecks::PreCallValidateCmdDispatchDataGraphARM(VkCommandBuffer commandB ...
8
7
2
[{"id": "G0", "claim": "The tosa_001000_1_id_ member copied from the GLSL handling is not really used in the sanitizer pass and should be removed from that code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Collecting TOSA 1.0 instructions is ...
null
KhronosGroup__Vulkan-ValidationLayers__11733
KhronosGroup/Vulkan-ValidationLayers
11,733
defect
db53dbefb94d8b7e1a0def6bc8022c2c080aef00
3c6a076335752de74b226f83e23cf0a3e65d57c7
Track device address ranges
Closes #11689
diff --git a/layers/core_checks/cc_cmd_buffer.cpp b/layers/core_checks/cc_cmd_buffer.cpp index a82e37eac65..00cb760dffe 100644 --- a/layers/core_checks/cc_cmd_buffer.cpp +++ b/layers/core_checks/cc_cmd_buffer.cpp @@ -121,13 +121,17 @@ bool CoreChecks::ReportInvalidCommandBuffer(const vvl::CommandBuffer &cb_state, ...
6
6
2
[{"id": "G0", "claim": "The device-address invalidation message lacks the size/usage information and may be misleading when a valid VkBuffer without the required usage bits still exists for that address.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Buf...
null
KhronosGroup__Vulkan-ValidationLayers__11734
KhronosGroup/Vulkan-ValidationLayers
11,734
defect
db53dbefb94d8b7e1a0def6bc8022c2c080aef00
44ea5772c4e68cfd6ff765c333053121c1f1ac1f
sync: Fix detection of stencil writeability
Addresses https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/11731
diff --git a/layers/sync/sync_renderpass.cpp b/layers/sync/sync_renderpass.cpp index b4e83c3b48f..b820c975f4e 100644 --- a/layers/sync/sync_renderpass.cpp +++ b/layers/sync/sync_renderpass.cpp @@ -365,17 +365,37 @@ bool RenderPassAccessContext::ValidateStoreOperation(const CommandBufferAccessCo return skip; } -...
1
1
0
[{"id": "G0", "claim": "The stencil writeability check could be more precise by also considering compareOp, since e.g. with compareOp=NEVER passOp cannot run and with compareOp=ALWAYS failOp cannot run.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
KhronosGroup__Vulkan-ValidationLayers__11752
KhronosGroup/Vulkan-ValidationLayers
11,752
defect
adefaba750d5f04ef95553400489e9ff9bcbfb88
f76b32e876a55b2a73ff4a0eb9873529dc58847a
gpuav: Add full native Spec Constant support
closes https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/11747 (in prep for replacing in https://github.com/KhronosGroup/Vulkan-ValidationLayers/pull/11717) Adds (for GPU-AV only currently) our own way to do `spirv-opt`'s constant folding The main 2 reasons for all this works 1. Will be faster tha...
diff --git a/BUILD.gn b/BUILD.gn index 385c431fbd8..b3e1005c68b 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -264,6 +264,7 @@ vvl_sources = [ "layers/gpuav/spirv/debug_printf_pass.h", "layers/gpuav/spirv/type_manager.cpp", "layers/gpuav/spirv/type_manager.h", + "layers/gpuav/spirv/spec_constant.cpp", "layers/la...
1
1
0
[{"id": "G0", "claim": "The reinterpret_cast of pData (a void pointer) to const uint8_t* should be a static_cast, which the reviewer says avoids the UB risk reinterpret_cast carries in the general case.", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
KhronosGroup__Vulkan-ValidationLayers__11826
KhronosGroup/Vulkan-ValidationLayers
11,826
defect
40ab384d2fe3923e8a2033837c196afce0250173
7ea1abcd1c67662a2b0d009802306b782640c4ec
Validate DGC with heap
Closes #11815
diff --git a/layers/core_checks/cc_device_generated_commands.cpp b/layers/core_checks/cc_device_generated_commands.cpp index 94b173426b3..2f13c3ee1f8 100644 --- a/layers/core_checks/cc_device_generated_commands.cpp +++ b/layers/core_checks/cc_device_generated_commands.cpp @@ -465,6 +465,50 @@ bool CoreChecks::ValidateG...
2
2
0
[{"id": "G0", "claim": "IndirectExecutionSet does not need to keep a vector of all its pipelines (a bool has_heap_pipeline, or just checking initial_pipeline, would do), because VUID-vkUpdateIndirectExecutionSetPipelineEXT-initialPipeline-11324 means the set cannot mix heap and non-heap pipelines.", "category": "design...
null
KhronosGroup__Vulkan-ValidationLayers__11877
KhronosGroup/Vulkan-ValidationLayers
11,877
defect
730c631d9a4eec4a38a63831933fb9035197e9e5
c8450b10f7ec8d3e1de24cb6e73f82bf7ba44348
gpuav: Fix debugprintf in callback functions
I noticed debugprintf wasn't working from coopmat2 callback functions, because they weren't being considered reachable. I generated this change using AI, but I've reviewed it.
diff --git a/layers/gpuav/spirv/module.cpp b/layers/gpuav/spirv/module.cpp index ea9ecd5fb3e..d6b51d97dbe 100644 --- a/layers/gpuav/spirv/module.cpp +++ b/layers/gpuav/spirv/module.cpp @@ -253,6 +253,33 @@ Module::Module(vvl::span<const uint32_t> words, DebugReport* debug_report, const function_call_map[cu...
6
5
1
[{"id": "G0", "claim": "The api_version parameter added to InitDebugPrintfFramework is unnecessary; the helper should use SetTargetApiVersion(VK_API_VERSION_1_3) at the call site and InitDebugPrintfFramework() should keep no api version parameter, since the maximum of the two set versions is used.", "category": "design...
null
KhronosGroup__Vulkan-ValidationLayers__11917
KhronosGroup/Vulkan-ValidationLayers
11,917
defect
437486edaa0b4edc23efebd7a0688591f33d5ee3
dcbe7728a413c0d74e509925b9c1be57fe0bd4ca
layers: Add special UntypedPointer Capability check
From https://gitlab.khronos.org/vulkan/vulkan/-/issues/4666
diff --git a/layers/stateless/sl_spirv.cpp b/layers/stateless/sl_spirv.cpp index ee65b694365..c6a73d75ded 100644 --- a/layers/stateless/sl_spirv.cpp +++ b/layers/stateless/sl_spirv.cpp @@ -19,6 +19,7 @@ */ #include "sl_spirv.h" +#include "containers/container_utils.h" #include "generated/spirv_grammar_helper.h" ...
1
1
0
[{"id": "G0", "claim": "The new validation error message may not be clear enough that the issue is that the VkPhysicalDeviceShaderUntypedPointersFeaturesKHR::shaderUntypedPointers feature was not enabled, so the wording should make that clearer.", "category": "documentation", "verdict": "supported", "priority": "P2", "...
null
KhronosGroup__Vulkan-ValidationLayers__11934
KhronosGroup/Vulkan-ValidationLayers
11,934
defect
d943d90291d7dd52b2febf45b80001a2c1afbbb8
e7d05be6f5c6f69c0787b3473c3858b252f72d13
Remove invalid gpuav assert
Closes #11932
diff --git a/layers/gpuav/spirv/vertex_attribute_fetch_oob_pass.cpp b/layers/gpuav/spirv/vertex_attribute_fetch_oob_pass.cpp index e2cb663f796..76427717918 100644 --- a/layers/gpuav/spirv/vertex_attribute_fetch_oob_pass.cpp +++ b/layers/gpuav/spirv/vertex_attribute_fetch_oob_pass.cpp @@ -54,9 +54,7 @@ bool VertexAttrib...
2
1
1
[{"id": "G0", "claim": "Determine whether a null variable here is a gap in spirv-val (the GLSL generating garbage) or correct, before dropping the assert that guaranteed the interface id is an OpVariable.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim"...
null
KhronosGroup__Vulkan-ValidationLayers__11950
KhronosGroup/Vulkan-ValidationLayers
11,950
defect
15693db0dfc37a4e843f6208c67f52655613c03f
e73ce6c4bfdca34011e5252ccfbbdf6fcb516a23
layers: Remove FD payload tracking validation
closes https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/11900 In a single PR incase we decide to scrap anything from it later
diff --git a/layers/core_checks/cc_device_memory.cpp b/layers/core_checks/cc_device_memory.cpp index bcd3d1ebad6..448923f01ec 100644 --- a/layers/core_checks/cc_device_memory.cpp +++ b/layers/core_checks/cc_device_memory.cpp @@ -567,82 +567,6 @@ bool CoreChecks::PreCallValidateAllocateMemory(VkDevice device, const VkMe...
1
1
0
[{"id": "G0", "claim": "The explanatory comment the PR adds above the moved VUIDs has spelling/grammar errors and should be rewritten (e.g. 'approuched' on the flagged line).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
KhronosGroup__Vulkan-ValidationLayers__11966
KhronosGroup/Vulkan-ValidationLayers
11,966
defect
adfdda5b665f59aae31acf5c12c73e64a8f89553
de08b0e548b8b40b5e44dd74bb6071f6df036109
layers: Rework AS state tracking
Closes https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/11880 Follow up to addition of 2nd version of AS create info using buffer address ranges instead of VkBuffer @artem-lunarg I touched sync val a bit, goal was to avoid validation if the info it needs happens to no be available (almost never in p...
diff --git a/BUILD.gn b/BUILD.gn index be4e9b152e6..637e2bc4a99 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -313,6 +313,7 @@ vvl_sources = [ "layers/state_tracker/query_state.h", "layers/state_tracker/queue_state.cpp", "layers/state_tracker/queue_state.h", + "layers/state_tracker/ray_tracing_state.cpp", "layer...
3
3
1
[{"id": "G0", "claim": "The early return when no buffer backs the acceleration structure should be removed, because it lets real host-visible-memory validation errors pass silently instead of catching anything in a real app.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ...
null
KhronosGroup__Vulkan-ValidationLayers__11969
KhronosGroup/Vulkan-ValidationLayers
11,969
defect
cac4cbc9f1f1861f11ba3495de6cdfa4f0839f7a
8bc94ab6e85a467e718bfc466877e5196be4ad4d
layers: Rework some RT validation
Following up on changes to AS state tracking, unify how validation is done for VUs checking buffer memory state, independently from how ASes were created.
diff --git a/layers/core_checks/cc_ray_tracing.cpp b/layers/core_checks/cc_ray_tracing.cpp index 4caff069618..2c765d55478 100644 --- a/layers/core_checks/cc_ray_tracing.cpp +++ b/layers/core_checks/cc_ray_tracing.cpp @@ -1437,15 +1437,15 @@ bool CoreChecks::ValidateCopyAccelerationStructureInfoKHR(const VkCopyAccelerat...
4
2
0
[{"id": "G0", "claim": "The new LogError calls for VUID-VkCopyAccelerationStructureInfoKHR-buffer-03718 and -03719 should pass the acceleration-structure handle directly instead of first constructing a single-object LogObjectList, which would be simpler.", "category": "maintainability", "verdict": "supported", "priorit...
null
KhronosGroup__Vulkan-ValidationLayers__11993
KhronosGroup/Vulkan-ValidationLayers
11,993
defect
1de831548129bb36cbebfb842ce65e4ec65eb08b
5c06e97e5a3e86d74049e4e891f769c8331b9970
layers: Revert old swapchain fix
Original PR: https://github.com/KhronosGroup/Vulkan-ValidationLayers/pull/10506 I think that PR was wrong (general rule you can't delete in-use resources). Will redo if I'm wrong. Currently this blocks another fix. Clarification question: https://gitlab.khronos.org/vulkan/vulkan/-/issues/4761 UPDATE: got con...
diff --git a/layers/core_checks/cc_submit.cpp b/layers/core_checks/cc_submit.cpp index 22a158e3173..b86a395056a 100644 --- a/layers/core_checks/cc_submit.cpp +++ b/layers/core_checks/cc_submit.cpp @@ -1,6 +1,6 @@ -/* Copyright (c) 2025 The Khronos Group Inc. - * Copyright (c) 2025 Valve Corporation - * Copyright (c) 20...
1
1
1
[{"id": "G0", "claim": "With the old swapchain fix reverted, the scenario covered by the deleted DestroySwapchainBeforeLayoutValidation test would now be a negative test, so such a negative test should be added (the author agreed to add it in a follow-up PR).", "category": "testing", "verdict": "supported", "priority":...
null
KhronosGroup__Vulkan-ValidationLayers__12037
KhronosGroup/Vulkan-ValidationLayers
12,037
defect
43c9e46626450c38b93d38d8de7c14e2c7a08234
333ff4979bff3ec09cd0f4d02ae3e7a2db0015e5
layers: Validate resolve attachment layout
Closes #11429
diff --git a/layers/core_checks/cc_image_layout.cpp b/layers/core_checks/cc_image_layout.cpp index b97b72ffc28..634a734a918 100644 --- a/layers/core_checks/cc_image_layout.cpp +++ b/layers/core_checks/cc_image_layout.cpp @@ -745,13 +745,16 @@ bool CoreChecks::ValidateFramebufferAndRenderPassLayouts(const vvl::CommandBu...
3
1
0
[{"id": "G0", "claim": "The new resolve attachment layout validation may not cover the VK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID case, where imageView can be VK_NULL_HANDLE.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "ValidateRenderi...
null
KhronosGroup__Vulkan-ValidationLayers__12043
KhronosGroup/Vulkan-ValidationLayers
12,043
defect
59d96e52b8d863a8ed62320c4b6f8751fd32eadc
0b9a89bbfd54e95610f55263f3178321d2ce58c6
gpudump: Add some more extensions
Adds `VK_KHR_copy_memory_indirect` and `VK_EXT_device_generated_commands` to allow for more testing of non-descriptor based GPU centric extensions
diff --git a/BUILD.gn b/BUILD.gn index 6fce3acaa30..17a0a049faa 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -274,7 +274,9 @@ vvl_sources = [ "layers/gpuav/spirv/spec_constant.cpp", "layers/gpu_dump/gpu_dump.h", "layers/gpu_dump/gpu_dump.cpp", + "layers/gpu_dump/gpu_dump_copy_memory_indirect.cpp", "layers/gpu_d...
3
2
0
[{"id": "G0", "claim": "The comment in gpu_dump_device_generated_commands.cpp misspells \"message\" as \"messsage\" and should be fixed to \"message\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The device-generated-commands dump should log ...
null
KhronosGroup__Vulkan-ValidationLayers__12081
KhronosGroup/Vulkan-ValidationLayers
12,081
defect
87d1100f0c9fa688d5149231f6ee325ad803b76b
5cef29f5a96d65f4a870172357684df4c550a154
gpuav: Fix handling of push descriptors
closes https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/11738
diff --git a/BUILD.gn b/BUILD.gn index f53e6c8f966..1e9449dd7ad 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -227,6 +227,7 @@ vvl_sources = [ "layers/gpuav/shaders/validation_cmd/push_data.h", "layers/gpuav/shaders/validation_cmd/build_acceleration_structures.h", "layers/gpuav/shaders/validation_cmd/memcmp.h", + "...
3
2
1
[{"id": "G0", "claim": "BUILD.gn lists the new descriptor_encoding_update.h but the corresponding CMake file does not.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new shader header should instead come from PR #12083 (cross-reference, no concr...
null
KhronosGroup__Vulkan-ValidationLayers__3056
KhronosGroup/Vulkan-ValidationLayers
3,056
defect
2d6e8e4d07e225978658ac5ac18c88ed1d30c235
b93c0cc4ffbf9bc70dac8621d550440028cf426d
Adding vuid 00030
Check if the command buffer used in CmdFillBuffer was allocated from a pool that supported either graphics or compute operations
diff --git a/layers/buffer_validation.cpp b/layers/buffer_validation.cpp index de3c55f5382..97d78c9cf9a 100644 --- a/layers/buffer_validation.cpp +++ b/layers/buffer_validation.cpp @@ -6188,6 +6188,9 @@ bool CoreChecks::PreCallValidateCmdFillBuffer(VkCommandBuffer commandBuffer, VkB size, repo...
2
2
2
[{"id": "G0", "claim": "The new unconditional vkCmdFillBuffer queue-capability check needs an `if (!device_extensions.vk_khr_maintenance1)` guard around it, because with VK_KHR_maintenance1 (core in Vulkan 1.1) vkCmdFillBuffer is allowed on transfer-only queues and the check as written would report a false VUID-vkCmdFi...
null
KhronosGroup__Vulkan-ValidationLayers__3098
KhronosGroup/Vulkan-ValidationLayers
3,098
defect
7dea9e9e08fe97ca7f7f501aa5ff1a4c388268cf
1923c53d855583dafeb1df6a23b23b540369abc2
Adding vuid 01257
srcRect of DisplayPresentInfoKHR must be a subset of the swapchain image being presented
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index f79f0ee9c29..53372a20a53 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -13413,6 +13413,23 @@ bool CoreChecks::PreCallValidateQueuePresentKHR(VkQueue queue, const VkPresentIn } ...
1
1
0
[{"id": "G0", "claim": "The new DisplayPresentInfoSrcRect test should be moved out of tests/vklayertests_others.cpp into the newly created tests/vklayertests_wsi.cpp.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
KhronosGroup__Vulkan-ValidationLayers__3172
KhronosGroup/Vulkan-ValidationLayers
3,172
defect
d1f10bf9701c01ab28186141573f99e20b220315
15bcc076bc2fa81a3ed2d601b93fe6076ff076c2
Adding vuid 01097, Validate SparseMemoryBind memory type
Memory type used in SparseMemoryBind must not have VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT bit
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 9f35077d642..c4f035c464f 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -12867,6 +12867,22 @@ bool CoreChecks::PreCallValidateGetEventStatus(VkDevice device, VkEvent event) c return skip; } +bool CoreChecks::...
2
2
1
[{"id": "G0", "claim": "The inline std::stringstream parameter-name construction added in PreCallValidateQueueBindSparse is the kind of code core_error::Location was made for, though expanding Location beyond sync to cover it is a big TODO and fixing it in this change is not required.", "category": "maintainability", "...
null
KhronosGroup__Vulkan-ValidationLayers__3212
KhronosGroup/Vulkan-ValidationLayers
3,212
defect
1b7bd5773b55c2ec37611c5fdc9e455d76bb8285
76d3c0218d849ee4d64bc9488c0f1ea591f163dc
Validate surface is supported on physical device
Closes #3071
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 65cf52fd88c..524c433a1c7 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -16031,3 +16031,159 @@ bool CoreChecks::PreCallValidateCmdBeginConditionalRenderingEXT( return skip; } + +bool CoreChecks::GetPhysicalDe...
4
3
0
[{"id": "G0", "claim": "The new helper GetPhysicalDeviceSurfaceSupport does not behave like a getter and should be named ValidatePhysicalDeviceSurfaceSupport instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer questions whether ...
null
KhronosGroup__Vulkan-ValidationLayers__3297
KhronosGroup/Vulkan-ValidationLayers
3,297
defect
7cc5784e01d8970ab11569b04ecbb30bda6f52f7
dec8cc4d1d45a8d554042162ad31b5e113431cb6
Add vuid 06372-06373, Validate spirv Workgroup initialization
Closes #3294
diff --git a/layers/core_validation.h b/layers/core_validation.h index 14990300752..1ef4fc365a2 100644 --- a/layers/core_validation.h +++ b/layers/core_validation.h @@ -532,6 +532,7 @@ class CoreChecks : public ValidationStateTracker { VkShaderStageFlagBits stage) const; bool...
3
3
0
[{"id": "G0", "claim": "The PR should either fold these checks into the existing ValidatePropertiesAndFeatures or use smaller, more descriptively named per-check functions (e.g. ValidateWorkgroupInitialization) instead of the generic ValidateRuntimeSpirv.", "category": "maintainability", "verdict": "supported", "priori...
null
KhronosGroup__Vulkan-ValidationLayers__3325
KhronosGroup/Vulkan-ValidationLayers
3,325
defect
306dc4c1010a500784d7b745146afcc9f99202cb
d609b58f32b7a35ded9d5941f102c3a8bc58f6a9
Adding vuid 03381, Validate pipeline library create flags
Pipeline library must be created with VK_PIPELINE_CREATE_LIBRARY_BIT_KHR bit
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 5c3aa49e4df..ccac56f6a27 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -5516,10 +5516,16 @@ bool CoreChecks::PreCallValidateCreateRayTracingPipelinesKHR(VkDevice device, Vk VK_PIPELINE_CREATE_RAY_T...
1
1
0
[{"id": "G0", "claim": "The new ray tracing pipeline tests could be converted to use vk_testing::Pipeline once that class supports ray tracing, presumably in a separate PR.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
KhronosGroup__Vulkan-ValidationLayers__3335
KhronosGroup/Vulkan-ValidationLayers
3,335
defect
52dbd08362270a1f7819a981995916248734df33
115af78129c7d5aa81d8b88f88371d19387b0fdd
Adding vuid 03718 03719, Validate copied acceleration structures are bound to memory
Buffers used in VkAccelerationStructureKHR must be bound to memory when used in copy command
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index d9b05401067..a92c7c6eb54 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -15593,15 +15593,27 @@ bool CoreChecks::ValidateCopyAccelerationStructureInfoKHR(const VkCopyAccelerati api_name);...
1
1
0
[{"id": "G0", "claim": "The new test's invalid_as and valid_as acceleration structure handles will be leaked; the existing vk_testing::AccelerationStructureKHR wrappers should be used instead.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
KhronosGroup__Vulkan-ValidationLayers__3339
KhronosGroup/Vulkan-ValidationLayers
3,339
defect
52dbd08362270a1f7819a981995916248734df33
4163bdd8f40294b9c4e9ef9e4a5177e11aa5af2c
Fix issue 3194, spirv PerVertexNV locations
Closes #3194 Also fixes input/output location blocks and PassthroughNV.
diff --git a/layers/shader_module.cpp b/layers/shader_module.cpp index a5de097de89..90c7ba35a80 100644 --- a/layers/shader_module.cpp +++ b/layers/shader_module.cpp @@ -79,6 +79,9 @@ void decoration_set::add(uint32_t decoration, uint32_t value) { case spv::DecorationNonReadable: flags |= nonreadab...
3
2
0
[{"id": "G0", "claim": "The check `location >= 0` is an unclear way to test whether the interface variable has a location set; it should use a typed sentinel, e.g. change the type of `location` to match `d.location` and check `location != kInvalidValue`.", "category": "maintainability", "verdict": "supported", "priorit...
null
KhronosGroup__Vulkan-ValidationLayers__3411
KhronosGroup/Vulkan-ValidationLayers
3,411
defect
719ae2b0209ef1e0eb9af484fd4bfb83f32d208b
15ed097d6b98d8938292c56e4e146c7a51733ef0
Fix issue 3410, Fix CmdClearAttachment layer count
Closes #3410
diff --git a/layers/buffer_validation.cpp b/layers/buffer_validation.cpp index eeafaf9211f..3f83cb581a0 100644 --- a/layers/buffer_validation.cpp +++ b/layers/buffer_validation.cpp @@ -3359,7 +3359,10 @@ bool CoreChecks::ValidateClearAttachmentExtent(VkCommandBuffer command_buffer, u if (image_view_state) { ...
1
1
0
[{"id": "G0", "claim": "The added code should skip the GetImageState() hash lookup and just use image_view_state->image_state.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
KhronosGroup__Vulkan-ValidationLayers__3454
KhronosGroup/Vulkan-ValidationLayers
3,454
defect
78b1f89454a8a8384453e6ac5b1a4cd9146963c5
43d0c7d45361b47573ae1d2b2207b2e93437431a
Fix issue 3451, validation of multiple pipeline barriers on same image
Closes #3451
diff --git a/layers/buffer_validation.cpp b/layers/buffer_validation.cpp index 1239cf8697d..67d8e180bfe 100644 --- a/layers/buffer_validation.cpp +++ b/layers/buffer_validation.cpp @@ -826,6 +826,7 @@ bool CoreChecks::ValidateBarriersToImages(const Location &outer_loc, const CMD_B // Scoreboard for duplicate layou...
4
4
1
[{"id": "G0", "claim": "The new test should use the Vulkan access mask bit names rather than the magic constants 104 and 0x27.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new code around the UNDEFINED-layout branch in the barrier loop pro...
null
KhronosGroup__Vulkan-ValidationLayers__3821
KhronosGroup/Vulkan-ValidationLayers
3,821
defect
89749bc34ed08444bc79fa645be2a2d8eea001bb
1d800c4bc0a65bd34b8835c6da53ae351aa285f8
layers: Check vector size before access
Got this crash when I was looking at another issue.
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 716a0fe82b8..1cc5aada6ee 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -11431,6 +11431,9 @@ bool CoreChecks::ValidateDependencies(FRAMEBUFFER_STATE const *framebuffer, REND attachments[j].overla...
1
1
1
[{"id": "G0", "claim": "The added bounds guard in ValidateDependencies has an inverted condition: it should be `if (i >= framebuffer->attachments_view_state.size() || j >= framebuffer->attachments_view_state.size()) { continue; }` so the skip happens only when an index is out of range, otherwise the code still indexes ...
null
KhronosGroup__Vulkan-ValidationLayers__3831
KhronosGroup/Vulkan-ValidationLayers
3,831
defect
a131fcaebf147ffc15377320a97f2fb4d9234191
a136e9f1ca0e1da65d0d14d6447b6a0a11f26e89
Update validating attachments and descriptors using same resources
Replace VUID 04584 with 06537, 06538 and 06539 Closes #3798 and closes #3622
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 695f5d5dc63..788a0261842 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -11343,7 +11343,9 @@ static bool FindDependency(const uint32_t index, const uint32_t dependent, const bool CoreChecks::IsImageLayoutReadOnly(Vk...
2
2
1
[{"id": "G0", "claim": "The RenderPassSingleMipTransition test was changed to tolerate (allow to fail with) VUID-vkCmdDraw-None-06538 and aitor-lunarg proposes replacing that workaround by setting the descriptor's subresourceRange to start at mip level 1 (VK_REMAINING_MIP_LEVELS) so the triggered VUID goes away.", "cat...
null
KhronosGroup__Vulkan-ValidationLayers__3833
KhronosGroup/Vulkan-ValidationLayers
3,833
defect
a131fcaebf147ffc15377320a97f2fb4d9234191
6f37a1641a5278b69def364bcae5fe4db3170e11
Fix vkCreateSwapchainKHR imageExtent check
Closes #1340 This PR removes the false positives, by allowing the values from the last `vkGetPhysicalDeviceSurfaceCapabilitiesKHR` call to be valid. A warning is still produced if the extent is not within the bounds of current values returned by `vkGetPhysicalDeviceSurfaceCapabilitiesKHR`.
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 695f5d5dc63..4d56a3f4032 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -15704,14 +15704,35 @@ bool CoreChecks::ValidateCreateSwapchain(const char *func_name, VkSwapchainCreat (pCreateInfo->imageExtent.width...
4
3
1
[{"id": "G0", "claim": "The new warning emitted when imageExtent is outside the bounds returned by the current vkGetPhysicalDeviceSurfaceCapabilitiesKHR() call but inside the last cached ones fires routinely in correct code because the windowing system can resize in between, so it is too noisy and should be dropped fro...
null
KhronosGroup__Vulkan-ValidationLayers__3840
KhronosGroup/Vulkan-ValidationLayers
3,840
defect
90236d99c62c139a73b779f5ac0ded07d1b716a3
f17d5774dfcf20bfdf97244054c4534844530e91
Fix vuid 06183 06184, dynamic rendering with density map and shading rate
Fix for CTS test dEQP-VK.fragment_shading_rate.dynamic_rendering.attachment_rate.setup_with_copying_using_transfer_queue_concurent.r8_uint.rate_1x1
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index b980c0a70c6..5a5e9389d86 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -752,21 +752,27 @@ bool CoreChecks::ValidatePipelineDrawtimeState(const LAST_BOUND_STATE &state, co auto rendering_fragment_shading_r...
1
1
0
[{"id": "G0", "claim": "Use vk_testing::ImageView for the depth-stencil view instead of a raw VkImageView, so the view is destroyed at the end of the test.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
KhronosGroup__Vulkan-ValidationLayers__3914
KhronosGroup/Vulkan-ValidationLayers
3,914
defect
70835ff23b3f513d86fcb918ab8352a8f9ee8c1f
c711887662e55dee604872446db3bf6c170b48cc
Add vuid 06667, Validate dynamic color write enable
Closes #3406 Replaces #3408
diff --git a/layers/cmd_buffer_state.cpp b/layers/cmd_buffer_state.cpp index b1ea14d7a5f..6b1597f56ec 100644 --- a/layers/cmd_buffer_state.cpp +++ b/layers/cmd_buffer_state.cpp @@ -146,6 +146,8 @@ VkDynamicState ConvertToDynamicState(CBStatusFlagBits flag) { return VK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLE...
2
2
1
[{"id": "G0", "claim": "The comparison should be != rather than <, since the number of attachments set by vkCmdSetColorWriteEnableEXT must exactly equal the bound pipeline's VkPipelineColorBlendStateCreateInfo::attachmentCount.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"...
null
KhronosGroup__Vulkan-ValidationLayers__3919
KhronosGroup/Vulkan-ValidationLayers
3,919
defect
70835ff23b3f513d86fcb918ab8352a8f9ee8c1f
d6f7e29053d15fd3975489ebc9874fda55f36a77
Fix invalid queue family index crash
This would crash below when queue family index was used in `pd_state->queue_family_properties[requested_queue_family]`
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 74670973025..be1b881bde3 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -3091,6 +3091,9 @@ bool CoreChecks::ValidateDeviceQueueCreateInfos(const PHYSICAL_DEVICE_STATE *pd_ std::string queue_family_var_name =...
1
1
0
[{"id": "G0", "claim": "A note should be added explaining when the code decides to stop checking for other VUs early (the early continue after the queue-family-index check).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
KhronosGroup__Vulkan-ValidationLayers__3926
KhronosGroup/Vulkan-ValidationLayers
3,926
defect
70835ff23b3f513d86fcb918ab8352a8f9ee8c1f
34379ac7ebbdadecb627aef74864211bb6c5b771
Fix validating image view usage in descriptors
Closes #3924
diff --git a/layers/descriptor_sets.cpp b/layers/descriptor_sets.cpp index 569c0fa1155..e9d6c1f4a89 100644 --- a/layers/descriptor_sets.cpp +++ b/layers/descriptor_sets.cpp @@ -2434,7 +2434,12 @@ bool CoreChecks::ValidateImageUpdate(VkImageView image_view, VkImageLayout image assert(image_node); format = im...
2
1
0
[{"id": "G0", "claim": "Question on the fix: should the usage from VkImageStencilUsageCreateInfo be applied before the usage from VkImageViewUsageCreateInfo, and if so should all image usages be computed first and then masked against the VkImageViewUsageCreateInfo usage?", "category": "design", "verdict": "opposed", "p...
null
KhronosGroup__Vulkan-ValidationLayers__3938
KhronosGroup/Vulkan-ValidationLayers
3,938
defect
fbc48cff34794e2fde792b4e2a223a475a6d25f9
d8e299d4c61cdf1eb2838fb550ca2a40177ff657
Fix issue 3932, Fix read only attachments validation
Image used as framebuffer attachment can be sampled from if it's in a read only layout. Closes #3932
diff --git a/layers/descriptor_sets.cpp b/layers/descriptor_sets.cpp index 569c0fa1155..cc40d54b04e 100644 --- a/layers/descriptor_sets.cpp +++ b/layers/descriptor_sets.cpp @@ -1346,8 +1346,10 @@ bool CoreChecks::ValidateImageDescriptor(const char *caller, const DrawDispatchV } } ...
2
2
0
[{"id": "G0", "claim": "It would be clearer to rename the ds_format variable in the overlap test since it now holds a depth-only format and the name implies depth stencil format.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `writable && !r...
null
KhronosGroup__Vulkan-ValidationLayers__3961
KhronosGroup/Vulkan-ValidationLayers
3,961
defect
9164988e86036b143892242e37f82d67fa621d0a
f0ba45ca849510a6342be2e3bd22a193e9ee23f2
Update messages for shader input/output mismatch
Closes #3959 I don't think we have the names of variables, so I cannot include that in the messages, or any other additional information that would be helpful.
diff --git a/layers/shader_validation.cpp b/layers/shader_validation.cpp index 6c1779150de..5245045b635 100644 --- a/layers/shader_validation.cpp +++ b/layers/shader_validation.cpp @@ -2929,7 +2929,8 @@ bool CoreChecks::ValidateInterfaceBetweenStages(SHADER_MODULE_STATE const *produ // expressed in the m...
1
1
0
[{"id": "G0", "claim": "Asks whether the new test needs to set the API version to 1.1 (the SetTargetApiVersion(VK_API_VERSION_1_1) call may be unnecessary).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
KhronosGroup__Vulkan-ValidationLayers__4018
KhronosGroup/Vulkan-ValidationLayers
4,018
defect
7d7d72aa0e51cdf46534f9cd2948f4c2e15d3190
888b99ba67d083d36b22cb40723956de81f21980
Add vuid 06379, Validate subgroup uniform control flow execution mode
Closes #3296
diff --git a/layers/device_state.h b/layers/device_state.h index 4be90896aad..f534547f747 100644 --- a/layers/device_state.h +++ b/layers/device_state.h @@ -92,6 +92,7 @@ struct DeviceFeatures { VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT primitives_generated_query_features; VkPhysicalDeviceImage2DVie...
6
6
0
[{"id": "G0", "claim": "The error message should read \"must not use\" (or \"must not have used\") rather than the ungrammatical \"must not used\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The error message should also print out what support...
null
KhronosGroup__Vulkan-ValidationLayers__4062
KhronosGroup/Vulkan-ValidationLayers
4,062
defect
616ab50b44db17e7caea5af8930a037fc6469af0
9257868dcff5e4e399edb2cf61e0568d50848280
layers: Fix checking enabled multiview feature
Closes #4061
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 12530d039cb..6a29ac9935b 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -12970,7 +12970,7 @@ bool CoreChecks::ValidateCreateRenderPass(VkDevice device, RenderPassCreateVersi const VkSubpassDescription2 &subp...
3
3
0
[{"id": "G0", "claim": "The multiview-feature check should be moved to the top of the test so it runs before the framework is initialised.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test description looks like a copy/paste error: it says 'multivi...
null
KhronosGroup__Vulkan-ValidationLayers__4090
KhronosGroup/Vulkan-ValidationLayers
4,090
defect
14155d96ed02326e70aef099abc6f5332b85ce03
2dcfa68291cebae522994ecfde3c691d94bb9023
layers: Complete validation of compatible render passes
Closes #4029 Validate render pass compatibility, matching of subpass dependencies and correlated view masks.
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index de5ae89bcb6..0d22e9a1a62 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -565,6 +565,64 @@ bool CoreChecks::ValidateSubpassCompatibility(const char *type1_string, const RE return skip; } +bool CoreChecks::Vali...
1
1
0
[{"id": "G0", "claim": "Use const references instead of pointers for the rp1_state/rp2_state parameters of ValidateDependencyCompatibility and LogInvalidDependencyMessage, since they are assumed non-null and references would fit the style guide better.", "category": "design", "verdict": "supported", "priority": "P2", "...
null
KhronosGroup__Vulkan-ValidationLayers__6289
KhronosGroup/Vulkan-ValidationLayers
6,289
defect
a7c612e9cdef3f9cbd8ac284708d55201d523a4a
0c64af41b8327ba0eaa16864a2e85e3f9f38453d
Fix VUID 02688
This VUID has to be checked with dynamic rendering too And `enabled_features.core11` should be checked instead of `enabled_features.multiview_features`
diff --git a/layers/core_checks/cc_drawdispatch.cpp b/layers/core_checks/cc_drawdispatch.cpp index 2dcf3e1723e..5d7238cd50b 100644 --- a/layers/core_checks/cc_drawdispatch.cpp +++ b/layers/core_checks/cc_drawdispatch.cpp @@ -2711,11 +2711,12 @@ bool CoreChecks::ValidateCmdDrawInstance(const CMD_BUFFER_STATE &cb_state, ...
4
3
0
[{"id": "G0", "claim": "Consider adding a helper for checking values against max limits for things likely to have a max near UINT32_MAX.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use `auto` with `LvlInitStruct` in the new test instead of spelling ou...
null
KhronosGroup__Vulkan-ValidationLayers__6478
KhronosGroup/Vulkan-ValidationLayers
6,478
defect
e3c7d92185173f2af1105bcd4b1665c9542d5674
ebc6b3c3ca25eab245214ad4506f8a0adb1177fc
Add gpu assisted validation for shader objects
closes https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/5580
diff --git a/layers/core_checks/cc_spirv.cpp b/layers/core_checks/cc_spirv.cpp index fab0f9cc88a..06edd152f0f 100644 --- a/layers/core_checks/cc_spirv.cpp +++ b/layers/core_checks/cc_spirv.cpp @@ -2486,7 +2486,7 @@ void CoreChecks::PreCallRecordCreateShadersEXT(VkDevice device, uint32_t createI ...
3
2
1
[{"id": "G0", "claim": "The SetDefaultDynamicStates helper duplicated in the debug_printf tests should live in the common test framework while remaining clearly applicable to VkShaderEXT.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The leftov...
null
KhronosGroup__Vulkan-ValidationLayers__6546
KhronosGroup/Vulkan-ValidationLayers
6,546
defect
731de1d4bcfbf5c7685a69d43fb9e2701f4f6952
cbaa9923505fb03d0cfb1b9d6354fd3ad50568bc
Fix resetting performance queries
Closes #6304
diff --git a/layers/state_tracker/query_state.h b/layers/state_tracker/query_state.h index e324720eb21..b8c51b7ab33 100644 --- a/layers/state_tracker/query_state.h +++ b/layers/state_tracker/query_state.h @@ -59,7 +59,13 @@ class QUERY_POOL_STATE : public BASE_NODE { auto guard = WriteLock(); assert(q...
1
1
0
[{"id": "G0", "claim": "The test should not create a new command pool/buffer when one is already available.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
KhronosGroup__Vulkan-ValidationLayers__6584
KhronosGroup/Vulkan-ValidationLayers
6,584
defect
39234d2e19d67713cdf659d34912a66f99145a8f
a7238ca9aa023e5c35fc0b971b6f28f8b5780759
Validate cmd buffer begin flags
Validate VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT is supported by command pool
diff --git a/layers/core_checks/cc_cmd_buffer.cpp b/layers/core_checks/cc_cmd_buffer.cpp index d32a366a743..de7882b447e 100644 --- a/layers/core_checks/cc_cmd_buffer.cpp +++ b/layers/core_checks/cc_cmd_buffer.cpp @@ -322,6 +322,15 @@ bool CoreChecks::PreCallValidateBeginCommandBuffer(VkCommandBuffer commandBuffer ...
4
4
0
[{"id": "G0", "claim": "The error message starts with a leading space, so the string should begin at \"contain\" without the stray space.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The LogError should report the location of the flags field (be...
null
KhronosGroup__Vulkan-ValidationLayers__6592
KhronosGroup/Vulkan-ValidationLayers
6,592
defect
39234d2e19d67713cdf659d34912a66f99145a8f
3c031423b3ea321635d3f5d34b405b87847d8bd1
Validate query was reset before getting result and best practice that it is available
Closes #6129
diff --git a/layers/best_practices/best_practices_error_enums.h b/layers/best_practices/best_practices_error_enums.h index 90446882163..7bcfa205d36 100644 --- a/layers/best_practices/best_practices_error_enums.h +++ b/layers/best_practices/best_practices_error_enums.h @@ -143,6 +143,7 @@ [[maybe_unused]] static const ...
3
1
0
[{"id": "G0", "claim": "A MR must be filed in GitLab to add this VU to the spec, otherwise the new validation keeps the placeholder VUID 'UNASSIGNED-CoreValidation-QueryPool-NotReset' forever.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The lef...
null
KhronosGroup__Vulkan-ValidationLayers__6660
KhronosGroup/Vulkan-ValidationLayers
6,660
defect
5cf3bbba81d5579f5240e7682a80e7ef7976d0d3
05d9845c1b96ba6e1202ba95265adf6093ab15a3
Update VUID 02756, validate required subgroup size in task and mesh shaders
Closes #6655
diff --git a/layers/core_checks/cc_spirv.cpp b/layers/core_checks/cc_spirv.cpp index e412c1055b9..6b751e9fdf8 100644 --- a/layers/core_checks/cc_spirv.cpp +++ b/layers/core_checks/cc_spirv.cpp @@ -2289,6 +2289,13 @@ bool CoreChecks::ValidatePipelineShaderStage(const StageCreateInfo &stage_create } } + ...
3
3
0
[{"id": "G0", "claim": "The compute/mesh/task-specific checks in ValidatePipelineShaderStage should be restructured into grouped areas (compute only, mesh/task only, all three) with ValidateRequiredSubgroupSize and GetInvocations placed in the shared area, and the VUID-RuntimeSpirv-x-06432 check should apply only when ...
null
KhronosGroup__Vulkan-ValidationLayers__6788
KhronosGroup/Vulkan-ValidationLayers
6,788
defect
c7d67709c68373ec0e0627d7f192ed163ab9827f
5f7633d351c8f18d2f040dc064dc965adf005a24
Validate viewport state in graphics pipeline create, add vuid 04892
Closes #4366
diff --git a/layers/stateless/sl_pipeline.cpp b/layers/stateless/sl_pipeline.cpp index a92eb871a47..b0b9da1340d 100644 --- a/layers/stateless/sl_pipeline.cpp +++ b/layers/stateless/sl_pipeline.cpp @@ -1384,6 +1384,15 @@ bool StatelessValidation::manual_PreCallValidateCreateGraphicsPipelines( } ...
2
2
2
[{"id": "G0", "claim": "The new check should report VUID 09024 instead of 04892, since 04892 will become 09024 when the spec MR is merged and the already-implemented 09024 makes the 04892 check redundant.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim"...
null
KhronosGroup__Vulkan-ValidationLayers__6790
KhronosGroup/Vulkan-ValidationLayers
6,790
defect
c7d67709c68373ec0e0627d7f192ed163ab9827f
aa567e2ea44dbafaaee4b739494b8323969d67a5
layers: Unwrap device generated commands shader modules
Closes #3091
diff --git a/layers/layer_chassis_dispatch_manual.cpp b/layers/layer_chassis_dispatch_manual.cpp index 553c7d0503c..9a6247657af 100644 --- a/layers/layer_chassis_dispatch_manual.cpp +++ b/layers/layer_chassis_dispatch_manual.cpp @@ -188,6 +188,21 @@ VkResult DispatchCreateGraphicsPipelines(VkDevice device, VkPipelineCa...
1
1
1
[{"id": "G0", "claim": "The new device-generated-commands handling also needs to Unwrap the VkGraphicsPipelineShaderGroupsCreateInfoNV::pPipelines handles, not just the shader stage modules.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
KhronosGroup__Vulkan-ValidationLayers__6799
KhronosGroup/Vulkan-ValidationLayers
6,799
defect
221ea12c9e3e033cd3b5d1a1f37950c02ede5efc
03e407b94ed021441678bde15e1c6486f463ab97
layers: Validate instance create info pNext
Closes #6794
diff --git a/layers/stateless/sl_instance_device.cpp b/layers/stateless/sl_instance_device.cpp index 376684c267f..274699717fa 100644 --- a/layers/stateless/sl_instance_device.cpp +++ b/layers/stateless/sl_instance_device.cpp @@ -139,6 +139,26 @@ bool StatelessValidation::manual_PreCallValidateCreateInstance(const VkIns...
1
1
0
[{"id": "G0", "claim": "The new VUID-VkInstanceCreateInfo-pNext-04925 error should log at the ppEnabledExtensionNames location (create_info_loc.dot(Field::ppEnabledExtensionNames)) instead of the generic error_obj.location, as offered in the suggestion block.", "category": "correctness", "verdict": "supported", "priori...
null
KhronosGroup__Vulkan-ValidationLayers__6867
KhronosGroup/Vulkan-ValidationLayers
6,867
defect
17afe0202f00f8aa610aca2b1e484ab57f63045b
7d24c824418e13c1bd07e4397a3b98ccaf56325c
layers: Validate conservative rasterization with points and lines
Part of https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/5507
diff --git a/layers/core_checks/cc_cmd_buffer_dynamic.cpp b/layers/core_checks/cc_cmd_buffer_dynamic.cpp index 104013a2a0d..c3d96d31bc6 100644 --- a/layers/core_checks/cc_cmd_buffer_dynamic.cpp +++ b/layers/core_checks/cc_cmd_buffer_dynamic.cpp @@ -528,6 +528,30 @@ bool CoreChecks::ValidateDrawDynamicStatePipeline(cons...
2
1
1
[{"id": "G0", "claim": "The new dynamic conservative rasterization check is missing the VU 07499 logic that the last call to vkCmdSetConservativeRasterizationModeEXT must be VK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT (the code compares the mode against the wrong enum, VK_DYNAMIC_STATE_CONSERVATIVE_RASTERIZATION_MO...
null
KhronosGroup__Vulkan-ValidationLayers__6873
KhronosGroup/Vulkan-ValidationLayers
6,873
defect
057c4637056e2e46d16b7d22e4a814cfb91435ed
aea735282ceaf0271699dd5b1ebcc9305eb6542c
Add best practice warning for not setting all push constant bytes
Closes #3518 Most of this was taken from #3923
diff --git a/layers/best_practices/best_practices_error_enums.h b/layers/best_practices/best_practices_error_enums.h index 1f81bf0cf1e..6e0592e69df 100644 --- a/layers/best_practices/best_practices_error_enums.h +++ b/layers/best_practices/best_practices_error_enums.h @@ -129,6 +129,7 @@ [[maybe_unused]] static const ...
1
1
0
[{"id": "G0", "claim": "BestPractices::PostCallRecordCmdNextSubpass2KHR should just call PostCallRecordCmdNextSubpass2 instead of duplicating the body, since the project is removing the need to duplicate promoted extension entry points.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope":...
null
KhronosGroup__Vulkan-ValidationLayers__6955
KhronosGroup/Vulkan-ValidationLayers
6,955
defect
312716a437922750b7ca663d172229b21b9e825c
bff0e7d5cf51ac8c56853649d4ec1eebaa8822c1
layers: Validate dynamic rendering with VK_RENDERING_CONTENTS_INLINE_BIT_EXT flag
VUID from https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/6702
diff --git a/layers/core_checks/cc_render_pass.cpp b/layers/core_checks/cc_render_pass.cpp index f3b711c08c9..51d382cba25 100644 --- a/layers/core_checks/cc_render_pass.cpp +++ b/layers/core_checks/cc_render_pass.cpp @@ -3125,6 +3125,12 @@ bool CoreChecks::PreCallValidateCmdBeginRendering(VkCommandBuffer commandBuffer,...
1
1
0
[{"id": "G0", "claim": "Move the new VK_RENDERING_CONTENTS_INLINE_BIT_EXT check up below the rendering_info declaration and use rendering_info.dot(Field::flags) as the error message location instead of error_obj.location.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
KhronosGroup__Vulkan-ValidationLayers__7118
KhronosGroup/Vulkan-ValidationLayers
7,118
defect
b96c5af624bf40d93974fc5a42a4968c3ec181f4
32df0864499a25807c7c3210ae2355a648c20bf7
layers: Warn if pipeline is rebound when dynamic state was set
Closes #7008
diff --git a/layers/best_practices/best_practices_error_enums.h b/layers/best_practices/best_practices_error_enums.h index 7174d0aa634..4b06d911c2b 100644 --- a/layers/best_practices/best_practices_error_enums.h +++ b/layers/best_practices/best_practices_error_enums.h @@ -147,6 +147,7 @@ [[maybe_unused]] static const ...
4
4
2
[{"id": "G0", "claim": "The rebind warning belongs in the normal core layers rather than best practices, with a comment above it referencing the Khronos GitLab issues 3675 and vk-gl-cts 4642 explaining why it belongs there.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":...
null
KhronosGroup__Vulkan-ValidationLayers__7152
KhronosGroup/Vulkan-ValidationLayers
7,152
defect
4bd62a370f8ed8e5c7e349d345a665e2644b0c15
4cb3093cbabfb82a1cd9026ab4f0145647bdec69
Add support for VK_KHR_vertex_attribute_divisor
Closes #7134
diff --git a/layers/core_checks/cc_drawdispatch.cpp b/layers/core_checks/cc_drawdispatch.cpp index e5e328c545d..37ecf2c75de 100644 --- a/layers/core_checks/cc_drawdispatch.cpp +++ b/layers/core_checks/cc_drawdispatch.cpp @@ -38,6 +38,7 @@ bool CoreChecks::ValidateCmdDrawInstance(const vvl::CommandBuffer &cb_state, uin ...
4
4
1
[{"id": "G0", "claim": "The vertex_input_09461/09462 VUID entries for indirect draw commands (DrawIndirect, DrawIndexedIndirect, DrawIndirectByteCountEXT, and potentially DrawIndexedIndirectCount) are GPU-AV todo work: the PR does not actually validate them there, so having the entries in the dispatch tables is mislead...
null
KhronosGroup__Vulkan-ValidationLayers__9087
KhronosGroup/Vulkan-ValidationLayers
9,087
defect
6a99ecc9626ac6042d3dd589e86ec9d3cb1c3b2d
0eee15e794d4763b4a54b6e7698ead34ad29273b
Validate required dedicated allocations
Closes #9083
diff --git a/layers/core_checks/cc_device_memory.cpp b/layers/core_checks/cc_device_memory.cpp index 928d6dc701f..88f3efca547 100644 --- a/layers/core_checks/cc_device_memory.cpp +++ b/layers/core_checks/cc_device_memory.cpp @@ -1073,6 +1073,33 @@ bool CoreChecks::ValidateBindBufferMemory(VkBuffer buffer, VkDeviceMemor...
5
4
1
[{"id": "G0", "claim": "The 01444/01445 mismatch error should be flipped to report on the caller's bound buffer/image (e.g. loc.dot(Field::buffer), \"is %s, but the memory was created with a VkMemoryDedicatedAllocateInfo::buffer of %s.\") instead of anchoring the location on the VkMemoryDedicatedAllocateInfo pNext, and...
null
KhronosGroup__Vulkan-ValidationLayers__9107
KhronosGroup/Vulkan-ValidationLayers
9,107
defect
8018a6f12dd8156a569fb54d5f156535579c22d0
e26b410c92ca05a17e322e9c12d8c4ca1b8fdd95
Add missing swapchain maintenance validation
Closes #9099
diff --git a/layers/core_checks/cc_wsi.cpp b/layers/core_checks/cc_wsi.cpp index fd005dc9eab..466128969b9 100644 --- a/layers/core_checks/cc_wsi.cpp +++ b/layers/core_checks/cc_wsi.cpp @@ -823,6 +823,8 @@ bool CoreChecks::PreCallValidateQueuePresentKHR(VkQueue queue, const VkPresentIn skip |= sem_submit_state....
4
4
2
[{"id": "G0", "claim": "In PreCallValidateQueuePresentKHR the present-modes lookup should be inlined into the if condition rather than stored in a local variable, as the reviewer's suggested edit proposes.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "c...
null
KhronosGroup__Vulkan-ValidationLayers__9357
KhronosGroup/Vulkan-ValidationLayers
9,357
defect
07ff746f4f262cbe6efe0b2f4e7abea30b14588d
c63b751417a91525ac2fb555e2dc7a277c35e69f
Validate 2d image blit with invalid z offsets
Closes #9354 I don't see a way to get one without the other
diff --git a/layers/core_checks/cc_copy_blit_resolve.cpp b/layers/core_checks/cc_copy_blit_resolve.cpp index 8bc99f6864b..0234c5844d6 100644 --- a/layers/core_checks/cc_copy_blit_resolve.cpp +++ b/layers/core_checks/cc_copy_blit_resolve.cpp @@ -3377,6 +3377,9 @@ bool CoreChecks::ValidateCmdBlitImage(VkCommandBuffer com...
1
1
0
[{"id": "G0", "claim": "The error messages this PR adds for the 2d-image blit z-offset checks should be more descriptive than a bare \"fail\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
KhronosGroup__Vulkan-ValidationLayers__9408
KhronosGroup/Vulkan-ValidationLayers
9,408
defect
49531ecb46e01b4ab59da987b083f5fd6a74aec1
34c691a807ae4547c6b9f4504525a5d0de499b77
layers: Validate render pass begin info flags
Closes #9406
diff --git a/layers/core_checks/cc_pipeline_graphics.cpp b/layers/core_checks/cc_pipeline_graphics.cpp index 29100619613..fbc03427bf2 100644 --- a/layers/core_checks/cc_pipeline_graphics.cpp +++ b/layers/core_checks/cc_pipeline_graphics.cpp @@ -3468,6 +3468,12 @@ bool CoreChecks::ValidateDrawPipelineDynamicRenderpass(c...
1
1
0
[{"id": "G0", "claim": "Use `!= 0` instead of `> 0` when testing VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT in cc_pipeline_graphics.cpp (same behaviour, but the reviewer has never seen greater-than used for a mask test).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "intro...
null
KhronosGroup__Vulkan-ValidationLayers__9837
KhronosGroup/Vulkan-ValidationLayers
9,837
defect
6cc02370acd43613aa453ef455175d01b7d8a36f
fc405fd6d94de28f60a7fc48e068f55952dbd6a2
Validate shader object nextStage
Closes #9823
diff --git a/layers/core_checks/cc_shader_object.cpp b/layers/core_checks/cc_shader_object.cpp index 306582856c8..ae5eee049a6 100644 --- a/layers/core_checks/cc_shader_object.cpp +++ b/layers/core_checks/cc_shader_object.cpp @@ -558,6 +558,53 @@ bool CoreChecks::PreCallValidateGetShaderBinaryDataEXT(VkDevice device, Vk...
7
7
1
[{"id": "G0", "claim": "The new 08607 error message does not tell the user what is wrong or what they likely need to do when nextStage is 0; it should explain, when nextStage == 0 is detected, whether the user needs to change the nextStage or bind other stages.", "category": "design", "verdict": "supported", "priority"...
null
KhronosGroup__glslang__1547
KhronosGroup/glslang
1,547
defect
a08f465d5398518e9a6aeebd4775604a4c10e381
d875351bf25988c83ae19451c5717bb410bf02bd
Apinheiro/xfb struct assignment
As they are related, I kept the fix for issue #1535 on this pull request too. In relation to the new commit, it is true that it is somewhat counter-intuitive to use fixBlockXfbOffsets for a struct, but as mentioned on the commit message, that method just uses the qualifier and the member list, so it is independent ...
diff --git a/Test/baseResults/spv.xfbOffsetOnBlockMembersAssignment.vert.out b/Test/baseResults/spv.xfbOffsetOnBlockMembersAssignment.vert.out new file mode 100644 index 0000000000..066aa3a087 --- /dev/null +++ b/Test/baseResults/spv.xfbOffsetOnBlockMembersAssignment.vert.out @@ -0,0 +1,76 @@ +spv.xfbOffsetOnBlockMembe...
4
4
1
[{"id": "G0", "claim": "The new spec-quote comment in fixOffset uses non-ASCII characters (the curly apostrophe and other special characters), and the reviewer asks to rewrite it with the regular coding set of characters.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {...
null
KhronosGroup__glslang__1597
KhronosGroup/glslang
1,597
defect
0e6c82ce937eff14999cdd510fbe267aaffc27e9
52f7f02e3a117b1a271b25da27b785894c6986c3
Add conversion folding when the source is a constant.
This change adds unary conversion folding when the source is a constant. This fixes an ISV issue whereby: ``` const float16_t f = float16_t(42.0); ``` Wouldn't compile because the conversion operator would always produce an EvqTemporary when it could have produced an EvqConst. I've also added a test case ...
diff --git a/Test/baseResults/constantUnaryConversion.comp.out b/Test/baseResults/constantUnaryConversion.comp.out new file mode 100644 index 0000000000..de705e4426 --- /dev/null +++ b/Test/baseResults/constantUnaryConversion.comp.out @@ -0,0 +1,645 @@ +constantUnaryConversion.comp +Shader version: 450 +Requested GL_KH...
1
1
1
[{"id": "G0", "claim": "The EOpConvUint64ToBool case added in TIntermConstantUnion::fold should call getU64Const() instead of getI64Const().", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
KhronosGroup__glslang__2220
KhronosGroup/glslang
2,220
defect
24dcbd1b1f68ff268bfa22dc4b72bec73d52abe7
2c11d9f31369e45a7ac3874a56c8ea6ce25a3e4c
Add support for primitive culling layout qualifier.
Fixes https://gitlab.khronos.org/vulkan/vulkan/issues/2073
diff --git a/SPIRV/GlslangToSpv.cpp b/SPIRV/GlslangToSpv.cpp index 3bed67835f..e41bb5de6e 100644 --- a/SPIRV/GlslangToSpv.cpp +++ b/SPIRV/GlslangToSpv.cpp @@ -1448,7 +1448,7 @@ TGlslangToSpvTraverser::TGlslangToSpvTraverser(unsigned int spvVersion, builder.addExecutionMode(shaderEntry, spv::ExecutionModeXfb); ...
1
1
1
[{"id": "G0", "claim": "The standalone primitive_culling handling exits early without semantic checking, so a storage class qualifier combined with it is not diagnosed; semantic checking for that rule should be added.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
KhronosGroup__glslang__2237
KhronosGroup/glslang
2,237
defect
2e0f0a0517e4251ac8e0d6fd46e92af33fcb800d
ed2b98fece88b867c5123509174b3832b95e1432
EXT_ray_tracing requires spv1.4
Fixes #2236 Added helpers to error check based on extension
diff --git a/Test/baseResults/spv.ext.AnyHitShader.rahit.out b/Test/baseResults/spv.ext.AnyHitShader.rahit.out index 3cd60c7815..7a501ddc90 100644 --- a/Test/baseResults/spv.ext.AnyHitShader.rahit.out +++ b/Test/baseResults/spv.ext.AnyHitShader.rahit.out @@ -1,5 +1,5 @@ spv.ext.AnyHitShader.rahit -// Module Version 10...
8
6
1
[{"id": "G0", "claim": "The new requireSpv overload's error message misspells \"targeted\" as \"targetted\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The extensionRequires() design is odd: calling it once per extension makes each call check ...
null
KhronosGroup__glslang__2781
KhronosGroup/glslang
2,781
defect
b9ba4c5743997abbc0df858f2458a86d62af6a25
41c0760da136f78ec748cb167056fdcee80df79d
Fix incorrect link time validation for unused gl_PerVertex members
Whenever a built in block such as gl_PerVertex is explicitly redeclared glslang has slightly different behavior depending on whether or not the block is anonymous. For blocks that have an instance name any members absent from the redeclaration are simply deleted, while for anonymous blocks any members absent from the r...
diff --git a/glslang/Include/Types.h b/glslang/Include/Types.h index f4f3f341d1..e87f2583f2 100644 --- a/glslang/Include/Types.h +++ b/glslang/Include/Types.h @@ -2469,6 +2469,14 @@ class TType { if (*(*structure)[li].type != *(*right.structure)[ri].type) return false; ...
1
1
1
[{"id": "G0", "claim": "The PR should add a test (or at least two shaders) that fails without this fix.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
KhronosGroup__glslang__2974
KhronosGroup/glslang
2,974
defect
68c1880c09c36843dcf4346ea87cf69f5c7dbf9e
c61fcba4851e80813532fbf74f364c9a1220eaed
Make GL_KHR_ray_query provide EOpConstructAccStruct
Previously, GL_KHR_ray_tracing was a required extension to generate OpConvertUToAccelerationStructureKHR conversion instructions from uint64 and uvec2. However, both GL_KHR_ray_tracing and GL_KHR_ray_query should provide this construction.
diff --git a/glslang/MachineIndependent/ParseHelper.cpp b/glslang/MachineIndependent/ParseHelper.cpp index 45a72d9333..272707ac63 100644 --- a/glslang/MachineIndependent/ParseHelper.cpp +++ b/glslang/MachineIndependent/ParseHelper.cpp @@ -8095,12 +8095,12 @@ TIntermTyped* TParseContext::constructBuiltIn(const TType& ty...
1
1
1
[{"id": "G0", "claim": "Add a small test that verifies this capability — that the acceleration-structure construction (uint64/uvec2 conversion) is available with only GL_KHR_ray_query.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
KhronosGroup__glslang__3031
KhronosGroup/glslang
3,031
defect
c0cf8ad87627227c7f1d3be6177bbf2832d3fc1b
c451cef71e47c1c4f219a95c5985d8148ee50b9b
Make gl_SubGroupARB a flat int in Vulkan
gl_SubGroupARB was being correctly declared as an Input variable in Vulkan but it was missing the Flat decoration, which made spirv-val emit the VUID-StandaloneSpirv-Flat-04744 validation error with shaders using that built-in. Note: this is my first actual contribution to glslang, so I'm not sure if my solution is ...
diff --git a/glslang/MachineIndependent/Initialize.cpp b/glslang/MachineIndependent/Initialize.cpp index 35681a5f55..31b448adcd 100644 --- a/glslang/MachineIndependent/Initialize.cpp +++ b/glslang/MachineIndependent/Initialize.cpp @@ -7653,6 +7653,23 @@ static void SpecialQualifier(const char* name, TStorageQualifier q...
2
1
1
[{"id": "G0", "claim": "The pull request should add a small regression test (shader input file under Test/, a baseResults .out file, and the test name registered in gtests/Spv.FromFile.cpp, runnable via glslangtests) so the gl_SubGroupSizeARB fix is guaranteed not to regress.", "category": "testing", "verdict": "suppor...
null
KhronosGroup__glslang__3043
KhronosGroup/glslang
3,043
defect
73c9630da979017b2f7e19c6549e2bdb93d9b238
2dfa122ae6caf8297d04de4de8975a7c3b5301f4
Change Volatile generation for HelperInvocation
For SPIR-V 1.6 HelperInvocation accesses need to be volatile to avoid undefined values when shaders execute 'demote'. Previously this was always decorated on the gl_HelperInvocation variable, but this is not valid when the Vulkan memory model is in use. When the memory model is enabled, stop decorating the variable ...
diff --git a/SPIRV/GlslangToSpv.cpp b/SPIRV/GlslangToSpv.cpp index 75fff35656..c7595705e5 100644 --- a/SPIRV/GlslangToSpv.cpp +++ b/SPIRV/GlslangToSpv.cpp @@ -4675,6 +4675,16 @@ spv::Id TGlslangToSpvTraverser::accessChainLoad(const glslang::TType& type) spv::Builder::AccessChain::CoherentFlags coherentFlags = buil...
2
1
1
[{"id": "G0", "claim": "The author is unsure that adding the Volatile flag where he has (the accessMask computed in accessChainLoad) is really the correct place, and asks the maintainer for guidance.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Please ad...
null
KhronosGroup__glslang__3074
KhronosGroup/glslang
3,074
defect
2b2523fb951f63f072cfba514c26f2feea5f4329
ef827d26ab145ffb25142562f48d0b5927d489f3
[glslang] Refine implicit array size interfaces.
Help to check builtin and other variables if across stages.
diff --git a/Test/baseResults/implicitArraySize.vert.out b/Test/baseResults/implicitArraySize.vert.out new file mode 100644 index 0000000000..79952db581 --- /dev/null +++ b/Test/baseResults/implicitArraySize.vert.out @@ -0,0 +1,115 @@ +implicitArraySize.vert +Shader version: 460 +0:? Sequence +0:5 Function Definition:...
6
6
4
[{"id": "G0", "claim": "The pull request should add tests that demonstrate the new functionality, registered in Link.FromFile.cpp similar to #3066.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The geometry-shader conflict error message should drop the...
null
KhronosGroup__glslang__3108
KhronosGroup/glslang
3,108
defect
06a7078ce74ab5c7801a165b8145859678831fb8
8dd53e8db3074e0266a987e6062db5d426f342e7
Fix crash on bad structure member reference
Fixes #3105
diff --git a/glslang/MachineIndependent/ParseHelper.cpp b/glslang/MachineIndependent/ParseHelper.cpp index f86e78ba81..515137b708 100644 --- a/glslang/MachineIndependent/ParseHelper.cpp +++ b/glslang/MachineIndependent/ParseHelper.cpp @@ -1035,14 +1035,22 @@ TIntermTyped* TParseContext::handleDotDereference(const TSour...
1
1
1
[{"id": "G0", "claim": "The pull request needs a test case covering the crash on the bad structure member reference that it fixes.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
KhronosGroup__glslang__3254
KhronosGroup/glslang
3,254
defect
76b52ebf77833908dc4c0dd6c70a9c357ac720bd
1fd2d7ead2a8669602c42a3b023a0b65187a9c35
Spirv_intrinsics: Remove early return in layoutTypeCheck
Previously, when GL_EXT_spirv_intrinsics are enabled, we disable all checks in layoutTypeCheck. This is too coarse because we can use nothing in GL_EXT_spirv_intrinsics in a shader while the necessary processing is skipped, such as addUsedLocation. In this change, we apply fine check and more might be added if we en...
diff --git a/Test/baseResults/overlappedUniformLocation.vert.out b/Test/baseResults/overlappedUniformLocation.vert.out new file mode 100644 index 0000000000..553945bc3e --- /dev/null +++ b/Test/baseResults/overlappedUniformLocation.vert.out @@ -0,0 +1,31 @@ +overlappedUniformLocation.vert +ERROR: 0:7: 'location' : over...
3
3
2
[{"id": "G0", "claim": "Tests should be added that check the newly changed behaviour (error checks now running with GL_EXT_spirv_intrinsics enabled), and the use case it allows should be explained.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new ...
null
KhronosGroup__glslang__3324
KhronosGroup/glslang
3,324
defect
adfcaba7ae7bac77037e68d7fb755efff3bae74c
43de254d95d5bc83fac5164f29000aa599c4d3fc
Add support for GL_NV_displacement_micromap.
SPV Headers : https://github.com/KhronosGroup/SPIRV-Headers/pull/374 GLSL : https://github.com/KhronosGroup/GLSL/pull/213 SPV : https://github.com/KhronosGroup/SPIRV-Registry/pull/217
diff --git a/SPIRV/GLSL.ext.NV.h b/SPIRV/GLSL.ext.NV.h index 5b0f7eb17e..9889bc9f9b 100644 --- a/SPIRV/GLSL.ext.NV.h +++ b/SPIRV/GLSL.ext.NV.h @@ -84,4 +84,7 @@ const char* const E_SPV_NV_shader_sm_builtins = "SPV_NV_shader_sm_builtins"; //SPV_NV_shader_execution_reorder const char* const E_SPV_NV_shader_invocation_r...
3
2
1
[{"id": "G0", "claim": "If the new NV ops depend on a SPIR-V validator change in spirv-tools, that change must be merged first and known_good.json updated so the tests can pass.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The spirv-tools update bundle...
null
KhronosGroup__glslang__3335
KhronosGroup/glslang
3,335
defect
323836e46b9e453806e9eb5c1bf76c659c870fb2
a25509741ba106b1a1ab3cd9e77a8e4f58c8b0d1
Fix interpolant ES error
The restriction of no swizzling and no struct fields as an interpolant were not being checked when using the ES profile. Fixes #3277.
diff --git a/Test/baseResults/glsl.interpOp.error.frag.out b/Test/baseResults/glsl.interpOp.error.frag.out new file mode 100644 index 0000000000..467f08ffde --- /dev/null +++ b/Test/baseResults/glsl.interpOp.error.frag.out @@ -0,0 +1,422 @@ +glsl.interpOp.error.frag +ERROR: 0:33: 'interpolateAtCentroid' : first argumen...
2
2
1
[{"id": "G0", "claim": "A brief comment should be added explaining what the new inline interpolant-traversal code in builtInOpCheck is doing.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "traverseLValueBase should be combined with findLValueBase ...
null
KhronosGroup__glslang__3430
KhronosGroup/glslang
3,430
defect
b820431a2cddd41155d5750e1ae6ec3def2831c0
0b6cb326c8ed87ac3c64bf9ed7ea622021d01138
support GL_ARB_texture_multisample extension.
This extension allows the use of "texelFetch" and "textureSize" with 2DMS sampler. #version 140 out float result; uniform sampler2DMS data; uniform sampler2DMSArray data1; void main() { result = texelFetch(data, ivec2(0), 3).r; ivec2 temp = textureSize(data); result = texelFetch(data1, ivec3(0), 3).r; ivec3...
diff --git a/Test/GL_ARB_texture_multisample.vert b/Test/GL_ARB_texture_multisample.vert new file mode 100644 index 0000000000..e69de29bb2 diff --git a/Test/baseResults/GL_ARB_texture_multisample.vert.out b/Test/baseResults/GL_ARB_texture_multisample.vert.out new file mode 100644 index 0000000000..27878a8fe6 --- /dev/n...
5
5
2
[{"id": "G0", "claim": "The new test shader and its expected-result file are wrong/empty and do not contain the desired test content and output.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The check should clarify/confirm that GL_ARB_texture_multisam...
null
KhronosGroup__glslang__3453
KhronosGroup/glslang
3,453
defect
db933d7743d20740e46d93e3004cca2051d309c8
96787bcba17be7bad58b12ac194058aabb24d27c
Add support for GL_ARB_shading_language_include
Add support for GL_ARB_shading_language_include. Usage is identical to the way GL_GOOGLE_include_directive currently works glslang (since GL_ARB_shading_language_include is inherently a runtime feature and glslang is an offline compiler). Users can simulate their runtime environment by using a custom glslang::TShade...
diff --git a/Test/baseResults/preprocess.arb_shading_language_include.vert.err b/Test/baseResults/preprocess.arb_shading_language_include.vert.err new file mode 100644 index 0000000000..29c6952eae --- /dev/null +++ b/Test/baseResults/preprocess.arb_shading_language_include.vert.err @@ -0,0 +1,4 @@ +ERROR: 0:7: '#includ...
2
1
1
[{"id": "G0", "claim": "The version>=150 gate in Pp.cpp is wrong: per the ARB spec the extension is written against 1.50 but requires only 1.10, so GL_ARB_shading_language_include should be required for #include at any GLSL version (and the badversion test then becomes unnecessary).", "category": "correctness", "verdic...
null
KhronosGroup__glslang__3502
KhronosGroup/glslang
3,502
defect
30661abd9c3e97144f79cb30f2fb5a0da2c7b93c
54ae0774bb6be85ec861ad03cd9bd56eecc3f27b
Emit debug info for accelerationStructure and rayQuery variables.
A minor quirk is that multiple source types will get mapped to the same debug type, for example both accelerationStructureNV and accelerationStructureEXT are just named accelerationStructure. But I expect a shader author won't use both extensions in the same program, they'll just pick one, so this should be OK.
diff --git a/SPIRV/SpvBuilder.cpp b/SPIRV/SpvBuilder.cpp index 694413ef31..062a7c79b6 100644 --- a/SPIRV/SpvBuilder.cpp +++ b/SPIRV/SpvBuilder.cpp @@ -1176,6 +1176,10 @@ Id Builder::makeAccelerationStructureType() groupedTypes[OpTypeAccelerationStructureKHR].push_back(type); constantsTypesGlobals.push...
1
1
1
[{"id": "G0", "claim": "Add a test covering the new debug-info emission for accelerationStructure and rayQuery variables.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
KhronosGroup__glslang__3782
KhronosGroup/glslang
3,782
defect
63ebbe367c8c219e262a2bf78b7395b74cc9d9af
6fb8abf1cf0129f0a638d4c800f67d767cd1c6be
Add support for GL_EXT_texture_offset_non_const
Closes #3765
diff --git a/Test/baseResults/sparsetextureoffset_non_const.vert.out b/Test/baseResults/sparsetextureoffset_non_const.vert.out new file mode 100644 index 0000000000..9ccbcd6440 --- /dev/null +++ b/Test/baseResults/sparsetextureoffset_non_const.vert.out @@ -0,0 +1,251 @@ +sparsetextureoffset_non_const.vert +Shader versi...
3
3
2
[{"id": "G0", "claim": "The arg-assignment switch in builtInOpCheck should be reformatted to consolidate the cases with the same \"arg = 2\" / \"arg = 3\" / etc. values together and put \"arg = whatever; break;\" on a separate line from the case labels.", "category": "maintainability", "verdict": "supported", "priority...
null
KhronosGroup__glslang__3878
KhronosGroup/glslang
3,878
defect
8a6b381c9afbfaf9fff851582539fab15ea480c0
c4d1bc3d25a6ddec4fb77d40090961b1de8cb7c5
Throw error if using in/out with struct pointer
To address https://gitlab.khronos.org/spirv/SPIR-V/-/issues/779
diff --git a/Test/baseResults/spv.bufferhandle3.frag.out b/Test/baseResults/spv.bufferhandle3.frag.out deleted file mode 100644 index 0a2ab45638..0000000000 --- a/Test/baseResults/spv.bufferhandle3.frag.out +++ /dev/null @@ -1,106 +0,0 @@ -spv.bufferhandle3.frag -// Module Version 10000 -// Generated by (magic number):...
1
1
0
[{"id": "G0", "claim": "The new error strings should be spelled 'cannot' instead of 'can not', and the first string should end with a period so the resulting error message reads better.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
KhronosGroup__glslang__4005
KhronosGroup/glslang
4,005
defect
f43df42fe69bb38d43625b53e0706bbee43d74b4
dd950f680bf625a8bf3c9b36e6023030b691858e
Fix erroneous parse errors in variable declarations using existing struct names
This fixes #3931 and #4001 (which was needed after the initial fix #3996). The first commit is the direct re-application of the original fix #3996. The second commit fixes the case reported in #4001: struct types could not be used as function parameters when not in the first position. For example: ``` void tes...
diff --git a/Test/struct_construction_patterns.frag b/Test/struct_construction_patterns.frag new file mode 100644 index 0000000000..0aebf3fb69 --- /dev/null +++ b/Test/struct_construction_patterns.frag @@ -0,0 +1,77 @@ +#version 400 + +struct Inner { + int id; + float value; +}; + +struct Outer { + int before;...
2
1
0
[{"id": "G0", "claim": "The two new test files Test/struct_parameter_after_non_struct.frag and Test/struct_name_in_function_args.frag are identical, and moritz-h asks whether the duplicate is on purpose or unwanted.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", ...
null
KhronosGroup__glslang__4022
KhronosGroup/glslang
4,022
defect
f6652dcf751920b1fbc132619b0e84ef3d6e77c4
a97463188ae340681ef76ef7e35552fff5440642
Add checks to coopMatMulAdd
Validate properties of coopMatMulAdd such as: * the inside dimension of the multiplication matrices must match * the dimension of the addition matrix must match the product of the multiplication * the usage property of all operands must match the expected value
diff --git a/SPIRV/GlslangToSpv.cpp b/SPIRV/GlslangToSpv.cpp index b409ba3fbd..a12b4c11a5 100644 --- a/SPIRV/GlslangToSpv.cpp +++ b/SPIRV/GlslangToSpv.cpp @@ -10647,7 +10647,7 @@ spv::Id TGlslangToSpvTraverser::createSpvConstant(const glslang::TIntermTyped& n int nextConst = 0; result = create...
6
6
4
[{"id": "G0", "claim": "CI is reporting test failures on this pull request that need to be looked at and resolved.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "unclear"}, {"id": "G1", "claim": "A test should be added that triggers the new coopMatMulAdd error checks, for example in Test/s...
null
KhronosGroup__glslang__4061
KhronosGroup/glslang
4,061
defect
8e1494f9d742a27b54193ecd9475dcb2ef23b8b7
a7759407583c49ac25c5cd401df270252a1b8dfb
Fix NS debug bool type in SSBO/UBO.
For GLSL, bool types inside of a buffer or uniform block are translated to uint in SPIR-V. However, the debug info should still represent the type as a bool. The fix is to construct a bool type in this special case and inject it into the makeMemberDebugType function.
diff --git a/SPIRV/GlslangToSpv.cpp b/SPIRV/GlslangToSpv.cpp index b9474788de..9d9fb4c6d3 100644 --- a/SPIRV/GlslangToSpv.cpp +++ b/SPIRV/GlslangToSpv.cpp @@ -5596,7 +5596,7 @@ spv::Id TGlslangToSpvTraverser::convertGlslangStructToSpvType(const glslang::TTy int memberDelta = 0; // how much the member's index chan...
3
3
1
[{"id": "G0", "claim": "The pull request should add a test covering the fix (bool debug type in SSBO/UBO interface blocks).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The local variable `dimensions` is declared but never used; delete it.", "category...
null
KhronosGroup__glslang__4079
KhronosGroup/glslang
4,079
defect
ffcdd3ea9acf4fd70746250731e93c6c73f1cba3
eb2167940fa57fdfc44c24a8f5c40d980e28e6c0
Reject string operands in binary and select ops (#4077)
This would previously cause a segfault during SPIR-V codegen
diff --git a/glslang/MachineIndependent/Intermediate.cpp b/glslang/MachineIndependent/Intermediate.cpp index 60116efcbd..cf9612b042 100644 --- a/glslang/MachineIndependent/Intermediate.cpp +++ b/glslang/MachineIndependent/Intermediate.cpp @@ -121,6 +121,9 @@ TIntermTyped* TIntermediate::addBinaryMath(TOperator op, TInt...
2
2
1
[{"id": "G0", "claim": "Factor the new EbtString operand check in addBinaryMath together with the EbtBlock check above it so the code reads more concisely.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a compile test showing the error messa...
null
KhronosGroup__glslang__4082
KhronosGroup/glslang
4,082
defect
ffcdd3ea9acf4fd70746250731e93c6c73f1cba3
4c2fff3b6f6755b26b6474256d3306caceca3122
Implement GL_EXT_shader_64bit_indexing
Spec is at https://github.com/KhronosGroup/GLSL/pull/292.
diff --git a/SPIRV/GLSL.ext.EXT.h b/SPIRV/GLSL.ext.EXT.h index 748d9c8832..95b85a039e 100644 --- a/SPIRV/GLSL.ext.EXT.h +++ b/SPIRV/GLSL.ext.EXT.h @@ -42,5 +42,6 @@ static const char* const E_SPV_EXT_shader_image_int64 = "SPV_EXT_shader_image_in static const char* const E_SPV_EXT_shader_tile_image = "SPV_EXT_shader_ti...
1
1
1
[{"id": "G0", "claim": "The new cast of indexValue to int in the per-view array-size update may overflow a 32-bit int, so a check should be added there (an assert that indexValue cannot overflow a 32-bit int, or just a comment if it is impossible).", "category": "correctness", "verdict": "supported", "priority": "P1", ...
null
KhronosGroup__glslang__4089
KhronosGroup/glslang
4,089
defect
1c7030f06f356c2bd5d66d71e6b47f92eae8138e
cc28adbedceaa455f3c5431a6626287f616f5198
Fix Buffer Reference having wrong alignment
closes https://github.com/KhronosGroup/glslang/issues/4024 and https://github.com/KhronosGroup/glslang/issues/4084 and https://github.com/KhronosGroup/glslang/issues/4058
diff --git a/SPIRV/SpvPostProcess.cpp b/SPIRV/SpvPostProcess.cpp index 905ffdedb9..068e33e82e 100644 --- a/SPIRV/SpvPostProcess.cpp +++ b/SPIRV/SpvPostProcess.cpp @@ -286,7 +286,7 @@ void Builder::postProcess(Instruction& inst) Id typeId = base->getTypeId(); Instruction *type = module....
1
1
1
[{"id": "G0", "claim": "The new load-pointer 8-byte alignment enforcement may also be needed for stores (OpStore), not just loads.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
KhronosGroup__glslang__4096
KhronosGroup/glslang
4,096
defect
7099c123729e02f81d70559e79ee4360096fdfe5
cc0f959690158d3fc1caeb28ae6c5c600b28b79c
Add ES support for depth layout qualifier
FIX https://github.com/KhronosGroup/glslang/issues/4095
diff --git a/Test/baseResults/310.frag.out b/Test/baseResults/310.frag.out index 3def2ac08d..3be53a8f0d 100644 --- a/Test/baseResults/310.frag.out +++ b/Test/baseResults/310.frag.out @@ -58,7 +58,6 @@ ERROR: 0:159: 'vAnon' : redefinition ERROR: 0:173: 'origin_upper_left' : not supported with this profile: es ERROR: 0...
5
5
4
[{"id": "G0", "claim": "The updated 320.frag.out baseline is wrong: for an ES shader using the depth layout qualifier the compiler should still emit an error there, just about the extension not being enabled instead of the qualifier not being supported.", "category": "correctness", "verdict": "supported", "priority": "...
null
KhronosGroup__glslang__4104
KhronosGroup/glslang
4,104
defect
f7c910864c67fc8a347184769b6c7bd6ae4c32ad
daf163d17a0231498187214c073e95dff9f2d077
Fix Debug Info for Retargeted Builtins
Fix #3951 This patch wires retargeted symbol mappings from symbol table to root intermediate so that we may emit extra DebugGlobalVariable for builtins that has alias names. Because we now may have one variable id that maps to multiple debug global variable ids, we also removes debug id mapping between these in cas...
diff --git a/SPIRV/GlslangToSpv.cpp b/SPIRV/GlslangToSpv.cpp index c42c1395e1..6e1f549dba 100644 --- a/SPIRV/GlslangToSpv.cpp +++ b/SPIRV/GlslangToSpv.cpp @@ -5167,6 +5167,16 @@ spv::Id TGlslangToSpvTraverser::createSpvVariable(const glslang::TIntermSymbol* } spv::Id var = builder.createVariable(spv::NoPrec...
3
2
1
[{"id": "G0", "claim": "The in-class initializer for `static const int builtinLevel` needs a definition in a .cpp file and is probably causing a linker error; use `constexpr` or add a definition in a .cpp file.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "...
null
KhronosGroup__glslang__4192
KhronosGroup/glslang
4,192
defect
09c541ee5b22bbac307987b50d86ec2b4f683d75
a2257ccd7773000809db85406611279f46a67917
Add support for bfloat16 and float8 tensors
Add the following extensions: GL_ARM_tensors_bfloat16 GL_ARM_tensors_float_e5m2 GL_ARM_tensors_float_e4m3
diff --git a/Test/baseResults/spv.tensorARM.all_accesses.comp.out b/Test/baseResults/spv.tensorARM.all_accesses.comp.out index 1f5a25b359..c369859100 100644 --- a/Test/baseResults/spv.tensorARM.all_accesses.comp.out +++ b/Test/baseResults/spv.tensorARM.all_accesses.comp.out @@ -1,7 +1,7 @@ spv.tensorARM.all_accesses.c...
1
1
1
[{"id": "G0", "claim": "The GLSL preprocessor #defines for the new extension names must be added to the preamble as instructed in glslang/MachineIndependent/Versions.cpp, including for the pre-existing GL_ARM_tensors symbol.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
KhronosGroup__glslang__4198
KhronosGroup/glslang
4,198
defect
e4c40890710586ea02a2d457a123b7c339d526f7
c5c09e92ab7ca63dfeba48bba3f82c7f65f06a8d
Fix for issue #4197
Update access chain handling to be compatible with raw descriptor heap accesses.
diff --git a/SPIRV/GlslangToSpv.cpp b/SPIRV/GlslangToSpv.cpp index 90c3b22bf8..3a5a6ec603 100644 --- a/SPIRV/GlslangToSpv.cpp +++ b/SPIRV/GlslangToSpv.cpp @@ -3159,6 +3159,8 @@ bool TGlslangToSpvTraverser::visitAggregate(glslang::TVisit visit, glslang::TInt std::vector<spv::Builder::AccessChain> complexLvalues; /...
1
1
1
[{"id": "G0", "claim": "The new test must be added to one of the lists in gtests/Spv.FromFile.cpp so that it actually gets run.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
KhronosGroup__glslang__4229
KhronosGroup/glslang
4,229
defect
5ed4003a18a10a9d1bd7e43aaf1664499abffa83
8837ebd01752a3a7542a7be457aea7dff36c173b
Add small type capabilities for GLSL.STD.450
Typically, GLSL.STD.450 extension instructions are used with other arithmetic operations or conversions for small types, which works fine. However, if the shader only uses GLSL.STD.450 functions, we fail to add the capabilities for small types. This causes a validation error without the corresponding capabilities.
diff --git a/SPIRV/SpvPostProcess.cpp b/SPIRV/SpvPostProcess.cpp index 2d5c320995..5078a8436b 100644 --- a/SPIRV/SpvPostProcess.cpp +++ b/SPIRV/SpvPostProcess.cpp @@ -175,6 +175,15 @@ void Builder::postProcessType(const Instruction& inst, Id typeId) default: break; } + if (basicTyp...
1
1
1
[{"id": "G0", "claim": "The new test added by this PR must be registered in the list in gtests/Spv.FromFile.cpp, otherwise it never actually gets run as part of the test suite.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
KhronosGroup__glslang__874
KhronosGroup/glslang
874
defect
22be5788eabb4095d160e0422c6b4a64cc5e5563
bd7c5f711d0ffed546ac434d9d5f33b871cd2849
HLSL: Manually configure descriptor set and binding number for resources
I am so sorry for that I created too many issue entries. I close all previous pull requests and this is the newest one. Test the following cases: ``` glslangValidator -V -D Test/hlsl.multiDescriptorSet.frag -e main --rsb frag t0 0 0 t1 0 1 s0 0 2 s1 0 3 b0 1 0 b1 1 1 b2 1 2 --ssb frag 3 --stb frag 1 glslangVali...
diff --git a/StandAlone/StandAlone.cpp b/StandAlone/StandAlone.cpp index 3faadecfc3..b21f20d4c6 100644 --- a/StandAlone/StandAlone.cpp +++ b/StandAlone/StandAlone.cpp @@ -168,6 +168,7 @@ std::array<unsigned int, EShLangCount> baseImageBinding; std::array<unsigned int, EShLangCount> baseUboBinding; std::array<unsigned...
4
3
1
[{"id": "G0", "claim": "The `if(!resourceInfo.empty())` test in handleRegister is redundant because the for-loop over resourceInfo already does nothing on an empty vector, so it should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "T...
null
KhronosGroup__glslang__912
KhronosGroup/glslang
912
defect
44d2728e3d45bd064a4e6bf23d9c1793dc0da839
bc4560a7469b90dc3a92aefb05069196aec7e054
Implement the extension GL_AMD_texture_gather_bias_lod
The OpenGL spec is: https://www.khronos.org/registry/OpenGL/extensions/AMD/AMD_texture_gather_bias_lod.txt The SPIR-V spec is: https://www.khronos.org/registry/spir-v/extensions/AMD/SPV_AMD_texture_gather_bias_lod.html This extension adds some new built-in functions to allow texture gather to support `bias` and `...
diff --git a/SPIRV/GLSL.ext.AMD.h b/SPIRV/GLSL.ext.AMD.h index d2098cc1af..59972bc58c 100644 --- a/SPIRV/GLSL.ext.AMD.h +++ b/SPIRV/GLSL.ext.AMD.h @@ -28,11 +28,12 @@ #define GLSLextAMD_H enum BuiltIn; +enum Capability; enum Decoration; enum Op; static const int GLSLextAMDVersion = 100; -static const int GLSLe...
3
2
1
[{"id": "G0", "claim": "The `#include \"GLSL.ext.AMD.h\"` added inside namespace spv in SPIRV/SpvBuilder.cpp is not needed in that file and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reordering of the bias and gather-c...
null
KiiChain__kiichain__164
KiiChain/kiichain
164
defect
d5f3a12e192193e4638da473560c8068d8d63370
4c3edea28bf4bf1d744eb6b51417d5f931574fa2
Remove native fallback price from fee abstraction
# Description Remove native fallback price from fee abstraction and short-circuits pre block when there is not price for kii ## Type of change - [x] Bug fix (non-breaking change which fixes an issue) # How Has This Been Tested? `make test-unit`
diff --git a/proto/kiichain/feeabstraction/v1beta1/params.proto b/proto/kiichain/feeabstraction/v1beta1/params.proto index 2a76ad1d..a2f10c37 100644 --- a/proto/kiichain/feeabstraction/v1beta1/params.proto +++ b/proto/kiichain/feeabstraction/v1beta1/params.proto @@ -21,13 +21,6 @@ message Params { ]; // TwapLookb...
3
2
0
[{"id": "G0", "claim": "Fix the grammar in the abci_test.go comment: \"should be disable\" should read \"should be disabled\" (noted as pre-existing).", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "pre_existing"}, {"id": "G6", "claim": "Replace the nested ifs in WriteFeeTokenPricesMe...
null
KiiChain__kiichain__281
KiiChain/kiichain
281
defect
6e20320f1812e509c08312423f09b5cdf3fafbd7
5a3da4e41d480fe856afcfa156348c10476efbf5
feat: upgrade evm to v0.6.0 and reenable ics precompile
# Description Bumps EVM to v0.6.0 and re-enables ICS20 precompile ## Type of change - [x] Bug fix (non-breaking change which fixes an issue) - [x] chore (Updates on dependencies, gitignore, etc) # How Has This Been Tested? - [x] Pipelines - [x] Checklist of changes of EVM clear - [x] Local upgrade tes...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 307197ec..ccf5e172 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,13 @@ ## UNRELEASED +### Dependencies +- [EVM](https://github.com/cosmos/evm) from v0.5.1 to [v0.6.0](https://github.com/cosmos/evm/releases/tag/v0.6.0) + ### Added - Re enabled jailing on ...
7
2
1
[{"id": "G0", "claim": "The upgrade handler unconditionally appends a hardcoded ICS20 precompile address, which is not idempotent and risks duplicate entries in ActiveStaticPrecompiles; use a named constant and append only if the address is not already present.", "category": "correctness", "verdict": "supported", "prio...
null
KiiChain__kiichain__284
KiiChain/kiichain
284
defect
d3221f0ca4080c656a8a2f2cf76fd7efd40ef258
b76cd02416257f6c175d3cb8778478dd688385d5
fix: edit upgrade to include v7.0 for mainnet
# Description Makes a special upgrade path for mainnet ## Type of change - [x] Bug fix (non-breaking change which fixes an issue)
diff --git a/app/upgrades/v7_1/upgrade.go b/app/upgrades/v7_1/upgrade.go index fbc8b484..69df601d 100644 --- a/app/upgrades/v7_1/upgrade.go +++ b/app/upgrades/v7_1/upgrade.go @@ -7,8 +7,12 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" + banktypes "github.com/cosm...
2
1
1
[{"id": "G0", "claim": "EVMUpgrade unconditionally calls SetDenomMetaData although its comment says it 'adds missing' metadata, so add a GetDenomMetaData defensive check before overwriting, consistent with the pattern used in the oracle keeper.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "sco...
null
KiiChain__kiichain__328
KiiChain/kiichain
328
defect
09193f45e530f4ee62b1685e22b166cb86ebca9f
020cf4b75080bfb251d076bed16c8c27f6b12677
fix: limit tokenfactory changeadmin with page requests & index it properly
# Description Limit tokenfactory changeadmin with page requests & index it properly ## Type of change - [x] New feature (non-breaking change which adds functionality) - [x] Bug fix (non-breaking change which fixes an issue) # How Has This Been Tested? Added new tests for page request and for # P...
diff --git a/CHANGELOG.md b/CHANGELOG.md index b6ef937b..a99e9bce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,8 @@ - Ensure feeTokenMetadata initial prices after updateFeeTokenMetadata is picked up from oracle - Use `DecCoins.Validate()` on `RewardPool.ValidateGenesis` to catch malformed denom formats, ...
6
3
1
[{"id": "G0", "claim": "The wasm binding still exposes an unbounded creator query path: it passes nil pagination so contracts hit the full-scan path, and DenomsByCreatorResponse has no pagination info so callers cannot page through results even after the keeper starts default-capping nil requests; expose pagination in ...
null
KiiChain__kiichain__4
KiiChain/kiichain
4
defect
17915dcecd261fea9e6554956562368bc42b774c
7b06fd82e89e3e4125599952a66baa300f91ff6d
Break down pipelines into more steps
# Description Break down the pipelines into more: - Liveness - E2E ## Type of change Please delete options that are not relevant. - [ ] New feature (non-breaking change which adds functionality) - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] Documentation (updates documentation on the pr...
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml deleted file mode 100644 index 62353665..00000000 --- a/.github/workflows/codeql-analysis.yml +++ /dev/null @@ -1,61 +0,0 @@ -# name: "CodeQL" - -# on: -# pull_request: -# paths: -# - "**.go" -# push: -# branche...
1
1
0
[{"id": "G0", "claim": "The commented-out get-diff-action step and the commented `if: env.GIT_DIFF` conditions are leftover code that should be cleaned up in both .github/workflows/e2e.yaml and .github/workflows/liveness.yaml.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduc...
null
KiiChain__kiichain__44
KiiChain/kiichain
44
defect
409592be4601eae0d3d3839e03720b7c4a7c7d5a
72164429e1ceca55a4876c80a33423c1384b2e6d
Oracle module upgrade and docs
# Description This adds the upgrade to the Oracle module: - Register the module into the key store - Add the oracle precompile to the precompiles list This also add docs to the module ## Type of change Please delete options that are not relevant. - [x] New feature (non-breaking change which adds functi...
diff --git a/app/keepers/keys.go b/app/keepers/keys.go index ce759f4b..28b5e8f3 100644 --- a/app/keepers/keys.go +++ b/app/keepers/keys.go @@ -33,8 +33,6 @@ import ( feemarkettypes "github.com/cosmos/evm/x/feemarket/types" evmtypes "github.com/cosmos/evm/x/vm/types" - // Kiichain - // Kiichain oracletypes "gi...
4
1
0
[{"id": "G0", "claim": "The new oracle README should correct its grammar: 'as following' to 'as follows', 'Its defined as' to 'It's defined as', 'Its stored' to 'It's stored', and 'The Oracle module expose' to 'exposes'.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"...
null
KiiChain__kiichain__45
KiiChain/kiichain
45
defect
6d51bb4f97975c22345032c5201d751138060550
1a1af74b074d067437b602f186ea2974a71ed68a
E2E test IBC precompile
# Description - Changes EVM account to be set up only once - Adds revert change - Some typos and minor improvements - E2E IBC precompile test ## Type of change - [x] refactor - [x] test (For updates on tests) # How Has This Been Tested? make test-e2e
diff --git a/contrib/local_node.sh b/contrib/local_node.sh index b99301c1..36ff942e 100755 --- a/contrib/local_node.sh +++ b/contrib/local_node.sh @@ -13,6 +13,7 @@ LOGLEVEL="info" HOMEDIR="$HOME/.kiichain" BASEFEE=10000000 +KIICHAIND=kiichaind # Path variables CONFIG=$HOMEDIR/config/config.toml @@ -91,8 +92,8 ...
5
5
2
[{"id": "G0", "claim": "The new guard's comment wrongly says it checks for skipping IBC tests while it guards the EVM account setup, and the EVM account should be created all the time instead of being skipped.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1"...
null
KillingSpark__zstd-rs__62
KillingSpark/zstd-rs
62
defect
5265c12c8cdc03647b90ae89fd3b64015a1c2d8c
4b79cb9091b7ae2db110b4e3f0abdf2bd60fd625
Implement accessors for inner reader on StreamDecoder
I have an application where I access the inner Read object to get some statistics on how far we've read. This adds `get_ref` and `get_mut`, and another one where you can destructure to get both the Read and FrameDecoder.
diff --git a/src/streaming_decoder.rs b/src/streaming_decoder.rs index 3021e3f22..188fa0973 100644 --- a/src/streaming_decoder.rs +++ b/src/streaming_decoder.rs @@ -39,10 +39,35 @@ impl<READ: Read> StreamingDecoder<READ, FrameDecoder> { decoder.init(&mut source)?; Ok(StreamingDecoder { decoder, source...
4
2
0
[{"id": "G0", "claim": "The destructure-into-decoder method should not be named `inner`; it should be renamed (to `into_frame_decoder`) for consistency with `into_inner_parts`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The doc note 'It is i...
null
Kiln-AI__Kiln__1004
Kiln-AI/Kiln
1,004
defect
8ebc13871e185e002150b70a379121666103789f
4afaaff73e48659d107f610f622e808152611795
Update ruff to 0.15
## What does this PR do? ruff 0.15.0 released yesterday and has a different style for lambda functions that caused `checks.sh` to fail locally. https://github.com/astral-sh/ruff/tags Our file was lint with 0.13 but `checks.sh` is using `uvx ty check` which always pulls latest. ## Checklists - [x] Tests h...
diff --git a/app/desktop/studio_server/test_eval_api.py b/app/desktop/studio_server/test_eval_api.py index 8d5c22cf0c..88cc13ff3f 100644 --- a/app/desktop/studio_server/test_eval_api.py +++ b/app/desktop/studio_server/test_eval_api.py @@ -1322,8 +1322,8 @@ def test_build_score_key_to_task_requirement_id(): "ap...
1
1
1
[{"id": "G0", "claim": "The `revision` number in `uv.lock` decreased from 3 to 2, which is unusual since revision numbers are expected to increase monotonically and might cause issues with dependency resolution tools; the lock file should be regenerated to correct this value.", "category": "correctness", "verdict": "su...
null
Kiln-AI__Kiln__1084
Kiln-AI/Kiln
1,084
defect
e80c06706f5cabdef8feb54b8d7f3a507af1014a
cf56e583635e9c6f261817bab4ad342bdaeccbc0
Allow tool server edit when it fails to connect
## What does this PR do? When users share kiln project the external tool server will also get synced down. Often times for local mcp server the target machine does not have the correct setup / path...etc. Previously the edit button will try to connect the server which prevents user from fixing the config. Update...
diff --git a/app/desktop/studio_server/test_tool_api.py b/app/desktop/studio_server/test_tool_api.py index f9a42ea537..a6e7726ac4 100644 --- a/app/desktop/studio_server/test_tool_api.py +++ b/app/desktop/studio_server/test_tool_api.py @@ -467,6 +467,61 @@ def test_get_tool_server_not_found(client, test_project): ...
4
2
0
[{"id": "G0", "claim": "The new test uses `@pytest.mark.anyio`, which is inconsistent with the `@pytest.mark.asyncio` used by every other explicitly marked async test in the file, and it should be changed to `@pytest.mark.asyncio` (or the marker dropped).", "category": "testing", "verdict": "supported", "priority": "P2...
null