[Mesa-dev] [PATCH 14/16] radeonsi: We don't support indirect addressing of shader inputs/outputs

Marek Olšák maraeo at gmail.com
Fri Jan 24 14:54:48 PST 2014


Please can this be done for the geometry shader only?

Marek

On Fri, Jan 24, 2014 at 10:33 AM, Michel Dänzer <michel at daenzer.net> wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
>
> Fixes piglit spec/glsl-1.50/execution/geometry/dynamic_input_array_index
>
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
> ---
>  src/gallium/drivers/radeonsi/si_pipe.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
> index bd7726b..dab1180 100644
> --- a/src/gallium/drivers/radeonsi/si_pipe.c
> +++ b/src/gallium/drivers/radeonsi/si_pipe.c
> @@ -479,6 +479,7 @@ static int si_get_shader_param(struct pipe_screen* pscreen, unsigned shader, enu
>                 return 0;
>         case PIPE_SHADER_CAP_INDIRECT_INPUT_ADDR:
>         case PIPE_SHADER_CAP_INDIRECT_OUTPUT_ADDR:
> +               return 0;
>         case PIPE_SHADER_CAP_INDIRECT_TEMP_ADDR:
>         case PIPE_SHADER_CAP_INDIRECT_CONST_ADDR:
>                 return 1;
> --
> 1.8.5.3
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list