[Mesa-dev] [PATCH 2/2] radv: remove the radv_finishme() when compiling shaders
Bas Nieuwenhuizen
bas at basnieuwenhuizen.nl
Thu May 17 09:57:42 UTC 2018
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
for both.
On Thu, May 17, 2018 at 9:56 AM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> Having an entrypoint different than "main" doesn't mean we
> have multiple shaders per module.
>
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
> src/amd/vulkan/radv_shader.c | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c
> index 1968758a39..7589d9c88a 100644
> --- a/src/amd/vulkan/radv_shader.c
> +++ b/src/amd/vulkan/radv_shader.c
> @@ -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) {
> --
> 2.17.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list