summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300
Commit message (Collapse)AuthorAgeFilesLines
* r300g: Clear up a bit of the buffer reference stuff.Corbin Simpson2009-10-281-14/+11
| | | | | Still need to actually get reference info from winsys somehow. Doing added buffers is easy, but knowing whether a flush has happened is a bit tricky.
* r300g: Fix XXX.Corbin Simpson2009-10-281-1/+0
| | | | Nothing strange here.
* r300g: fix emitting the stencil-ref and alpha-ref valuesMarek Olšák2009-10-283-11/+31
| | | | | | Signed-off-by: Corbin Simpson <[email protected]> DSA really needs its head examined someday. ~ C.
* r300g: fix the WRAP_T mode when using 1D texturesMarek Olšák2009-10-281-1/+8
| | | | Signed-off-by: Corbin Simpson <[email protected]>
* r300g: fix blending and do some optimizationsMarek Olšák2009-10-282-48/+54
| | | | Signed-off-by: Corbin Simpson <[email protected]>
* r300g: read occlusion query results from both Z pipes on RV530Marek Olšák2009-10-261-2/+8
|
* r300g: add cubemap supportMarek Olšák2009-10-262-24/+37
| | | | Also, set a pitch for rectangles only.
* r300g: fix redefining mipmaps and fetching from themMarek Olšák2009-10-251-2/+7
|
* r300g: added support for 3D texturesMarek Olšák2009-10-254-53/+51
| | | | | | Mipmaps not tested. Also, I am not sure why piglit/texturing/tex3d needs to have color tolerance +-1 to pass. The classic Mesa driver doesn't need that.
* r300g: fix scons build yet againJoakim Sindholt2009-10-242-4/+2
|
* gallium: remove extended negate also, and also the ExtSwz tokenKeith Whitwell2009-10-231-6/+1
| | | | | | Likewise, the extended negate functionality hasn't been used since mesa switched to using tgsi_ureg to build programs, and has been translating the SWZ opcode internally to a single MAD.
* gallium: remove the swizzling parts of ExtSwizzleKeith Whitwell2009-10-231-5/+4
| | | | | | | | | These haven't been used by the mesa state tracker since the conversion to tgsi_ureg, and it seems that none of the other state trackers are using it either. This helps simplify one of the biggest suprises when starting off with TGSI shaders.
* gallium: remove noise opcodesKeith Whitwell2009-10-231-4/+0
| | | | | | | | | | | Provide a dummy implementation in the GL state tracker (move 0.5 to the destination regs). At some point, a motivated person could add a better implementation of noise. Currently not even the nvidia binary drivers do anything more than this. In any case, the place to do this is in the GL state tracker, not the poor driver.
* r300g: Enable more stuff in r300_screen, cleanup comments.Corbin Simpson2009-10-223-16/+23
| | | | Also enable 24-bit depth buffers without stencil.
* r300g: Cleanup PSC setup math a bit and stop using Draw formats.Corbin Simpson2009-10-223-23/+74
|
* r300g: Clean up duplicate code in r300_render.Corbin Simpson2009-10-221-45/+4
|
* r300g: Move render functions to r300_render.Corbin Simpson2009-10-224-65/+249
| | | | Part of the fastpath cleanup.
* r300g: Check for NULL Draw during flush.Corbin Simpson2009-10-221-2/+4
| | | | Split from the fastpath WIP.
* r300g: Update comments, function names in r300_state_inlines.Corbin Simpson2009-10-212-4/+22
|
* r300g: Update comments, asserts, indents in r300_texture.Corbin Simpson2009-10-211-13/+6
| | | | I wish I knew enough about textures to really really REALLY fix that file.
* r300g: Remove unused debug flag.Corbin Simpson2009-10-212-4/+2
|
* r300g: Cleanup old static shader state.Corbin Simpson2009-10-218-361/+4
|
* r300g: No debug in r300_state.Corbin Simpson2009-10-211-1/+0
|
* r300g: Cleanup header includes.Corbin Simpson2009-10-2124-61/+86
|
* r300g: Don't use getenv; use debug_get_*_option instead.Corbin Simpson2009-10-211-1/+1
|
* r300g: Don't use the hashtable internally.Corbin Simpson2009-10-211-1/+6
| | | | | | As osiris pointed out, glxgears slowly gets slower for some reason when it's enabled, and it's not helping at the moment, so just turn it off.
* r300g: Examine vertex attribute type on HW TCL too.Corbin Simpson2009-10-211-4/+2
|
* r300g: Also kill r300_shader_inlines with fire.Corbin Simpson2009-10-211-47/+0
|
* r300g: Kill r300_surface with fire.Corbin Simpson2009-10-213-505/+0
| | | | If you really want to see it again, check the history.
* r300g: Demonstratory kludge to unbreak glxgears.Corbin Simpson2009-10-191-12/+16
| | | | | We *must* recalculate something in vformat every rebind; let's see if we can't narrow it down a bit.
* r300g: Fix up a bunch of warnings.Corbin Simpson2009-10-186-22/+21
|
* r300g: Add another ZTOP condition.Corbin Simpson2009-10-181-0/+2
| | | | I don't even know if texkill works right now.
* gallium: Permit surface_copy and surface_fill to be NULL.Corbin Simpson2009-10-171-1/+1
| | | | | | | | | | | | | Uf. Lots of files touched. Would people with working vega, xorg, dri1, etc. please make sure you are not broken, and fix yourself up if you are. There were only two or three places where the code did not have painful fallbacks, so I would advise st maintainers to find less painful workarounds, or consider overhauling util_surface_copy and util_surface_fill. Per ymanton, darktama, and Dr_Jakob's suggestions, clear has been left as-is. I will not add PIPE_CAP_BLITTER unless it is deemed necessary.
* r300g: Squash format warning.Corbin Simpson2009-10-171-0/+1
| | | | Won't ever be supported.
* r300g: Use a dirty test to bring framerate back up.Corbin Simpson2009-10-171-2/+5
| | | | This is just split out from the next commit, that's all.
* r300g: Also have rs_block keyed to the current shader combo.Corbin Simpson2009-10-171-51/+58
| | | | | Eliminates part of the glxgears corruption here. Need to clean up PSC more, to get rid of the rest of it.
* r300g: Fix u_hash_table rename.Corbin Simpson2009-10-173-9/+7
|
* r300g: Use a hash table to look up vertex info.Corbin Simpson2009-10-166-35/+97
| | | | | | | Need to move rs_block to this, too. Also, I'm getting massive amounts of flicker for some reason; I bet we've gotta re-re-examine PSC and friends. :C
* r300g: Set logical ID for each emitted texture/sampler.Corbin Simpson2009-10-151-1/+2
| | | | multitexarray works on my r300, but texrect doesn't.
* r300g: Move ZTOP to its own state atom.Corbin Simpson2009-10-144-7/+12
| | | | It may seem pointless, but this avoids a fair amount of predicted CSO pain.
* r300g: Move ztop to derived state.Corbin Simpson2009-10-142-10/+36
| | | | Need to get it into its own atom instead of piggybacking on DSA.
* r300g: Compiler warning cleanup.Corbin Simpson2009-10-144-11/+3
|
* r300g: remove buffer add that should be unnecessary.Dave Airlie2009-10-141-6/+0
| | | | This should be handled in the emit fine
* r300g: add QUERY to KITCHEN_SINKDave Airlie2009-10-141-1/+1
| | | | I missed this, thanks to Corbin for pointing it out.
* r300g: add one more ZTOP disable bit.Dave Airlie2009-10-142-1/+9
| | | | Still missing the frag uses kill support, hopefully nha can point that out.
* r300g: port over last parts of oq support.Dave Airlie2009-10-145-9/+16
| | | | | | | | Add support for begin/end in each CS so we don't get any other processes rendering in between. TODO: blame other parts of driver for this not working like Z.
* r300g: convert query to a state for emitting.Dave Airlie2009-10-143-5/+20
| | | | | | | | This means we don't emit in the begin query but when we have to flush. Similiar to classic. TODO: make query object actually work.
* r300g: fixup arb occulsion query support.Dave Airlie2009-10-1410-43/+124
| | | | | | | | | | | | | | | 1: add rv530 support - num z pipes cap - add proper start/finish query options for rv530 2: convert to use linked list properly. 3: add flushing required check. 4: initial Z top disabling support. TODO: make it actually work on my rv530.
* r300g: attempt to make bo space check sane.Dave Airlie2009-10-143-0/+18
| | | | | | | This attempts to make r300g do proper bo space checking as opposed to whatever it was doing now. Signed-off-by: Dave Airlie <[email protected]>
* r300g: fix case where texture unit 0 is disabled but unit 1 is enabled.Dave Airlie2009-10-141-7/+9
| | | | | | to reproduce, start texrect, disable 0 texture in menu. Signed-off-by: Dave Airlie <[email protected]>