aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_reg.h
Commit message (Collapse)AuthorAgeFilesLines
* r300g: initialize some r500 PS3 regsMarek Olšák2011-03-011-0/+4
|
* r300g: Increase fragment shader limits for r400 cardsTom Stellard2011-01-231-6/+3
| | | | | r400 fragment shaders now support up to 64 temporary registers, 512 ALU instructions, and 512 TEX instructions.
* r300g: hyperz fixing typo.Dave Airlie2010-12-241-2/+2
| | | | | | | | | Really no idea why I didn't see this before, but these values were opposite the register spec. this seems to fix rv530 HiZ on my laptop, will reenable in next commit. Signed-off-by: Dave Airlie <[email protected]>
* r300g: try and use all of vertex constant spaceDave Airlie2010-12-051-1/+2
| | | | | | | | | | Finished up by Marek Olšák. We can set the constant space to use a different area per-call to the shader, we can avoid flushing the PVS as often as we do by spreading out the constants across the whole constant space. Signed-off-by: Marek Olšák <[email protected]>
* r300g: fix texture swizzling with compressed textures on r400-r500Marek Olšák2010-12-011-1/+1
| | | | | | This fixes all S3TC piglit/texwrap tests. NOTE: This is a candidate for the 7.9 branch.
* r300g: fix blitting between 2D NPOT mipmapsMarek Olšák2010-08-281-0/+1
| | | | | | | | | Even though MIP filtering is not supported, we can bind an arbitrary mipmap as the zero mipmap level. NPOT textures now follow GL_TEXTURE_BASE_LEVEL and GL_TEXTURE_MIN_LOD. This fixes piglit/fbo-copyteximage.
* r300/compiler: Implement hardware assisted loops for vertex shaders.Tom Stellard2010-08-101-0/+21
| | | | Single loops work, but nested loops do not.
* 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: minor fixupsMarek Olšák2010-07-081-1/+1
|
* r300g: Fix typo in r300_reg.hTom Stellard2010-07-031-2/+2
|
* r300g: add "has HiZ" flag, add ZMask regsMarek Olšák2010-06-241-0/+18
|
* r300g: manually assign texture cache regionsMarek Olšák2010-06-201-0/+34
| | | | This should fix corrupted texturing on r3xx-r4xx.
* r300g: reorder CS macros and document them a littleMarek Olšák2010-06-131-1/+10
|
* r300g: fix 24-bit depth texturingMarek Olšák2010-06-071-0/+1
| | | | | This is a secret texture format, do not tell anybody. And it looks like we can read stencil in the shader too.
* r300g: force prefetch for non-indexed verticesMarek Olšák2010-04-261-1/+1
|
* r300g: support some exotic sampler formatsMarek Olšák2010-04-111-1/+1
|
* r300g: add r4xx fragment shader registersMarek Olšák2010-04-041-1/+47
| | | | In case anyone needs it, it's here.
* r300g: add RGTC texture supportMarek Olšák2010-04-011-0/+20
| | | | The CS checker already knows about this.
* r300g: add high quality anisotropic filtering for R5xx (disabled by default)Marek Olšák2010-03-131-0/+4
| | | | | Oh look, an undocumented feature. It's a nice tool for benchmarking texturing.
* Grammar and spelling fixesJeff Smith2010-03-121-2/+2
| | | | | Signed-off-by: Jeff Smith <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* r3OOg: support rendering of more than 65535 vertices per draw call (almost)Marek Olšák2010-02-221-0/+3
| | | | | | | | | | The path for VAP_ALT_NUM_VERTICES is also in place (and tested) but not enabled by default due to the missing support of this reg in the upstream kernel. Also, a non-zero BUFFER_BASE in the INDX_BUFFER packet3 hangs the machine. Am I missing something? Because of this, only draw_arrays can render more than 65535 vertices without the use of VAP_ALT_NUM_VERTICES.
* r300: add half_float_vertex supportMarek Olšák2010-02-141-0/+3
|
* r300g: add emission of texture tiling bitsMarek Olšák2010-01-121-5/+11
|
* r300g: optimize blending by conditionally disabling reads from the colorbufferMarek Olšák2010-01-061-0/+2
|
* Merge branch 'mesa_7_7_branch'Brian Paul2010-01-041-8/+8
|\ | | | | | | | | | | | | | | | | Conflicts: docs/relnotes.html src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/r300/r300_cs.h src/mesa/drivers/dri/i965/brw_wm_surface_state.c src/mesa/main/enums.c
| * r300g: Remove comma at end of enumerator list.Vinson Lee2010-01-031-8/+8
| |
* | r300g: set the number of colorbuffers in RB3D_CCTLMarek Olšák2009-12-151-0/+1
| |
* | r300g: clean up r300_emit_aosMarek Olšák2009-12-091-0/+5
| |
* | r300g: add R300 prefix in reg definitionsMarek Olšák2009-12-011-41/+41
| |
* | r300g: fix typo in r300_reg.h to prevent the RS unit from doing random thingsMarek Olšák2009-11-201-1/+1
| | | | | | | | | | | | And reorder fragment shader inputs so that the colors are before texcoords, as is allocated by the shader compiler. This commit makes VS->FS attribute routing work on R500.
* | r300g: add texture lod clampingMarek Olšák2009-11-201-2/+3
|/ | | | | | These now work: piglit/lodclamp piglit/levelclamp
* r300, r300g: Add missing registers.Corbin Simpson2009-11-111-3/+5
|
* r300g: remove unnecessary assertionsMarek Olšák2009-10-311-2/+2
| | | | Also, correct typos in comments.
* r300g: fix emitting the stencil-ref and alpha-ref valuesMarek Olšák2009-10-281-0/+2
| | | | | | Signed-off-by: Corbin Simpson <[email protected]> DSA really needs its head examined someday. ~ C.
* r300g: Cleanup PSC setup math a bit and stop using Draw formats.Corbin Simpson2009-10-221-0/+21
|
* r300g: fixup arb occulsion query support.Dave Airlie2009-10-141-4/+11
| | | | | | | | | | | | | | | 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.
* r300g: add tx depth support in register.Dave Airlie2009-09-261-0/+1
| | | | also enable cube/3d bits in txformat reg
* r300g: Massively cleanup OQ.Corbin Simpson2009-08-181-0/+4
| | | | Still broken, but compiles cleaner, behaves better, etc.
* r300-gallium: Mipmap setup.Corbin Simpson2009-07-081-0/+1
| | | | (cherry picked from commit 88c01a15da5639dd68a6a0133724994cb66f1316)
* r300g: YCbCr and sRGB textures.Corbin Simpson2009-06-271-1/+2
|
* r300g: EXT_provoking_vertex.Corbin Simpson2009-06-261-4/+2
|
* r300g: Use real texture formats.Corbin Simpson2009-06-261-24/+20
| | | | What bugs me is that the YUV444 format somehow worked properly. :3
* r300-gallium: Improve vs emit.Corbin Simpson2009-06-051-0/+2
|
* r300-gallium: Make surface_copy actually load the texture in shader.Corbin Simpson2009-05-201-0/+1
|
* r300-gallium: Moar vert shader emit.Corbin Simpson2009-03-311-0/+6
|
* r300-gallium: Add some surface_copy.Corbin Simpson2009-03-271-0/+3
|
* r300-gallium: A bit more invariant state.Corbin Simpson2009-03-201-4/+13
|
* r300-gallium: Fixup registers for viewport state.Corbin Simpson2009-03-181-11/+19
|
* r300-gallium: Moar fixes in the register file.Corbin Simpson2009-03-101-6/+9
| | | | Sorry, but it's confusing when format0 in r300_reg != format0 in the docs.
* r300-gallium: A bit more vertex format fixup.Corbin Simpson2009-03-071-0/+8
|