mirror of
https://github.com/bjornbytes/lovr.git
synced 2024-07-03 13:03:38 +00:00
gpu: nickname shaders;
This commit is contained in:
parent
024ea094a4
commit
ba0412182b
|
@ -962,6 +962,8 @@ bool gpu_shader_init(gpu_shader* shader, gpu_shader_info* info) {
|
||||||
VK(vkCreateShaderModule(state.device, &moduleInfo, NULL, &shader->handles[i]), "Failed to load shader") {
|
VK(vkCreateShaderModule(state.device, &moduleInfo, NULL, &shader->handles[i]), "Failed to load shader") {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nickname(shader->handles[i], VK_OBJECT_TYPE_SHADER_MODULE, info->label);
|
||||||
}
|
}
|
||||||
|
|
||||||
VkDescriptorSetLayout layouts[4];
|
VkDescriptorSetLayout layouts[4];
|
||||||
|
|
Loading…
Reference in a new issue