KhronosGroup / KhronosGroup/Vulkan-ValidationLayers

Assertion firing in SPIRV_MODULE_STATE::GetConstantValueById()

Open
#6,293 3 comments 0 reactions 1 assignee Claimed by @spencer-lunarg View on GitHub
ShaderVal
Dominant language
C++
Stars
1k
Forks
504
Avg merge
11h 35m
Merged PRs (30d)
224

Description

Seems very similar to #5911:

Callstack (`GetConstantValueById()` appears inlined):

```
__assert_fail
ResourceInterfaceVariable::FindBaseType()
ResourceInterfaceVariable::ResourceInterfaceVariable()
std::__u::vector<>::__emplace_back_slow_path<>()
EntryPoint::GetResourceInterfaceVariables()
EntryPoint::EntryPoint()
SPIRV_MODULE_STATE::StaticData::StaticData()
ValidationStateTracker::PreCallRecordCreateShaderModule()
CoreChecks::PreCallRecordCreateShaderModule()
vulkan_layer_chassis::CreateShaderModule()
```

https://github.com/KhronosGroup/Vulkan-ValidationLayers/commit/1055125067ecad97466e4bafbec000689226c0fe is a suspect CL.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.