1
0
Fork 0
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:
bjorn 2023-04-05 21:21:56 -07:00
parent 024ea094a4
commit ba0412182b

View file

@ -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];