| Summary: | texture rectangle should not cause a tcl fallback | ||
|---|---|---|---|
| Product: | Mesa | Reporter: | Roland Scheidegger <sroland> |
| Component: | Drivers/DRI/R100 | Assignee: | Default DRI bug account <dri-devel> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | high | ||
| Version: | git | ||
| Hardware: | x86 (IA32) | ||
| OS: | Linux (All) | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
| Attachments: |
remove texrect fallback, enable texgen for r/q coords
new patch, fixes two typos |
||
|
Description
Roland Scheidegger
2005-09-18 17:53:23 UTC
Created attachment 3413 [details] [review] remove texrect fallback, enable texgen for r/q coords Ok here's something to play with. This patch kills the texrect tcl fallback, and at the same time tries to fix issues with (tcl) texcoord/texgen/texmat handling. Unfortunately, I can't test it right now, any volunteers (I did get projtex to work with some quick hack, as well as get correct texcoords for texrect with another quick hack, but I don't have the card here now to test)? It's based on lots of assumptions, so even apart from coding errors I wouldn't be surprised if it doesn't quite work correctly - in theory this should even fix ut2k3 shadow projectors (though I'm not sure 2 texture units are enough to get them enabled at all). Created attachment 3473 [details] [review] new patch, fixes two typos The original patch had two important typos, this one works much better. I only got the chance to test it very briefly, but if noone else tests it I'm going to submit it anyway. Results seemed very encouraging: texrect, projtex work with hw tcl. ut2k3 shadow projectors work with hw tcl. From the texgenmix test, the two mixed cases at the bottom right do not work (that is expected - the other mixed texgen case gets lucky and hits a fallback). All 3 non-texgen tests work, as do all 3 texgen tests - with the caveat that the test with only s/t texgen enabled only works with tcl_mode set to 1, but not 2. I think that's a bug within the vtxfmt code, maybe the single texcoord which is emitted there causes trouble. Commited to cvs. Mass version move, cvs -> git |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.