mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Set specialization constant size
This commit is contained in:
@@ -102,6 +102,7 @@ void VulkanCreationInfo::Pipeline::Init(VulkanResourceManager *resourceMan, Vulk
|
||||
Shader::SpecInfo spec;
|
||||
spec.specID = maps[s].constantID;
|
||||
spec.data = &shad.specdata[maps[s].offset];
|
||||
spec.size = maps[s].size;
|
||||
// ignore maps[s].size, assume it's enough for the type
|
||||
shad.specialization.push_back(spec);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user