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

Author: Jason Ekstrand <[email protected]>
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 <[email protected]>

---

 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 =

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to