diff options
author | Marek Olšák <[email protected]> | 2014-04-19 17:21:57 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-04-25 01:33:12 +0200 |
commit | e5741f1e91429366699cb0a57c40968f0f9fd8cb (patch) | |
tree | af1e4f598c295bb9c0a6485175fd55eb782afd24 /src | |
parent | 8a1dfba73e5b675635108e7d8309444704b8fef4 (diff) |
r600g: fix edge flags and layered rendering on R600-R700
We forgot to set these bits.
Cc: 10.1 [email protected]
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/r600/r600_state.c | 6 |
1 files changed, 4 insertions, 2 deletions
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) |