gpu: nickname shaders;

This commit is contained in:
bjorn 2023-04-05 21:21:56 -07:00
parent 024ea094a4
commit ba0412182b
1 changed files with 2 additions and 0 deletions

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") {
return false;
}
nickname(shader->handles[i], VK_OBJECT_TYPE_SHADER_MODULE, info->label);
}
VkDescriptorSetLayout layouts[4];