summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300
AgeCommit message (Collapse)Author
2009-08-11r300g: Fix up remaining VAP_CNTL_STATUS writes for big endian.Michel Dänzer
2009-08-11r300g: Emit relocations for pitch registers.Michel Dänzer
Fixes CS failures with tiling enabled kernels.
2009-08-11r300g: a typo of debug messageCooper Yuan
2009-08-07r300g: Knock out another fragment of invariant state.Corbin Simpson
Colorbuffer setup will always happen.
2009-08-07gallium: Move minify() to u_math.Corbin Simpson
minify() is usually used in mipmap size calculation. Strangely enough, we all defined it as MAX2(1, d >> 1); imagine that. :3
2009-08-07r300g: Remove r300_constant_buffer::user_count.Corbin Simpson
Not needed with new compiler.
2009-08-04r300g: Slightly saner initialization of some texture / transfer fields.Michel Dänzer
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: Remove extraneous printfNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-30r300g: Use r300compiler for vertex shadersNicolai Hähnle
2009-07-26r300g: Fix two trivial texture size issues.Corbin Simpson
Next thing to fix: progs/tests/mipgen.
2009-07-26r300g: Add some debugging, correct little bits of math in texture setup.Corbin Simpson
Simple stuff still works, but not sure about some of the more complex things.
2009-07-23r300g, radeon-gallium: Fix API, cleanup.Corbin Simpson
Something called "validate" should return FALSE on failure, not TRUE.
2009-07-23r300g: PIPE_CAP_BLEND_EQUATION_SEPARATE.Corbin Simpson
2009-07-23r300g: Actually mark shaders as translated/untranslated.Corbin Simpson
Also trust that Gallium will not give us TGSI that miscounts shader consts. This creates a 20x speedup on glxgears, from 8 FPS to 160 FPS.
2009-07-22gallium: simplify tgsi_full_immediate structKeith Whitwell
Remove the need to have a pointer in this struct by just including the immediate data inline. Having a pointer in the struct introduces complications like needing to alloc/free the data pointed to, uncertainty about who owns the data, etc. There doesn't seem to be a need for it, and it is unlikely to make much difference plus or minus to performance. Added some asserts as we now will trip up on immediates with more than four elements. There were actually already quite a few such asserts, but the >4 case could be used in the future to specify indexable immediate ranges, such as lookup tables.
2009-07-20r300g: Guard R500 register writes by is_r500 check.Michel Dänzer
Flagged by the DRM command stream checker. This allows the driver to work on non-R500 cards.
2009-07-13r300g: Small compile warning fixes.Nicolai Hähnle
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2009-07-13r300g, radeon: Whitespace fixes.Nicolai Hähnle
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2009-07-13r300g: Use align() instead of inline maths.Corbin Simpson
2009-07-08r300g: Remove VAP_CNTL_STATUS from invariant state.Corbin Simpson
Seriously.
2009-07-08r300g: Disable MSPOS registers for glisse's CS security checker.Corbin Simpson
These will come back in someday, when we can properly use them.
2009-07-08r300-gallium: Unify sampler and texture emit.Corbin Simpson
They have to cross into each other's registers.
2009-07-08r300-gallium: Mipmap setup.Corbin Simpson
(cherry picked from commit 88c01a15da5639dd68a6a0133724994cb66f1316)
2009-07-08r300g: Add endian fix to vertex fetcher setup.Corbin Simpson
As reported and initially tested by MrCooper.
2009-07-01r300g: Fix recursive Draw flush.Corbin Simpson
Also just noticed that demos/copypix walks around the overlapping blit rules. Bad, bad Mesa. :3
2009-07-01r300g: Use floats for surface_copy texcoords, use correct src and dest.Corbin Simpson
This makes demos/copypix better-looking. Horizontal dimensions are right now.
2009-06-27r300g: YCbCr and sRGB textures.Corbin Simpson
2009-06-27r300g: Fix EXT_packed_depth_stencil functionality.Corbin Simpson
Allow Z24S8 to be a true texture.
2009-06-26r300g: EXT_provoking_vertex.Corbin Simpson
2009-06-26r300g: S3TC.Corbin Simpson
tests/texcompress2 doesn't work, but tests/texcmp does (more or less.)
2009-06-26r300g: Use real texture formats.Corbin Simpson
What bugs me is that the YUV444 format somehow worked properly. :3
2009-06-26r300g: Definitively forbid unusable Z buffer/stencil formats.Corbin Simpson
2009-06-26r300g: Comment out assert for now.Corbin Simpson
Will fix with better constant refactoring later.
2009-06-26r300g: Be more specific on surface_copy fallbacks.Corbin Simpson
2009-06-26r300g: PIPE_CAP_TGSI_CONT_SUPPORTED.Corbin Simpson
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-05r300-gallium: Mute some debug info.Corbin Simpson
Most of it is no longer interesting.
2009-06-04r300-gallium: vs: Fix negation calculation.Corbin Simpson
Still doesn't draw right, but at least it's the right numbers now. Thanks to taiu in #dri-devel.
2009-06-04r300-gallium: Fix pasta.Corbin Simpson
Trivial but annoying.
2009-06-04r300-gallium: Improve vs debug more.Corbin Simpson
Still not showing me why my stuff's failing, but getting there.
2009-06-04r300-gallium: vs: Add negation, SUB.Corbin Simpson
Doesn't work. WTF.
2009-06-04r300: Moar vs debug.Corbin Simpson