On 12.04.2017 11:20, Nicolai Hähnle wrote:
From: Nicolai Hähnle <nicolai.haeh...@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.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to