radv: remove the radv_finishme() when compiling shaders
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 17 May 2018 07:56:48 +0000 (09:56 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 17 May 2018 11:48:24 +0000 (13:48 +0200)
Having an entrypoint different than "main" doesn't mean we
have multiple shaders per module.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_shader.c

index 1968758a39111d98987028218725f627541155d2..7589d9c88a56d000d783e1514838eaa8e6c3ec19 100644 (file)
@@ -163,10 +163,6 @@ radv_shader_compile_to_nir(struct radv_device *device,
                           const VkSpecializationInfo *spec_info,
                           const VkPipelineCreateFlags flags)
 {
-       if (strcmp(entrypoint_name, "main") != 0) {
-               radv_finishme("Multiple shaders per module not really supported");
-       }
-
        nir_shader *nir;
        nir_function *entry_point;
        if (module->nir) {