[Mesa-dev] [PATCH 5/6] radeonsi: provide VS_STATE input to all VS variants

Nicolai Hähnle nhaehnle at gmail.com
Thu Apr 13 15:29:14 UTC 2017


On 12.04.2017 11:20, Nicolai Hähnle wrote:
> From: Nicolai Hähnle <nicolai.haehnle at amd.com>
>
> ---
>  src/gallium/drivers/radeonsi/si_descriptors.c   |  6 +++++-
>  src/gallium/drivers/radeonsi/si_shader.c        | 15 ++++++---------
>  src/gallium/drivers/radeonsi/si_shader.h        | 13 +------------
>  src/gallium/drivers/radeonsi/si_state_draw.c    |  9 +++++----
>  src/gallium/drivers/radeonsi/si_state_shaders.c |  4 ++--
>  5 files changed, 19 insertions(+), 28 deletions(-)
>
[snip]
>  static LLVMValueRef
>  get_tcs_out_patch_stride(struct si_shader_context *ctx)
>  {
> -	return unpack_param(ctx, SI_PARAM_TCS_OUT_LAYOUT, 0, 13);
> +	return unpack_param(ctx, SI_PARAM_VS_STATE_BITS, 0, 13);
>  }

This bit is wrong. Amazingly, there's only a single (generated!) piglit 
test that fails because of it...

Anyway, I'm going to fix this before I push the series.

Cheers,
Nicolai
-- 
Lerne, wie die Welt wirklich ist,
Aber vergiss niemals, wie sie sein sollte.


More information about the mesa-dev mailing list