From: Marek Olšák Date: Sat, 19 Apr 2014 15:21:57 +0000 (+0200) Subject: r600g: fix edge flags and layered rendering on R600-R700 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e5741f1e91429366699cb0a57c40968f0f9fd8cb;p=mesa.git r600g: fix edge flags and layered rendering on R600-R700 We forgot to set these bits. Cc: 10.1 mesa-stable@lists.freedesktop.org Reviewed-by: Alex Deucher --- diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c index 8053ff43ba8..99206cf4c0e 100644 --- a/src/gallium/drivers/r600/r600_state.c +++ b/src/gallium/drivers/r600/r600_state.c @@ -2568,8 +2568,10 @@ void r600_update_vs_state(struct pipe_context *ctx, struct r600_pipe_shader *sha S_02881C_VS_OUT_CCDIST0_VEC_ENA((rshader->clip_dist_write & 0x0F) != 0) | S_02881C_VS_OUT_CCDIST1_VEC_ENA((rshader->clip_dist_write & 0xF0) != 0) | S_02881C_VS_OUT_MISC_VEC_ENA(rshader->vs_out_misc_write) | - S_02881C_USE_VTX_VIEWPORT_INDX(rshader->vs_out_viewport) | - S_02881C_USE_VTX_POINT_SIZE(rshader->vs_out_point_size); + S_02881C_USE_VTX_POINT_SIZE(rshader->vs_out_point_size) | + S_02881C_USE_VTX_EDGE_FLAG(rshader->vs_out_edgeflag) | + S_02881C_USE_VTX_RENDER_TARGET_INDX(rshader->vs_out_layer) | + S_02881C_USE_VTX_VIEWPORT_INDX(rshader->vs_out_viewport); } static unsigned r600_conv_prim_to_gs_out(unsigned mode)