[Mesa-dev] [PATCH 3/6] anv: Remove a pointless finishme

Jason Ekstrand jason at jlekstrand.net
Tue Mar 7 17:36:32 UTC 2017


We've been supporting multiple shaders per module for some time now.
---
 src/intel/vulkan/anv_pipeline.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c
index 64e409b..0db9f68 100644
--- a/src/intel/vulkan/anv_pipeline.c
+++ b/src/intel/vulkan/anv_pipeline.c
@@ -93,10 +93,6 @@ anv_shader_compile_to_nir(struct anv_device *device,
                           gl_shader_stage stage,
                           const VkSpecializationInfo *spec_info)
 {
-   if (strcmp(entrypoint_name, "main") != 0) {
-      anv_finishme("Multiple shaders per module not really supported");
-   }
-
    const struct brw_compiler *compiler =
       device->instance->physicalDevice.compiler;
    const nir_shader_compiler_options *nir_options =
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list