Mesa (master): anv: Remove a pointless finishme

Jason Ekstrand jekstrand at kemper.freedesktop.org
Tue Mar 7 23:58:05 UTC 2017


Module: Mesa
Branch: master
Commit: 1488d079cb5dd625881204677fde9bf34f185c78
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1488d079cb5dd625881204677fde9bf34f185c78

Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Mar  7 09:14:34 2017 -0800

anv: Remove a pointless finishme

We've been supporting multiple shaders per module for some time now.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

---

 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 =




More information about the mesa-commit mailing list