On Thu, Aug 30, 2012 at 10:41 AM, Tom Stellard <tstel...@gmail.com> wrote:
> The relevant POINT_SIZE registers are being set using the
> pipe_rasterizer_state, so we just need to tell the shader compiler which
> export type to use.
>
> This fixes several of the glean glsl tests.

Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>

> ---
>  src/gallium/drivers/radeonsi/radeonsi_shader.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c 
> b/src/gallium/drivers/radeonsi/radeonsi_shader.c
> index d07b050..2f417ec 100644
> --- a/src/gallium/drivers/radeonsi/radeonsi_shader.c
> +++ b/src/gallium/drivers/radeonsi/radeonsi_shader.c
> @@ -502,6 +502,7 @@ static void si_llvm_emit_epilogue(struct 
> lp_build_tgsi_context * bld_base)
>                 for (index = d->Range.First; index <= d->Range.Last; index++) 
> {
>                         /* Select the correct target */
>                         switch(d->Semantic.Name) {
> +                       case TGSI_SEMANTIC_PSIZE:
>                         case TGSI_SEMANTIC_POSITION:
>                                 target = V_008DFC_SQ_EXP_POS;
>                                 break;
> --
> 1.7.3.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to