summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300
AgeCommit message (Collapse)Author
2009-09-26r300g: add tx depth support in register.Dave Airlie
also enable cube/3d bits in txformat reg
2009-09-26r300g: only pass complete texture state to hw setup functionDave Airlie
No point passing things twice here, also allows more state to be setup properly.
2009-09-26r300g: add missing break in OQ emitDave Airlie
2009-09-26r300g: report GL1.5, enable cap bits for OQ and shadow.Dave Airlie
Its not like it works well on 1.3 so may as well reach for greater heights. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-09-26r300g: add z16 unorm texture formatDave Airlie
2009-09-26r300g: fix texture pitch to correct value.Dave Airlie
pitch is pixels - 1, not bytes.
2009-09-25r300g: add texture format for xvmcCooper Yuan
2009-09-21r300g: Fix bad formatting parameters in calls to debug_printfNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-09-16gallium: Deprecate PIPE_CAP_S3TC.José Fonseca
No longer used. S3TC support is queried via pipe_screen::is_format_supported.
2009-09-13r300g: delete unused flag due to commit: 09b566e1610Cooper Yuan
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-11r300g: only allocate one BO for vertex buffers, default size is 64*1024Cooper Yuan
it can fix redbook/sceneflat, scene, scenebamb, surface, nurbs and so on
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-09-05r300g: update the value of register VAP_VF_MAX_VTX_INDXCooper Yuan
according to actual vertex index count.
2009-09-05r300g: update rs_block state after changing rasterizerCooper Yuan
2009-09-05r300g: need to validate scissor and viewport state if bind new rasterizerCooper Yuan
2009-09-03r300g: specify point/line/triangle have stuffed texture coordCooper Yuan
2009-09-01tgsi: remove redundant CND0 opcodeKeith Whitwell
Can be implemented with CMP src2, src1, src0
2009-09-01r300g: Fix clear issue on r300Cooper Yuan
2009-08-27r300g: Correct scissor setting, subtract 1 from window's width and heightCooper Yuan
2009-08-24r300g: Set the vector address in the input memory for ↵Cooper Yuan
bypass_vs_clip_and_viewport case
2009-08-18r300g: Force off ZTOP optimizations for now.Corbin Simpson
2009-08-18r300g: Utilize DONTBLOCK.Corbin Simpson
Also ALGYRHYTHMS.
2009-08-18r300g: Massively cleanup OQ.Corbin Simpson
Still broken, but compiles cleaner, behaves better, etc.
2009-08-18r300g: Add high_second_pipe cap for R3xx chipsets.Corbin Simpson
This name is totally subject to change if ever I need to separate R3xx for some other reason.
2009-08-18Revert "r300-gallium, radeon-gallium: Nuke gb_pipes from orbit."Corbin Simpson
This reverts commit 6a40d1e9d96f8e8c57bc3bbd6f567cacd4471f59. Turns out that we *do* need these for OQ after all. Go figure. Conflicts: src/gallium/winsys/drm/radeon/core/radeon_r300.h
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.