summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* st/mesa: set MaxUniformComponentsMarek Olšák2010-11-221-0/+1
| | | | Signed-off-by: Brian Paul <[email protected]>
* swrast: init alpha value to 1.0 in opt_sample_rgb_2d()Brian Paul2010-11-221-0/+1
|
* gallium: add PIPE_SHADER_CAP_SUBROUTINESMarek Olšák2010-11-2210-2/+25
| | | | | | | | | | | 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]>
* | r300/compiler: Add a more efficient version of rc_find_free_temporary()Tom Stellard2010-11-213-23/+110
| |
* | r300/compiler: Enable rename_reg pass for r500 cardsTom Stellard2010-11-212-79/+16
| | | | | | | | | | In addition, the rename_reg pass has been rewritten to use rc_get_readers().
* | r300/compiler: Use presubtract operations as much as possibleTom Stellard2010-11-218-67/+204
| | | | | | | | | | Previously, presubtract operations where only being used by instructions with less than three source source registers.
* | r300/compiler: Convert RGB to alpha in the schedulerTom Stellard2010-11-214-17/+320
| |
* | r300/compiler: Track readers through branches in rc_get_readers()Tom Stellard2010-11-214-38/+65
| |
* | r300/compiler: Handle BREAK and CONTINUE in rc_get_readers()Tom Stellard2010-11-211-0/+2
| |
* | r300/compiler: Add rc_get_readers()Tom Stellard2010-11-215-109/+246
| |
* | r300/compiler: Ignore alpha dest register when replicating the resultTom Stellard2010-11-211-1/+4
| | | | | | | | | | | | | | | | | | | | When the result of the alpha instruction is being replicated to the RGB destination register, we do not need to use alpha's destination register. This fixes an invalid "Too many hardware temporaries used" error in the case where a transcendent operation writes to a temporary register greater than max_temp_regs. NOTE: This is a candidate for the 7.9 branch.
* | r300/compiler: Use zero as the register index for unused sourcesTom Stellard2010-11-212-0/+6
| | | | | | | | | | | | | | | | | | This fixes an invalid "Too many hardware temporaries used" error in the case where a source reads from a temporary register with an index greater than max_temp_regs and then the source is marked as unused before the register allocation pass. NOTE: This is a candidate for the 7.9 branch.
* | r300/compiler: Fix instruction scheduling within IF blocksTom Stellard2010-11-211-17/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | Reads of registers that where not written to within the same block were not being tracked. So in a situations like this: 0: IF 1: ADD t0, t1, t2 2: MOV t2, t1 Instruction 2 didn't know that instruction 1 read from t2, so in some cases instruction 2 was being scheduled before instruction 1. NOTE: This is a candidate for the 7.9 branch.
* | r300/compiler: Fix register allocator's handling of loopsTom Stellard2010-11-211-10/+21
| | | | | | | | NOTE: This is a candidate for the 7.9 branch.
* | r300/compiler: Make sure presubtract sources use supported swizzlesTom Stellard2010-11-212-6/+15
| | | | | | | | NOTE: This is a candidate for the 7.9 branch.
* | r600: Remove unnecessary header.Vinson Lee2010-11-211-1/+0
| |
* | docs: add GL 4.1 statusMarek Olšák2010-11-211-0/+12
| |
* | st/mesa: enable ARB_explicit_attrib_location and EXT_separate_shader_objectsMarek Olšák2010-11-211-0/+2
| | | | | | | | | | | | | | | | | | | | Gallium drivers pass all piglit tests for the two (there are 12 tests for separate_shader_objects and 5 tests for explicit_attrib_location), and I was told the extensions don't need any driver-specific code. I made them dependent on PIPE_CAP_GLSL. Signed-off-by: Brian Paul <[email protected]>
* | mesa: fix get_texture_dimensions() for texture array targetsBrian Paul2010-11-211-5/+5
| | | | | | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31779
* | docs: update some GL 3.0 statusBrian Paul2010-11-211-5/+6
| |
* | mesa: hook up GL 3.x entrypointsBrian Paul2010-11-2117-11014/+12566
| | | | | | | | Fix up some details in the xml files and regenerate dispatch files.
* | glapi: rename GL3.xml to GL3x.xml as it covers all GL 3.x versionsBrian Paul2010-11-211-0/+0
| |
* | mesa: fix error msg typoBrian Paul2010-11-211-1/+1
| |
* | i915g: kill idws->poolDaniel Vetter2010-11-214-14/+7
| | | | | | | | | | | | | | | | | | The drm winsys only ever handles one gem memory manager. Rip out the unnecessary complication. Reviewed-by: Jakob Bornecrantz <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Signed-off-by: Jakob Bornecrantz <[email protected]>
* | i915g: kill buf->map_gttDaniel Vetter2010-11-212-15/+2
| | | | | | | | | | | | | | | | | | Not using the gtt is considered harmful for performance. And for partial uploads there's always drm_intel_bo_subdata. Reviewed-by: Jakob Bornecrantz <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Signed-off-by: Jakob Bornecrantz <[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.
* | st/vega: Fix vgReadPixels with a subrectangle.Chia-I Wu2010-11-211-4/+12
| | | | | | | | | | | | | | Fix a crash when the subrectangle is not inside the fb. Fix wrong pipe transfer when sx > 0 or sy + height != fb->height. This fixes "readpixels" demo.
* | st/vega: Set wrap_r for mask and blend samplers.Chia-I Wu2010-11-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | These two samplers use non-normalized texture coordinates. wrap_r cannot be PIPE_TEX_WRAP_REPEAT (the default). This fixes sp_tex_sample.c:1790:get_linear_unorm_wrap: Assertion `0' failed assertion failure.
* | st/vega: vegaLookupSingle should validate the state.Chia-I Wu2010-11-211-0/+2
| | | | | | | | Fix "lookup" demo crash.
* | tgsi: Add STENCIL to text parser.Chia-I Wu2010-11-211-1/+2
| | | | | | | | | | | | | | | | | | Fix OpenVG "filter" demo Program received signal SIGSEGV, Segmentation fault. 0xb7153dc9 in str_match_no_case (pcur=0xbfffe564, str=0x0) at tgsi/tgsi_text.c:86 86 while (*str != '\0' && *str == uprcase( *cur )) {
* | mesa: Clean up header file inclusion in stencil.h.Vinson Lee2010-11-201-1/+2
| |
* | mesa: Clean up header file inclusion in shared.h.Vinson Lee2010-11-201-1/+1
| |
* | mesa: Clean up header file inclusion in shaderapi.h.Vinson Lee2010-11-201-1/+3
| |
* | mesa: Clean up header file inclusion in scissor.h.Vinson Lee2010-11-201-1/+2
| |
* | mesa: Clean up header file inclusion in renderbuffer.h.Vinson Lee2010-11-201-1/+1
| |
* | mesa: Clean up header file inclusion in readpix.h.Vinson Lee2010-11-201-1/+2
| |
* | mesa: Clean up header file inclusion in rastpos.h.Vinson Lee2010-11-201-1/+4
| |