aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_debug.c
Commit message (Collapse)AuthorAgeFilesLines
* r300g: implement MSAA compression and fast MSAA color clearMarek Olšák2013-01-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | These are optimizations which make MSAA a lot faster. The MSAA work is complete with this commit. (except for enablement of AA optimizations for RGBA16F, for which a patch is ready and waiting until the kernel CS checker fix lands) MSAA can't be made any faster as far as hw programming is concerned. The catch is only one process and one colorbuffer can use the optimizations at a time. There usually is only one MSAA colorbuffer, so it shouldn't be an issue. Also, there is a limit on the size of MSAA colorbuffer resolution in terms of megapixels. If the limit is surpassed, the AA optimizations are disabled. The limit is: - 1 Mpix on low-end and some mid-level chipsets (1024x768 and 1280x720) - 2 Mpix on some mid-level chipsets (1600x1200 and 1920x1080) - 3 or 4 Mpix on high-end chipsets (2048x1536 or 2560x1600, respectively) It corresponds to the number of raster pipes (= GB pipes) available, each pipe can hold 1 Mpix of AA compression data. If it's enabled, the driver prints to stdout: radeon: Acquired access to AA optimizations.
* r300g: optionally log MSAA resources to stderrMarek Olšák2013-01-091-0/+1
| | | | Set: RADEON_DEBUG=msaa
* r300g: remove unused debug option DBG_UPLOADMarek Olšák2011-06-011-2/+1
| | | | And renumber the options.
* r300g: remove fake occlusion queries (debug option)Marek Olšák2011-05-291-1/+0
|
* r300g: remove debug option DBG_FALLMarek Olšák2011-05-291-1/+0
|
* r300g: add debug options nozmask and nohiz which disable some hyper-z featuresMarek Olšák2011-02-121-0/+2
|
* r300g: print driver info if RADEON_DEBUG=infoMarek Olšák2011-01-271-0/+1
|
* r300g: add debug option for buffer upload loggingMarek Olšák2011-01-101-0/+1
|
* r300g: optimize looping over atomsMarek Olšák2010-12-051-1/+0
| | | | This also removes DBG_STATS (the stats can be obtained with valgrind instead).
* r300g: Add new debug option for logging vertex/fragment program statsTom Stellard2010-10-181-0/+1
|
* r300g: add new debug options for dumping scissor regs and disabling CBZB clearMarek Olšák2010-09-131-1/+3
|
* r300g: add a new debug option which disables compiler optimizationsMarek Olšák2010-09-041-18/+19
| | | | | | | | | | | | Those are: - dead-code elimination - constant folding - peephole (mainly copy propagation) - register allocation There are some bugs which I need to track down. Also fix up the descriptions of all the debug options.
* r300g: implement hyper-z support. (v4)Dave Airlie2010-08-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This implements fast Z clear, Z compression, and HiZ support for r300->r500 GPUs. It also allows cbzb clears when fast Z clears are being used for the ZB. It requires a kernel with hyper-z support. Thanks to Marek Olšák <[email protected]>, who started this off, and Alex Deucher at AMD for providing lots of hints. v2: squashed zmask ram size fix] squashed r300g/blitter: fix Z readback when compressed] v3: rebase around texture changes in master - .1 fix more bits v4: migrated to using u_mm in r300_texture to manage hiz/zmask rams consistently disabled HiZ when using OQ flush z-cache before turning hyper-z off update hyper-z state on dsa state change store depthclearvalue across cbzb clears and replace it afterwards. Signed-off-by: Dave Airlie <[email protected]>
* r300g: cleanup texture debug loggingMarek Olšák2010-07-251-0/+1
|
* r300g: extend and clean up debug loggingMarek Olšák2010-07-131-3/+6
|
* r300g: debug option for fake occlusion queriesMarek Olšák2010-06-181-0/+1
|
* r300g: drop DBG_CSMarek Olšák2010-06-131-1/+0
| | | | | I'd like the CS macros to be as lightweight as possible for performance reasons.
* r300g: use util/u_debugJoakim Sindholt2010-06-031-54/+5
|
* r300g: fix warningsMarek Olšák2010-05-231-2/+2
|
* r300g: Add RS block dump.Corbin Simpson2010-05-171-0/+81
| | | | Shows what's actually going on in the RS block.
* r300g: add framebuffer state debug loggingMarek Olšák2010-05-141-0/+1
|
* r300g: improve texture debug output, split into TEX and TEXALLOC flagsMarek Olšák2010-05-031-0/+1
|
* r300g: rasterizer debug loggingMarek Olšák2010-04-291-0/+1
|
* r300g: Add stats debug flag.Corbin Simpson2010-04-261-0/+1
|
* r300g: add debugging options "notiling" and "noimmd" (for testing)Marek Olšák2010-04-181-7/+9
| | | | | notiling = Disable texture tiling noimmd = Disable immediate mode (this optimization was really worth it!)
* r300g: print errors even on non-debug buildsMarek Olšák2010-03-271-4/+8
| | | | We really need to get these into bug reports.
* r300g: add high quality anisotropic filtering for R5xx (disabled by default)Marek Olšák2010-03-131-0/+1
| | | | | Oh look, an undocumented feature. It's a nice tool for benchmarking texturing.
* r300g: Remove unnecessary headers.Vinson Lee2010-01-271-2/+0
|
* r300g: move debug flags into r300_screenMarek Olšák2010-01-171-4/+4
|
* r300g: Miscellania. Avoid draw segfaults, s/true/TRUE/, etc.Corbin Simpson2009-11-011-3/+3
| | | | Cleared out my git stash.
* r300g: Remove unused debug flag.Corbin Simpson2009-10-211-1/+0
|
* r300g: More debug flags.Corbin Simpson2009-10-121-0/+2
|
* r300g: Surface debug.Corbin Simpson2009-10-121-0/+1
| | | | | It gets really annoying watching r300g tell me how it's filling surfaces. Or falling back during filling surfaces.
* r300g: fix scons buildJoakim Sindholt2009-10-051-3/+4
| | | | | | 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.
* r300g: Debug flags infrastructureNicolai Hähnle2009-09-061-0/+88
| | | | | | | | | | | 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: Use radeon compiler for fragment programsNicolai Hähnle2009-07-301-228/+0
| | | | This is entirely untested on R500, and needs more testing on R300.
* r300g: Use r300compiler for vertex shadersNicolai Hähnle2009-07-301-48/+78
|
* r300-gallium: organize fragment/vertex shadersJoakim Sindholt2009-06-261-27/+27
| | | | | | | | | | 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.
* r300-gallium: Improve vs debug more.Corbin Simpson2009-06-041-1/+4
| | | | Still not showing me why my stuff's failing, but getting there.
* r300-gallium: vs: Add negation, SUB.Corbin Simpson2009-06-041-1/+5
| | | | Doesn't work. WTF.
* r300: Moar vs debug.Corbin Simpson2009-06-041-3/+16
|
* r300-gallium: vs: Dupe tokens, better debug, count spurious insts.Corbin Simpson2009-05-171-4/+6
|
* r300-gallium: Start VS dumper.Corbin Simpson2009-05-091-76/+14
|
* r300-gallium: Properly interface with Draw for vert shaders.Corbin Simpson2009-04-051-0/+12
|
* r300-gallium: r300-fs: Moar.Corbin Simpson2009-03-251-0/+8
|
* r300-gallium: Fix spacing.Corbin Simpson2009-03-151-3/+3
| | | | It was driving me crazy.
* r300-gallium: r500-fs: More texture fixes.Corbin Simpson2009-03-111-8/+8
|
* r300-gallium: r500-fs: Add shader dumper and more tex work.Corbin Simpson2009-03-111-0/+218