summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* glsl: start restoring some geometry shader codeBrian Paul2010-11-231-0/+11
|
* glsl: better handling of linker failuresBrian Paul2010-11-231-19/+33
| | | | | Upon link error, exit translation loop, free program instructions. Check for null pointers in calling code.
* mesa: use gl_shader_type enumBrian Paul2010-11-231-3/+3
|
* mesa: replace #defines with new gl_shader_type enumBrian Paul2010-11-238-40/+53
|
* mesa: _mesa_valid_register_index() to validate register indexesBrian Paul2010-11-232-0/+103
|
* mesa: rename, make _mesa_register_file_name() non-staticBrian Paul2010-11-232-11/+12
| | | | Plus remove unused parameter.
* glsl: use gl_register_file in a few placesBrian Paul2010-11-231-4/+4
|
* glsl: fix off by one in register index assertionBrian Paul2010-11-231-1/+1
|
* gallium/egl: fix r300 vs r600 loadingAlex Deucher2010-11-231-1/+208
| | | | | Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=31841
* i965: Use the new embedded compare in SEL on gen6 for VS MIN and MAX opcodes.Eric Anholt2010-11-231-6/+24
| | | | Cuts the extra CMP instruction that used to precede SEL.
* i965: Don't upload line smooth params unless we're line smoothing.Eric Anholt2010-11-231-2/+3
|
* i965: Don't upload line stipple pattern unless we're stippling.Eric Anholt2010-11-231-0/+3
|
* i965: Don't upload polygon stipple unless required.Eric Anholt2010-11-231-1/+7
|
* i965: Move gen4 blend constant color to the gen4 blending file.Eric Anholt2010-11-232-34/+25
|
* r600g: Removed duplicated call to tgsi_split_literal_constant().Tilman Sauerbeck2010-11-231-4/+0
| | | | Signed-off-by: Tilman Sauerbeck <[email protected]>
* r300/compiler: Don't allow presubtract sources to be remapped twiceTom Stellard2010-11-231-1/+8
| | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=31193 NOTE: This is a candidate for the 7.9 branch.
* r600g: Only compare active vertex elementsMathias Fröhlich2010-11-231-1/+2
| | | | Signed-off-by: Tilman Sauerbeck <[email protected]>
* mesa: Clean up header file inclusion in syncobj.h.Vinson Lee2010-11-221-1/+5
|
* llvmpipe: Remove unnecessary headers.Vinson Lee2010-11-221-2/+0
|
* mesa: fix regression from b4bb6680200b5a898583392f4c831c02f41e63f7Xiang, Haihao2010-11-231-0/+7
| | | | | | | Pending commands to the previous context aren't flushed since commit b4bb668 Reported-by: Oleksiy Krivoshey <[email protected]> Signed-off-by: Xiang, Haihao <[email protected]>
* r600c: fix VC flush on cedar and palmAlex Deucher2010-11-221-1/+5
|
* r600g: add support for ontario APUsAlex Deucher2010-11-227-0/+36
| | | | Signed-off-by: Alex Deucher <[email protected]>
* r600c: add Ontario Fusion APU supportAlex Deucher2010-11-225-1/+24
| | | | 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 some winsys functions to deal properly with evergreenAlex Deucher2010-11-222-10/+15
| | | | Are these functions actually used anywhere?
* r600g: fix additional EVENT_WRITE packetAlex Deucher2010-11-222-1/+10
| | | | Add explicit EVENT_TYPE field
* 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.