summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300
AgeCommit message (Collapse)Author
2009-10-23gallium: remove extended negate also, and also the ExtSwz tokenKeith Whitwell
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.
2009-10-23gallium: remove the swizzling parts of ExtSwizzleKeith Whitwell
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.
2009-10-23gallium: remove noise opcodesKeith Whitwell
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.
2009-10-22r300g: Enable more stuff in r300_screen, cleanup comments.Corbin Simpson
Also enable 24-bit depth buffers without stencil.
2009-10-22r300g: Cleanup PSC setup math a bit and stop using Draw formats.Corbin Simpson
2009-10-22r300g: Clean up duplicate code in r300_render.Corbin Simpson
2009-10-22r300g: Move render functions to r300_render.Corbin Simpson
Part of the fastpath cleanup.
2009-10-22r300g: Check for NULL Draw during flush.Corbin Simpson
Split from the fastpath WIP.
2009-10-21r300g: Update comments, function names in r300_state_inlines.Corbin Simpson
2009-10-21r300g: Update comments, asserts, indents in r300_texture.Corbin Simpson
I wish I knew enough about textures to really really REALLY fix that file.
2009-10-21r300g: Remove unused debug flag.Corbin Simpson
2009-10-21r300g: Cleanup old static shader state.Corbin Simpson
2009-10-21r300g: No debug in r300_state.Corbin Simpson
2009-10-21r300g: Cleanup header includes.Corbin Simpson
2009-10-21r300g: Don't use getenv; use debug_get_*_option instead.Corbin Simpson
2009-10-21r300g: Don't use the hashtable internally.Corbin Simpson
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.
2009-10-21r300g: Examine vertex attribute type on HW TCL too.Corbin Simpson
2009-10-21r300g: Also kill r300_shader_inlines with fire.Corbin Simpson
2009-10-21r300g: Kill r300_surface with fire.Corbin Simpson
If you really want to see it again, check the history.
2009-10-19r300g: Demonstratory kludge to unbreak glxgears.Corbin Simpson
We *must* recalculate something in vformat every rebind; let's see if we can't narrow it down a bit.
2009-10-18r300g: Fix up a bunch of warnings.Corbin Simpson
2009-10-18r300g: Add another ZTOP condition.Corbin Simpson
I don't even know if texkill works right now.
2009-10-17gallium: Permit surface_copy and surface_fill to be NULL.Corbin Simpson
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.
2009-10-17r300g: Squash format warning.Corbin Simpson
Won't ever be supported.
2009-10-17r300g: Use a dirty test to bring framerate back up.Corbin Simpson
This is just split out from the next commit, that's all.
2009-10-17r300g: Also have rs_block keyed to the current shader combo.Corbin Simpson
Eliminates part of the glxgears corruption here. Need to clean up PSC more, to get rid of the rest of it.
2009-10-17r300g: Fix u_hash_table rename.Corbin Simpson
2009-10-16r300g: Use a hash table to look up vertex info.Corbin Simpson
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
2009-10-15r300g: Set logical ID for each emitted texture/sampler.Corbin Simpson
multitexarray works on my r300, but texrect doesn't.
2009-10-14r300g: Move ZTOP to its own state atom.Corbin Simpson
It may seem pointless, but this avoids a fair amount of predicted CSO pain.
2009-10-14r300g: Move ztop to derived state.Corbin Simpson
Need to get it into its own atom instead of piggybacking on DSA.
2009-10-14r300g: Compiler warning cleanup.Corbin Simpson
2009-10-14r300g: remove buffer add that should be unnecessary.Dave Airlie
This should be handled in the emit fine
2009-10-14r300g: add QUERY to KITCHEN_SINKDave Airlie
I missed this, thanks to Corbin for pointing it out.
2009-10-14r300g: add one more ZTOP disable bit.Dave Airlie
Still missing the frag uses kill support, hopefully nha can point that out.
2009-10-14r300g: port over last parts of oq support.Dave Airlie
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.
2009-10-14r300g: convert query to a state for emitting.Dave Airlie
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.
2009-10-14r300g: fixup arb occulsion query support.Dave Airlie
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.
2009-10-14r300g: attempt to make bo space check sane.Dave Airlie
This attempts to make r300g do proper bo space checking as opposed to whatever it was doing now. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-10-14r300g: fix case where texture unit 0 is disabled but unit 1 is enabled.Dave Airlie
to reproduce, start texrect, disable 0 texture in menu. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-10-12r300g: More debug flags.Corbin Simpson
2009-10-12r300g: Surface debug.Corbin Simpson
It gets really annoying watching r300g tell me how it's filling surfaces. Or falling back during filling surfaces.
2009-10-12r300g: Fallback on surfaces we can't render to or from.Corbin Simpson
Still not sure why st keeps handing down things we can't render to.
2009-10-12r300g: Prevent multiple-use textures from getting incorrectly approved.Corbin Simpson
2009-10-12r300g: Clean up texture formats.Corbin Simpson
2009-10-11r300g: Fix fragment program constants upload on R300Nicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-11r300g: fix blending default state + alpha separate.Dave Airlie
this makes the default state same as r300
2009-10-10r300g: add video surface create and destroy functionsCooper Yuan
2009-10-07Merge branch 'master' into r300g-glslNicolai Hähnle
Conflicts: src/gallium/drivers/r300/r300_tgsi_to_rc.c Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-05r300g: fix scons buildJoakim Sindholt
So I didn't touch r300compiler, but r300g now compiles after having declarations and code untangled. As nha so gently points out, we shouldn't have to do this just to comply with MSVC compilers.