anv: Remove a pointless finishme
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 7 Mar 2017 17:14:34 +0000 (09:14 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 7 Mar 2017 23:22:16 +0000 (15:22 -0800)
We've been supporting multiple shaders per module for some time now.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_pipeline.c

index 64e409b7d421a4c9b0557531c0fa390aae0679aa..0db9f689268015840b170613f930e3ff67a9701f 100644 (file)
@@ -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 =