summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300
Commit message (Collapse)AuthorAgeFilesLines
* u_vbuf_mgr: make u_vbuf_mgr_draw_begin return flags in a bitmaskMarek Olšák2011-06-191-4/+1
|
* r300g: rename AOS -> VARRAYSMarek Olšák2011-06-181-17/+17
|
* r300g: fix handling PREP_* optionsMarek Olšák2011-06-181-31/+32
| | | | | | This should fix rendering >65532 vertices using draw_arrays on r300-r400. NOTE: This is a candidate for the 7.10 branch.
* r300g: max_anisotropy of 1 is not anisotropic filteringMarek Olšák2011-06-111-1/+1
|
* r300g: fix texturing with non-3D textures and wrap R mode set to sample borderMarek Olšák2011-06-091-0/+6
| | | | | | | | | | If the wrap R (3rd) mode is set to CLAMP or CLAMP_TO_BORDER and the texture isn't 3D, r300 always samples the border color regardless of texture coordinates. I HATE THIS HARDWARE. NOTE: This is a candidate for the 7.10 branch.
* r300g: don't enable aniso with nearest filteringMarek Olšák2011-06-091-41/+39
|
* r300g: fix draw_vbo splitting on r3xx-r4xxMarek Olšák2011-06-091-5/+10
| | | | NOTE: This is a candidate for the 7.10 branch.
* r300g: make translate_primitive table-drivenMarek Olšák2011-06-091-24/+20
|
* gallium: s/bool/boolean/Brian Paul2011-06-081-1/+1
|
* r300g: consolidate deducing chipset infoMarek Olšák2011-06-074-392/+107
| | | | Use the new PCI ID table, make it simpler.
* r300g: remove unused debug option DBG_UPLOADMarek Olšák2011-06-012-15/+11
| | | | And renumber the options.
* r300g: set squared microtiling for the dummy zbufferMarek Olšák2011-05-311-1/+1
| | | | The pitch of 4 is allowed for squared microtiling only.
* r300g: log when getting unsupported texture formatMarek Olšák2011-05-311-4/+14
|
* r300g: clear can be killed by render conditionMarek Olšák2011-05-293-7/+35
| | | | | Fixes piglit: - NV_conditional_render/clear
* r300g: fix occlusion queries when depth test is disabled or zbuffer is missingMarek Olšák2011-05-292-6/+27
| | | | | | | | | | | | | | | From now on, depth test is always enabled in hardware. If depth test is disabled in Gallium, the hardware Z function is set to ALWAYS. If there is no zbuffer set, the colorbuffer0 memory is set as a zbuffer to silence the CS checker. This fixes piglit: - occlusion-query-discard - NV_conditional_render/bitmap - NV_conditional_render/drawpixels - NV_conditional_render/vertex_array
* r300g: cleanup render_condition a bitMarek Olšák2011-05-291-5/+3
|
* r300g: remove fake occlusion queries (debug option)Marek Olšák2011-05-293-58/+7
|
* r300g: remove debug option DBG_FALLMarek Olšák2011-05-292-2/+1
|
* r300g: print some HyperZ debug infoMarek Olšák2011-05-292-0/+4
|
* r300g: HiZ fixesMarek Olšák2011-05-151-24/+24
| | | | | | | Nothing special, just changing conditions for when HiZ can be enabled and when HiZ memory becomes invalid. I was thinking about it again and realized it had not been quite right.
* r300g: don't set other HyperZ states if depth and stencil tests are disabledMarek Olšák2011-05-151-14/+27
| | | | Such as HiZ.
* r300g: dynamically ask for and release Hyper-Z accessMarek Olšák2011-05-157-68/+126
| | | | | We ask for Hyper-Z access when clearing a zbuffer. We release it if no zbuffer clear has been done for 2 seconds.
* r300g: fix conversion from int to booleanMarek Olšák2011-05-151-2/+2
|
* r300g: unreference a zbuffer surface after decompressionMarek Olšák2011-05-091-0/+2
|
* r300g: remove redundant state variable hyperz_lockedMarek Olšák2011-05-095-14/+12
|
* r300g: handle seamless_cube_map capsMarek Olšák2011-05-071-0/+2
|
* r300/compiler: Rewrite register allocatorTom Stellard2011-04-301-0/+1
| | | | | | | The new allocator uses ra and does swizzle packing. Also, a data structure (struct rc_variable) and associated functions have been added for generating UD and DU chains.
* r300g: reorder capsMarek Olšák2011-04-241-13/+11
|
* r300g: fix exposing caps on r300-r400Marek Olšák2011-04-241-2/+2
| | | | Broken with 72239d16cd08113e994ea3508f91193c682b0930.
* r300g: do not advertise color_buffer_float on r300 and r400Marek Olšák2011-04-221-1/+1
| | | | It seems they can't do unclamped vertex colors. Tested on RV350.
* r300g: disallow A16F,L16F,LA16F,I16F texture formats on DRM<2.8.0Marek Olšák2011-04-221-4/+9
|
* gallium: add fallback for copying buffers to all driversMarek Olšák2011-04-211-0/+8
| | | | | | Just to keep drivers working. Reviewed-by: Jakob Bornecrantz <[email protected]>
* r300g: remove non-existing include path from SConscriptMarek Olšák2011-04-181-1/+0
|
* r300g/winsys: rename r300->radeon and do a little cleanupMarek Olšák2011-04-1822-439/+117
| | | | | Renaming a few files, types, and functions. Also make the winsys independent of r300g.
* r300g: disable ARB_draw_instanced on SWTCL chipsets.Marek Olšák2011-04-181-1/+1
| | | | This fixes Unigine Heaven.
* gallium: add and use generic function for querying patented format support (v2)Marek Olšák2011-04-152-19/+3
| | | | v2: Unsigned floats are allowed regardless of the configure switch.
* r300g: enable A/L/LA/I float render targetsMarek Olšák2011-04-151-14/+14
|
* Revert "r300g: handle DISCARD_WHOLE_RESOURCE for buffers"Marek Olšák2011-04-081-25/+10
| | | | | | | | | | | | | This reverts commit 437c748bf5072d2bded77a00c74c51cdb8b510e5. The commit is wrong for several reasons. One of them is when we grab a new buffer, we should update all the states it is bound in, including all parallel contexts. I don't think this is even doable. The correct solution would be upload data via a temporary buffer and do resource_copy_region to the original one. https://bugs.freedesktop.org/show_bug.cgi?id=36088
* r300g: fix another crash with hyperzMarek Olšák2011-04-082-22/+2
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=36086
* r300g: emit US_FORMAT on R520 onlyMarek Olšák2011-04-082-2/+2
|
* r300g: fix crash with hyperzMarek Olšák2011-04-081-6/+4
| | | | r300_update_hyperz_state is no longer required to be called here.
* r300g: Properly take the sampler view's first_level into account when sampling.Henri Verbeet2011-04-081-15/+21
| | | | | Signed-off-by: Brian Paul <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
* r300g: do not advertise R16F and RG16F on DRM < 2.8.0Marek Olšák2011-04-081-2/+5
|
* r300g: fix texturing with sizes > 2048 on r500Marek Olšák2011-04-087-8/+52
|
* r300g: postpone fragment shader state validation until draw_vboMarek Olšák2011-04-054-22/+52
|
* r300g: fix RG/LATC1_SNORM by doing UNORM->SNORM conversion in the shaderMarek Olšák2011-04-054-30/+63
|
* r300/compiler: implement the CND opcodeMarek Olšák2011-04-051-2/+1
| | | | No one uses it now, but I will need it for a lowering pass.
* r300g: tell the GLSL compiler to lower the continue opcodeMarek Olšák2011-04-031-2/+2
| | | | NOTE: This is a candidate for the stable branches.
* r300g: handle DISCARD_WHOLE_RESOURCE for buffersMarek Olšák2011-04-031-10/+25
|
* gallium: set PIPE_CAP_MIXED_COLORBUFFER_FORMATS in some driversMarek Olšák2011-04-011-0/+2
|