From 839cbd785356f3d840fdc5087595126e56555291 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michel=20D=C3=A4nzer?= Date: Thu, 10 May 2012 13:54:39 +0200 Subject: [PATCH] radeonsi: Set NONE format for unused vertex shader position export slots. --- src/gallium/drivers/radeonsi/evergreen_state.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/radeonsi/evergreen_state.c b/src/gallium/drivers/radeonsi/evergreen_state.c index 3ab8d9d255c..c7e4a13f583 100644 --- a/src/gallium/drivers/radeonsi/evergreen_state.c +++ b/src/gallium/drivers/radeonsi/evergreen_state.c @@ -2088,9 +2088,9 @@ void si_pipe_shader_vs(struct pipe_context *ctx, struct si_pipe_shader *shader) r600_pipe_state_add_reg(rstate, R_02870C_SPI_SHADER_POS_FORMAT, S_02870C_POS0_EXPORT_FORMAT(V_02870C_SPI_SHADER_4COMP) | - S_02870C_POS1_EXPORT_FORMAT(V_02870C_SPI_SHADER_4COMP) | - S_02870C_POS2_EXPORT_FORMAT(V_02870C_SPI_SHADER_4COMP) | - S_02870C_POS3_EXPORT_FORMAT(V_02870C_SPI_SHADER_4COMP), + S_02870C_POS1_EXPORT_FORMAT(V_02870C_SPI_SHADER_NONE) | + S_02870C_POS2_EXPORT_FORMAT(V_02870C_SPI_SHADER_NONE) | + S_02870C_POS3_EXPORT_FORMAT(V_02870C_SPI_SHADER_NONE), NULL, 0); va = r600_resource_va(ctx->screen, (void *)shader->bo); -- 2.30.2