[Mesa-dev] [PATCH] nv50/ir: silence unsupported TGSI_PROPERTY_CS_FIXED_BLOCK_*

Ilia Mirkin imirkin at alum.mit.edu
Sun May 8 22:31:38 UTC 2016


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

On Sun, May 8, 2016 at 6:13 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> We don't need them for compute shaders.
>
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
>  src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 5 +++++
>  1 file changed, 5 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 3708f37..d59950e 100644
> --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
> +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
> @@ -1102,6 +1102,11 @@ void Source::scanProperty(const struct tgsi_full_property *prop)
>        else
>           info->prop.tp.outputPrim = PIPE_PRIM_TRIANGLES; /* anything but points */
>        break;
> +   case TGSI_PROPERTY_CS_FIXED_BLOCK_WIDTH:
> +   case TGSI_PROPERTY_CS_FIXED_BLOCK_HEIGHT:
> +   case TGSI_PROPERTY_CS_FIXED_BLOCK_DEPTH:
> +      // we don't care
> +      break;
>     case TGSI_PROPERTY_NUM_CLIPDIST_ENABLED:
>        info->io.clipDistances = prop->u[0].Data;
>        break;
> --
> 2.8.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