summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300
Commit message (Collapse)AuthorAgeFilesLines
* r300g: report GL1.5, enable cap bits for OQ and shadow.Dave Airlie2009-09-261-4/+2
| | | | | | | Its not like it works well on 1.3 so may as well reach for greater heights. Signed-off-by: Dave Airlie <[email protected]>
* r300g: add z16 unorm texture formatDave Airlie2009-09-261-0/+2
|
* r300g: fix texture pitch to correct value.Dave Airlie2009-09-261-1/+1
| | | | pitch is pixels - 1, not bytes.
* r300g: add texture format for xvmcCooper Yuan2009-09-251-0/+3
|
* r300g: Fix bad formatting parameters in calls to debug_printfNicolai Hähnle2009-09-211-2/+2
| | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* gallium: Deprecate PIPE_CAP_S3TC.José Fonseca2009-09-161-2/+0
| | | | | No longer used. S3TC support is queried via pipe_screen::is_format_supported.
* r300g: delete unused flag due to commit: 09b566e1610Cooper Yuan2009-09-131-1/+0
|
* r300g: There is no such thing as "texture stride"Nicolai Hähnle2009-09-126-24/+47
| | | | | | | | | 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 <[email protected]>
* r300g: only allocate one BO for vertex buffers, default size is 64*1024Cooper Yuan2009-09-111-35/+33
| | | | it can fix redbook/sceneflat, scene, scenebamb, surface, nurbs and so on
* r300g: Fix a number of warningsNicolai Hähnle2009-09-0610-10/+23
| | | | Seriously guys....
* r300g: Debug flags infrastructureNicolai Hähnle2009-09-0610-21/+152
| | | | | | | | | | | 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
* r300g: update the value of register VAP_VF_MAX_VTX_INDXCooper Yuan2009-09-051-1/+2
| | | | according to actual vertex index count.
* r300g: update rs_block state after changing rasterizerCooper Yuan2009-09-051-0/+1
|
* r300g: need to validate scissor and viewport state if bind new rasterizerCooper Yuan2009-09-051-0/+2
|
* r300g: specify point/line/triangle have stuffed texture coordCooper Yuan2009-09-031-1/+3
|
* tgsi: remove redundant CND0 opcodeKeith Whitwell2009-09-011-1/+0
| | | | Can be implemented with CMP src2, src1, src0
* r300g: Fix clear issue on r300Cooper Yuan2009-09-011-3/+3
|
* r300g: Correct scissor setting, subtract 1 from window's width and heightCooper Yuan2009-08-272-7/+7
|
* r300g: Set the vector address in the input memory for ↵Cooper Yuan2009-08-241-16/+20
| | | | bypass_vs_clip_and_viewport case
* r300g: Force off ZTOP optimizations for now.Corbin Simpson2009-08-181-1/+2
|
* r300g: Utilize DONTBLOCK.Corbin Simpson2009-08-181-8/+19
| | | | Also ALGYRHYTHMS.
* r300g: Massively cleanup OQ.Corbin Simpson2009-08-186-29/+174
| | | | Still broken, but compiles cleaner, behaves better, etc.
* r300g: Add high_second_pipe cap for R3xx chipsets.Corbin Simpson2009-08-182-1/+11
| | | | | This name is totally subject to change if ever I need to separate R3xx for some other reason.
* Revert "r300-gallium, radeon-gallium: Nuke gb_pipes from orbit."Corbin Simpson2009-08-185-0/+26
| | | | | | | | | | 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
* r300g: Fix up remaining VAP_CNTL_STATUS writes for big endian.Michel Dänzer2009-08-111-2/+10
|
* r300g: Emit relocations for pitch registers.Michel Dänzer2009-08-112-7/+12
| | | | Fixes CS failures with tiling enabled kernels.
* r300g: a typo of debug messageCooper Yuan2009-08-111-1/+1
|
* r300g: Knock out another fragment of invariant state.Corbin Simpson2009-08-071-8/+3
| | | | Colorbuffer setup will always happen.
* gallium: Move minify() to u_math.Corbin Simpson2009-08-071-7/+0
| | | | | minify() is usually used in mipmap size calculation. Strangely enough, we all defined it as MAX2(1, d >> 1); imagine that. :3
* r300g: Remove r300_constant_buffer::user_count.Corbin Simpson2009-08-073-6/+3
| | | | Not needed with new compiler.
* r300g: Slightly saner initialization of some texture / transfer fields.Michel Dänzer2009-08-042-6/+5
|
* r300g: Use radeon compiler for fragment programsNicolai Hähnle2009-07-3017-1312/+450
| | | | This is entirely untested on R500, and needs more testing on R300.
* r300g: Remove extraneous printfNicolai Hähnle2009-07-301-2/+0
| | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* r300g: Use r300compiler for vertex shadersNicolai Hähnle2009-07-3015-748/+690
|
* r300g: Fix two trivial texture size issues.Corbin Simpson2009-07-261-2/+2
| | | | Next thing to fix: progs/tests/mipgen.
* r300g: Add some debugging, correct little bits of math in texture setup.Corbin Simpson2009-07-261-3/+12
| | | | Simple stuff still works, but not sure about some of the more complex things.
* r300g, radeon-gallium: Fix API, cleanup.Corbin Simpson2009-07-232-3/+6
| | | | Something called "validate" should return FALSE on failure, not TRUE.
* r300g: PIPE_CAP_BLEND_EQUATION_SEPARATE.Corbin Simpson2009-07-231-0/+2
|
* r300g: Actually mark shaders as translated/untranslated.Corbin Simpson2009-07-233-2/+8
| | | | | | 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.
* gallium: simplify tgsi_full_immediate structKeith Whitwell2009-07-222-4/+2
| | | | | | | | | | | | | 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.
* r300g: Guard R500 register writes by is_r500 check.Michel Dänzer2009-07-201-3/+5
| | | | | Flagged by the DRM command stream checker. This allows the driver to work on non-R500 cards.
* r300g: Small compile warning fixes.Nicolai Hähnle2009-07-133-2/+5
| | | | Signed-off-by: Corbin Simpson <[email protected]>
* r300g, radeon: Whitespace fixes.Nicolai Hähnle2009-07-131-1/+1
| | | | Signed-off-by: Corbin Simpson <[email protected]>
* r300g: Use align() instead of inline maths.Corbin Simpson2009-07-131-4/+7
|
* r300g: Remove VAP_CNTL_STATUS from invariant state.Corbin Simpson2009-07-081-6/+1
| | | | Seriously.
* r300g: Disable MSPOS registers for glisse's CS security checker.Corbin Simpson2009-07-081-4/+7
| | | | These will come back in someday, when we can properly use them.
* r300-gallium: Unify sampler and texture emit.Corbin Simpson2009-07-083-39/+26
| | | | They have to cross into each other's registers.
* r300-gallium: Mipmap setup.Corbin Simpson2009-07-082-10/+19
| | | | (cherry picked from commit 88c01a15da5639dd68a6a0133724994cb66f1316)
* r300g: Add endian fix to vertex fetcher setup.Corbin Simpson2009-07-081-2/+9
| | | | As reported and initially tested by MrCooper.
* r300g: Fix recursive Draw flush.Corbin Simpson2009-07-012-1/+7
| | | | | | Also just noticed that demos/copypix walks around the overlapping blit rules. Bad, bad Mesa. :3