summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_emit.c
AgeCommit message (Collapse)Author
2009-11-04r300g: fix the size of CS when emitting the fragprog constant bufferMarek Olšák
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2009-11-04r300g: set the correct offset in a colorbuffer surfaceMarek Olšák
Suggested by Joakim Sindholt. Also, put flushing of colorbuffers _before_ the framebuffer state setup, suggested by docs. Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2009-11-04r300g: add color channel maskingMarek Olšák
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2009-11-01r300g: Miscellania. Avoid draw segfaults, s/true/TRUE/, etc.Corbin Simpson
Cleared out my git stash.
2009-11-01r300g: fix geometry corruptionsMaciej Cencora
PVS flush is needed before changing the vertex shader or vertex shader constants.
2009-11-01r300g: split constant buffer and shader emittionMaciej Cencora
2009-10-31r300g: correct the pitch calculation for smaller mipmapsMarek Olšák
2009-10-31r300g: add precalculating of pixel pitch, add a new NPOT flagMarek Olšák
2009-10-31r300g: fix crash in r300_is_texture_referencedMarek Olšák
Also, a subtle fix in emitting a texture state
2009-10-28r300g: fix emitting the stencil-ref and alpha-ref valuesMarek Olšák
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com> DSA really needs its head examined someday. ~ C.
2009-10-28r300g: fix the WRAP_T mode when using 1D texturesMarek Olšák
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2009-10-28r300g: fix blending and do some optimizationsMarek Olšák
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2009-10-21r300g: Cleanup header includes.Corbin Simpson
2009-10-18r300g: Fix up a bunch of warnings.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: remove buffer add that should be unnecessary.Dave Airlie
This should be handled in the emit fine
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-11r300g: Fix fragment program constants upload on R300Nicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-09-26r300g: add missing break in OQ emitDave Airlie
2009-09-12r300g: There is no such thing as "texture stride"Nicolai Hähnle
Individual texture images have a stride, but textures as a whole do not. There are still pieces of code which are confused about this, but the core of the confusion is hopefully gone. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-09-06r300g: Fix a number of warningsNicolai Hähnle
Seriously guys....
2009-09-06r300g: Debug flags infrastructureNicolai Hähnle
So that debugging is no longer a full-spam-or-nothing approach, you are now supposed to set the RADEON_DEBUG environment flag just like for classic Mesa. The available debug flags are different, however. Just running an OpenGL application with RADEON_DEBUG set to an arbitrary string will print out helpful information. Everything must be compiled with -DDEBUG for any of this to work
2009-08-18r300g: Massively cleanup OQ.Corbin Simpson
Still broken, but compiles cleaner, behaves better, etc.
2009-08-11r300g: Emit relocations for pitch registers.Michel Dänzer
Fixes CS failures with tiling enabled kernels.
2009-07-30r300g: Use radeon compiler for fragment programsNicolai Hähnle
This is entirely untested on R500, and needs more testing on R300.
2009-07-30r300g: Use r300compiler for vertex shadersNicolai Hähnle
2009-07-23r300g, radeon-gallium: Fix API, cleanup.Corbin Simpson
Something called "validate" should return FALSE on failure, not TRUE.
2009-07-08r300-gallium: Unify sampler and texture emit.Corbin Simpson
They have to cross into each other's registers.
2009-06-26r300g: Comment out assert for now.Corbin Simpson
Will fix with better constant refactoring later.
2009-06-26r300-gallium: Ensure that no dirty state goes unemitted.Corbin Simpson
2009-06-26r300-gallium: organize fragment/vertex shadersJoakim Sindholt
Appart from separating r3xx/r5xx fragment shaders, a more consistent naming scheme has been applied. From now on: r300 = all chips r3xx = R300/R400 only r5xx = R500 only This way r300_fragment_shader is the master struct, and the structs r3xx_fragment_shader and r5xx_fragment_shader inherits it.
2009-06-08r300-gallium: HW TCL glxgears. (Read the rest of the log.)Corbin Simpson
Um. So, yeah. Two massive WTF moments here. The first one is that, somehow, I never actually hooked up vertex shader emission, so the only time that the VAP gets set up is during surface_copy/surface_fill. That's why acidgears was happening. The second one is that, somehow, once I actually hooked it up, glxgears just magically worked. Without any actual, real testing, I somehow accidentally made the shader compiler work. Go figure.
2009-06-08r300-gallium: Make UCP and clip work again for SW TCL.Corbin Simpson
SW TCL: tri-clip works, tri-userclip works HW TCL: tri-clip fails, tri-userclip works That is a 200% improvement over the previous situation. Woot.
2009-06-08r300-gallium: Don't emit UCP planes for SW TCL.Corbin Simpson
2009-06-05r300-gallium: Use VAP_CLIP_CNTL.Corbin Simpson
Makes tri-userclip work with HW TCL.
2009-06-05r300-gallium: Emit UCP.Corbin Simpson
2009-06-05r300-gallium: Improve vs emit.Corbin Simpson
2009-06-04r300-gallium: Fix pasta.Corbin Simpson
Trivial but annoying.
2009-05-28r300-gallium, radeon-gallium: Make add_buffer indicate when a flush is needed.Corbin Simpson
On a side note, why is RADEON_MAX_BOS 24? Should ask airlied about that.
2009-05-20r300-gallium: Make surface_copy work, and refactor buffer validation.Corbin Simpson
2009-05-18r300-gallium: Always do VTE, never software viewport.Corbin Simpson
This makes glxgears draw properly with SW TCL.
2009-05-17r300-gallium: Comment out useless debugging code.Corbin Simpson
Those parts are nearly solid compared to the shaders.
2009-05-16r300-gallium: Various cleanups leftover from before.Corbin Simpson
BEGIN/END_CS pair, a few asserts, and a slightly more correct VTE setup.
2009-05-13r300-gallium: Space accounting for textures.Corbin Simpson