summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300
Commit message (Collapse)AuthorAgeFilesLines
* r300/compiler: allow 1024 instructions in r5xx vertex shadersMarek Olšák2010-06-233-9/+12
|
* r300/compiler: allow 32 temporaries in vertex shadersMarek Olšák2010-06-232-4/+4
|
* r300/compiler: emulate loops in vertex shadersMarek Olšák2010-06-232-4/+11
| | | | It is not perfect, but it is the best we got.
* r300/compiler: fix scons buildJoakim Sindholt2010-06-121-0/+1
|
* r300/compiler: Handle more complex conditionals in loops.Tom Stellard2010-06-111-71/+84
|
* r300/compiler: Fix warning.Tom Stellard2010-06-111-1/+1
|
* r300/compiler: Handle SGT and SLE at the beginning of loops.Tom Stellard2010-06-111-3/+11
|
* r300/compiler: Verify assumptions about opcode types.Tom Stellard2010-06-111-4/+33
|
* r300/compiler: Unroll loops that decrement the counter.Tom Stellard2010-06-111-49/+83
| | | | e.g. for(i=10; i>0; i--)
* r300/compiler: Unroll loops that have a constant number of iterations.Tom Stellard2010-06-111-2/+209
| | | | | This only works with for loops that increment the counter. e.g. for(i=0; i<10; i++)
* r300/compiler: Implement simple loop emulationTom Stellard2010-06-116-0/+230
| | | | | | | The loop emulation unrolls loops as may times as possbile while still keeping the shader program below the maximum instruction limit. At this point, there are no checks for constant conditionals. This is only enabled for fragment shaders.
* r300compiler: fix scons buildJoakim Sindholt2010-06-051-0/+2
|
* r300/compiler: implement SIN+COS+SCS for vertex shadersMarek Olšák2010-06-053-21/+76
|
* r300/compiler: implement SNE unwound for r3xx VS, natively for r5xx VSMarek Olšák2010-06-052-1/+37
|
* r300/compiler: implement SEQ unwound for r3xx VS, natively for r5xx VSMarek Olšák2010-06-052-0/+36
| | | | Fixes piglit/glsl-vs-vec4-indexing-4.
* r300/compiler: implement SFL for vertex shadersMarek Olšák2010-06-051-2/+3
| | | | And sort the "case" statements alphabetically.
* r300/compiler: print opcode names instead of numbersMarek Olšák2010-06-033-8/+8
|
* r300: fix blits for textures of width/height greater than 2048 on r5xxMarek Olšák2010-05-291-5/+9
| | | | Yes I am fixing r300c ... who knew?
* r300/compiler: implement SGT+SLE opcodesMarek Olšák2010-05-261-0/+20
| | | | Reported-by: Gianluca Anzolin <[email protected]>
* r300/compiler: fix dumping r5xx vertex shadersMarek Olšák2010-05-261-0/+3
|
* r300/compiler: move hardware caps to the radeon_compiler base structMarek Olšák2010-05-266-18/+19
| | | | Needed for vertex shaders too.
* r300/compiler: shorten swizzle expressionsMarek Olšák2010-05-261-44/+65
|
* r300/compiler: Implement constant foldingNicolai Hähnle2010-05-191-1/+215
| | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* r300/compiler: Emit 0.5 swizzle when necessary.Tom Stellard2010-05-191-1/+3
| | | | Signed-off-by: Marek Olšák <[email protected]>
* r300/compiler: fix peephole optimizerTom Stellard2010-05-161-1/+14
| | | | Tested-by: Marek Olšák <[email protected]>
* r300/compiler: Implement simple peephole optimizerNicolai Hähnle2010-05-168-47/+308
| | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* r300/compiler: silence a warningMarek Olšák2010-05-151-1/+1
|
* r300g: respect compare mode regardless of sampler typeMarek Olšák2010-05-082-1/+8
|
* r300/compiler: fake equal/notequal for shadow samplersMarek Olšák2010-05-081-0/+7
| | | | | This is actually better than a real implementation, which would be useless due to inaccuracy (I know because I've tried to implement it).
* r300/compiler: use perspective division only for TXP in shadow samplersMarek Olšák2010-05-081-23/+36
|
* r300/compiler: make shadow sampler codegen more readable, add commentsMarek Olšák2010-05-081-16/+28
|
* r300/compiler: shorten RC_*SWIZZLE* expressionsMarek Olšák2010-05-084-4/+5
|
* r300/compiler: generalize depth texture mode to support arbitrary swizzlesMarek Olšák2010-05-083-11/+7
|
* r300/compiler: fix LIT instruction case 0^0 = 1Marek Olšák2010-05-081-0/+24
|
* Merge branch 'gles2-2'Kristian Høgsberg2010-05-022-2/+4
|\ | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_util.h
| * dri: Add DRI entrypoints to create a context for a given APIKristian Høgsberg2010-04-282-2/+4
| |
* | Merge branch '7.8'Brian Paul2010-04-221-7/+8
|\ \ | |/ |/| | | | | | | Conflicts: src/mesa/state_tracker/st_format.c
| * r300: fix vertex unit setupAlex Deucher2010-04-221-7/+8
| | | | | | | | | | | | RV3xx is 2, RV560,RV570 is 8 Noticed by Tormod Volden.
* | r300/compiler: lower CEILMarek Olšák2010-04-193-1/+33
| |
* | r300/compiler: enable branch emulation for vertex shadersMarek Olšák2010-04-191-21/+22
| |
* | r300/compiler: optimize CMP for vertex shaders a bitMarek Olšák2010-04-191-20/+9
| |
* | r300/compiler: Use memory_pool_array_reserve in deadcode eliminationNicolai Hähnle2010-04-191-13/+2
| | | | | | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* | r300/compiler: Use memory_pool_array_reserve in r500-fragprog_emitNicolai Hähnle2010-04-191-17/+2
| | | | | | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* | r300/compiler: enable branch emulation for R500 fragment programsMarek Olšák2010-04-191-4/+13
| |
* | r300/compiler: Implement branch emulation for R300 fragment programsNicolai Hähnle2010-04-198-104/+512
| | | | | | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* | r300/compiler: Remove unnecessary header.Vinson Lee2010-04-171-2/+0
| |
* | r300/compiler: Add radeon_program_tex.c to SCons build.Vinson Lee2010-04-161-0/+1
| | | | | | | | This was missed in commit f8a14186809356871ae74159c774e9e3959a22e5.
* | r300/compiler: add emulation of all mirrored-clamp wrap modes for NPOT texturesMarek Olšák2010-04-172-2/+19
| |
* | r300/compiler: replace mirrored-repeat emulation with a faster versionMarek Olšák2010-04-171-62/+65
| | | | | | | | | | Also, the Negate bitfield was 1 instead of RC_MASK_XYZ in the previous version, causing incorrect rendering.
* | r300/compiler: add handy definitions for XYZ0 and smeared half swizzlingMarek Olšák2010-04-172-3/+5
| |