diff options
author | Corbin Simpson <[email protected]> | 2010-05-25 21:45:38 -0700 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2010-06-16 10:54:06 -0700 |
commit | 5c58618406bd5b4ee0bc5121f562560702ebbf98 (patch) | |
tree | 33d0cf493b525db73839a2fb24bf456fe6748bb3 /src/gallium/drivers/r300/r300_emit.c | |
parent | 867478b6f6fe3ad76c3d1d75b2b907f59b9a649c (diff) |
r300g: Old MSAA code from before gallium-msaa.
Diffstat (limited to 'src/gallium/drivers/r300/r300_emit.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_emit.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c index 64d66e421f2..aae2e49dca8 100644 --- a/src/gallium/drivers/r300/r300_emit.c +++ b/src/gallium/drivers/r300/r300_emit.c @@ -484,6 +484,13 @@ void r300_emit_rs_state(struct r300_context* r300, unsigned size, void* state) OUT_CS_REG(R300_GB_AA_CONFIG, rs->antialiasing_config); + OUT_CS_REG(R300_VAP_CNTL_STATUS, rs->vap_control_status); + if (r300->rws->get_value(r300->rws, R300_VID_DRM_2_3_0)) { + OUT_CS_REG_SEQ(R300_GB_MSPOS0, 2); + OUT_CS(rs->multisample_position_0); + OUT_CS(rs->multisample_position_1); + } + OUT_CS_REG(R300_GB_AA_CONFIG, rs->antialiasing_config); OUT_CS_REG(R300_GA_POINT_SIZE, rs->point_size); OUT_CS_REG_SEQ(R300_GA_POINT_MINMAX, 2); OUT_CS(rs->point_minmax); |