From 46176f157b1e47421bbfddb9917b2c1eef6b18c8 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Sat, 31 Oct 2015 00:31:16 +0800 Subject: bug 14608: VkShaderModule object lifetime (WIP) Remove VkShader. We add a simple cache to intel_shader_module in place of intel_shader. https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14608 --- loader/table_ops.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'loader/table_ops.h') diff --git a/loader/table_ops.h b/loader/table_ops.h index 29bdc389..b0ef6299 100644 --- a/loader/table_ops.h +++ b/loader/table_ops.h @@ -82,8 +82,6 @@ static inline void loader_init_device_dispatch_table(VkLayerDispatchTable *table table->DestroyImageView = (PFN_vkDestroyImageView) gpa(dev, "vkDestroyImageView"); table->CreateShaderModule = (PFN_vkCreateShaderModule) gpa(dev, "vkCreateShaderModule"); table->DestroyShaderModule = (PFN_vkDestroyShaderModule) gpa(dev, "vkDestroyShaderModule"); - table->CreateShader = (PFN_vkCreateShader) gpa(dev, "vkCreateShader"); - table->DestroyShader = (PFN_vkDestroyShader) gpa(dev, "vkDestroyShader"); table->CreatePipelineCache = (PFN_vkCreatePipelineCache) gpa(dev, "vkCreatePipelineCache"); table->DestroyPipelineCache = (PFN_vkDestroyPipelineCache) gpa(dev, "vkDestroyPipelineCache"); table->GetPipelineCacheData = (PFN_vkGetPipelineCacheData) gpa(dev, "vkGetPipelineCacheData"); @@ -273,10 +271,6 @@ static inline void *loader_lookup_device_dispatch_table( return (void *) table->CreateShaderModule; if (!strcmp(name, "DestroyShaderModule")) return (void *) table->DestroyShaderModule; - if (!strcmp(name, "CreateShader")) - return (void *) table->CreateShader; - if (!strcmp(name, "DestroyShader")) - return (void *) table->DestroyShader; if (!strcmp(name, "CreatePipelineCache")) return (void*) vkCreatePipelineCache; if (!strcmp(name, "DestroyPipelineCache")) -- cgit v1.2.3