summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* r300/compiler: implement and lower OPCODE_CLAMPMarek Olšák2010-12-011-1/+1
| | | | Needed for st/vega.
* svga: Silence debug printf.José Fonseca2010-12-011-1/+0
|
* llvmpipe: Fix build errors on x86.Chia-I Wu2010-12-012-4/+5
| | | | | The errors were introduced by efc82aef35a2aac5d2ed9774f6d28f2626796416.
* gallivm/llvmpipe: squash merge of the llvm-context branchBrian Paul2010-11-3032-655/+692
| | | | | | | | | | | | | | This branch defines a gallivm_state structure which contains the LLVMBuilderRef, LLVMContextRef, etc. All data structures built with this object can be periodically freed during a "garbage collection" operation. The gallivm_state object has to be passed to most of the builder functions where LLVMBuilderRef used to be used. Conflicts: src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c src/gallium/drivers/llvmpipe/lp_state_setup.c
* r300g: fix texture border color once againMarek Olšák2010-11-301-2/+37
| | | | | | | | | I made the texwrap test be more thorough and realized that this driver code had not been quite right. This commit fixes the border color for depth textures, compressed textures, and 16-bits-per-channel textures with up to 2 channels (R16, RG16). NOTE: This is a candidate for the 7.9 branch.
* scons: add alias for identityZack Rusin2010-11-301-0/+2
|
* llvmpipe: shortcircuit some calls to set_scene_stateKeith Whitwell2010-11-301-1/+1
|
* llvmpipe: remove misleading debug stringKeith Whitwell2010-11-301-1/+0
|
* llvmpipe: raise dirty flag on transfers to bound constbufKeith Whitwell2010-11-301-0/+5
| | | | | Need this to trigger the scene to update its shadow of the constant state.
* scons: Alias for svgaJosé Fonseca2010-11-301-0/+2
|
* svga: Use consistent hexadecimal representation on debug output.José Fonseca2010-11-301-1/+1
|
* util: rename u_mempool -> u_slabMarek Olšák2010-11-305-21/+21
|
* r600g: it looks like r600 can handle dword offsets in the indices.Dave Airlie2010-11-291-7/+0
| | | | | Tested with piglit + ut2004 still seems to render okay (and it definitely does this)
* r600g: Fix the PIPE_FORMAT_A8_UNORM color swap for Evergreen as well.Henri Verbeet2010-11-271-0/+1
|
* r600g: Fix the PIPE_FORMAT_L8A8_UNORM color swaps.Henri Verbeet2010-11-272-0/+2
|
* nvfx: reset nvfx->hw_zetaXavier Chantry2010-11-251-1/+3
| | | | | | | | | | | | If nvfx_framebuffer prepare and validate were called successively with fb->zsbuf not NULL and then NULL, nvfx->hw_zeta would contain garbage and this would cause failures in nvfx_framebuffer_relocate/OUT_RELOC(hw_zeta). This was triggered by piglit/texwrap 2D GL_DEPTH_COMPONENT24 and caused first a 'write to user buffer!!' error in libdrm and then worse things. Signed-off-by: Xavier Chantry <[email protected]> Signed-off-by: Francisco Jerez <[email protected]>
* nvfx: fb->nr_cbufs <= 1 on nv30Xavier Chantry2010-11-251-1/+1
| | | | | | | | 7e1bf946316ff99feaa3f2e85f70b45bd9a77ade changed PIPE_CAP_MAX_RENDER_TARGETS to 1 on nv30. Signed-off-by: Xavier Chantry <[email protected]> Signed-off-by: Francisco Jerez <[email protected]>
* r600g: Removed duplicated call to tgsi_split_literal_constant().Tilman Sauerbeck2010-11-231-4/+0
| | | | Signed-off-by: Tilman Sauerbeck <[email protected]>
* r600g: Only compare active vertex elementsMathias Fröhlich2010-11-231-1/+2
| | | | Signed-off-by: Tilman Sauerbeck <[email protected]>
* llvmpipe: Remove unnecessary headers.Vinson Lee2010-11-221-2/+0
|
* r600g: add support for ontario APUsAlex Deucher2010-11-224-0/+26
| | | | Signed-off-by: Alex Deucher <[email protected]>
* r300g: Avoid returning values in a static array, fixing a potential raceMathias Fröhlich2010-11-221-11/+21
| | | | | | | | (Marek: added the initializion of "vec" in the default statement) NOTE: This is a candidate for the 7.9 branch. Signed-off-by: Marek Olšák <[email protected]>
* r600g: fix additional EVENT_WRITE packetAlex Deucher2010-11-221-0/+9
| | | | Add explicit EVENT_TYPE field
* gallium: add PIPE_SHADER_CAP_SUBROUTINESMarek Olšák2010-11-227-0/+20
| | | | | | | | | | | This fixes piglit/glsl-vs-main-return and glsl-fs-main-return for the drivers which don't support RET (i915g, r300g, r600g, svga). ir_to_mesa does not currently generate subroutines, but it's a matter of time till it's added. It would then break all the drivers which don't implement them, so this CAP makes sense. Signed-off-by: Marek Olšák <[email protected]>
* Merge branch 'lp-offset-twoside'Keith Whitwell2010-11-226-69/+306
|\
| * llvmpipe: twoside for specular color alsoKeith Whitwell2010-11-194-20/+42
| |
| * llvmpipe: fix up twoside after recent changesKeith Whitwell2010-11-191-8/+7
| | | | | | | | Fix my slot/attr confusion.
| * llvmpipe: fix such that offset/twoside function only does in-place modificationHui Qi Tay2010-11-191-155/+159
| |
| * llvmpipe: clean up polygon offset function in lp setup codeHui Qi Tay2010-11-151-44/+16
| |
| * llvmpipe: added llvm offset setup codeHui Qi Tay2010-11-044-46/+143
| |
| * llvmpipe: Moved draw pipeline twoside function to llvm setup codeHui Qi Tay2010-11-014-5/+103
| |
| * llvmpipe: turn off draw offset/twoside when we can handle itKeith Whitwell2010-10-221-27/+72
| |
* | r600g: pick correct color swap for A8 fbos.Dave Airlie2010-11-221-0/+1
| | | | | | | | | | | | This fixes fdo bug 31810. Signed-off-by: Dave Airlie <[email protected]>
* | i915g: kill RGBA/X formatsDaniel Vetter2010-11-211-4/+0
| | | | | | | | | | | | | | | | It's intel, so always little endian! Reviewed-by: Jakob Bornecrantz <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Signed-off-by: Jakob Bornecrantz <[email protected]>
* | i915g: add pineview pci idsDaniel Vetter2010-11-212-0/+10
| | | | | | | | | | | | Reviewed-by: Jakob Bornecrantz <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Signed-off-by: Jakob Bornecrantz <[email protected]>
* | i915g: s/hw_tiled/tilingDaniel Vetter2010-11-212-6/+7
| | | | | | | | | | | | | | | | | | | | More in line with other intel drivers. Change to use enum by Jakob Bornecrantz. Reviewed-by: Jakob Bornecrantz <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Signed-off-by: Jakob Bornecrantz <[email protected]>
* | i915g: rip out ->sw_tiledDaniel Vetter2010-11-214-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It looks like this was meant to facilitate unfenced access to textures/ color/renderbuffers. It's totally incomplete and fundamentally broken on a few levels: - broken: The kernel needs to about every tiled bo to fix up bit17 swizzling on swap-in. - unflexible: fenced/unfenced relocs from execbuffer2 do the same, much simpler. - unneeded: with relaxed fencing tiled gem bos are as memory-efficient as this trick. Hence kill it. Reviewed-by: Jakob Bornecrantz <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Signed-off-by: Jakob Bornecrantz <[email protected]>
* | r300g: silence guard band cap errorsJoakim Sindholt2010-11-211-0/+7
| | | | | | | | | | | | Somebody should find out what these are. It can be found on Windows getting a D3DCAPS9 from IDirect3D9::GetCaps() and reading the GuardBand* values.
* | nvfx: only expose one rt on nv30Xavier Chantry2010-11-201-1/+1
| | | | | | | | We do not know how to use more, GL_ARB_draw_buffers is not exposed on blob.
* | r600g: Fix location for clip plane registersOwen W. Taylor2010-11-202-8/+8
| | | | | | | | | | | | | | | | The stride between the different clip plane registers was incorrect. https://bugs.freedesktop.org/show_bug.cgi?id=31788 agd5f: fix evergreen as well.
* | r300g: fix rendering with no vertex elementsMarek Olšák2010-11-204-5/+40
| | | | | | | | | | Fixes glsl-vs-point-size, although I meant to fix glsl-novertexdata. Since swrast fails glsl-novertexdata too, I guess it's a core issue.
* | r600g: use full range of VS resources for vertex samplersAlex Deucher2010-11-193-4/+2
| | | | | | | | | | Now that we have fetch shaders, the full range of VS resources can be used for sampling.
* | r600g: use meaningful defines for chiprevAlex Deucher2010-11-193-19/+24
| | | | | | | | Makes the code much clearer.
* | r600g: translate ARR instruction for evergreenAlex Deucher2010-11-191-4/+13
| | | | | | | | | | evergreen variant of: 9f7ec103e26c67cb077fd7d94d2fb68562b86c40
* | r600g: add fetch shader capabilitiesJerome Glisse2010-11-199-12/+92
| | | | | | | | | | | | | | | | Use fetch shader instead of having fetch instruction in the vertex shader. Allow to restrict shader update to a smaller part when vertex buffer input layout changes. Signed-off-by: Jerome Glisse <[email protected]>
* | gallium/noop: report GL 2.1Dave Airlie2010-11-181-5/+8
| | | | | | | | | | this should at least make app use the same paths as they would for a real driver.
* | r600g: fix buffer alignmentAlex Deucher2010-11-171-10/+35
| | | | | | | | This should fix the remaining buffer alignment issues in r600g.
* | gallium: Remove redundant sw and debug target helpersJakob Bornecrantz2010-11-174-118/+0
| |
* | r600g: code cleanup (indent, trailing space, empty line ...)Jerome Glisse2010-11-179-73/+70
| | | | | | | | Signed-off-by: Jerome Glisse <[email protected]>
* | r300g: print FS inputs uninitialized due to hardware limits to stderrMarek Olšák2010-11-171-7/+17
| |