diff options
author | Dave Airlie <airliedfreedesktop.org> | 2005-12-04 00:37:35 +0000 |
---|---|---|
committer | Dave Airlie <airliedfreedesktop.org> | 2005-12-04 00:37:35 +0000 |
commit | f93feb7aedc194f3fa04fa2216b2a215548b2e4e (patch) | |
tree | 2034e1249342b8f403d4d3b2b15e3f4331242827 /src/mesa/drivers/dri/r300/r300_context.c | |
parent | eb06704a7c0027136d5ced74d67a83ddaf1f82aa (diff) |
Fix r300 rectangular texture upload and swtcl coordinate fixing same as radeon
sw tcl
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_context.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_context.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.c b/src/mesa/drivers/dri/r300/r300_context.c index 9c089e4005..4ff30cc0c6 100644 --- a/src/mesa/drivers/dri/r300/r300_context.c +++ b/src/mesa/drivers/dri/r300/r300_context.c @@ -123,6 +123,7 @@ const struct dri_extension card_extensions[] = { extern struct tnl_pipeline_stage _r300_render_stage; extern struct tnl_pipeline_stage _r300_tcl_stage; +extern const struct tnl_pipeline_stage _r300_texrect_stage; static const struct tnl_pipeline_stage *r300_pipeline[] = { @@ -153,6 +154,8 @@ static const struct tnl_pipeline_stage *r300_pipeline[] = { /* Else do them here. */ + /* scale texture rectangle to 0..1. */ + &_r300_texrect_stage, &_r300_render_stage, &_tnl_render_stage, /* FALLBACK */ 0, |