[Mesa-dev] [PATCH] nv50/ir: silence unhandled TGSI_PROPERTY_NEXT_SHADER info

Ilia Mirkin imirkin at alum.mit.edu
Wed Mar 23 23:10:18 UTC 2016


Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

On Wed, Mar 23, 2016 at 6:29 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> radeonsi uses this property to make the best decision about which
> shader to compile, but this is not currently used by our codegen.
>
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
>  src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
> index 507c1cd..525f50d 100644
> --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
> +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
> @@ -1098,6 +1098,9 @@ void Source::scanProperty(const struct tgsi_full_property *prop)
>     case TGSI_PROPERTY_NUM_CULLDIST_ENABLED:
>        info->io.cullDistances = prop->u[0].Data;
>        break;
> +   case TGSI_PROPERTY_NEXT_SHADER:
> +      /* Do not need to know the next shader stage. */
> +      break;
>     default:
>        INFO("unhandled TGSI property %d\n", prop->Property.PropertyName);
>        break;
> --
> 2.7.4
>
> _______________________________________________
> 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