summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* handle frag progs that write ZBrian2007-10-031-13/+10
|
* basic support for reading GL_DEPTH_COMPONENTBrian2007-10-031-3/+34
|
* added s8z24_get_tile()Brian2007-10-031-0/+37
|
* fix eq/neq bugsBrian2007-10-031-16/+4
|
* fix f/u mix-up in micro_trunc()Brian2007-10-031-4/+4
|
* move TEX code into exec_tex()Brian2007-10-031-89/+125
|
* Some minor cleanups.Michel Dänzer2007-10-031-6/+5
|
* Double amount of memory allocated for generated shader code.Michel Dänzer2007-10-031-1/+1
| | | | The code generated for the glxgears vertex shader didn't fit, causing a crash.
* Track fragment and vertex shader code generation via pipe shader state objects.Michel Dänzer2007-10-0310-31/+45
| | | | | Unfortunately, the generated fragment shader code is effectively unusable until it handles quad->mask.
* intel_winsys: Adapt to DRM changes (again).Michel Dänzer2007-10-031-4/+4
| | | | | It was decided after all to stick to 'pipes' here, even though the actual meaning is now 'planes'.
* In vertex shaders also expect the template to be stack allocatedZack Rusin2007-10-031-1/+5
| | | | structure so allocate a private copy of it.
* Unify the definitions of the 4 component dot product into oneZack Rusin2007-10-033-25/+10
| | | | location.
* Unify handling of userplanes and regular planes to simplifyZack Rusin2007-10-034-58/+30
| | | | | the clipping code. (really done by Keith)
* Get rid of ST_NEW_SHADER flag and the dependency on _NEW_PROGRAMZack Rusin2007-10-033-13/+18
| | | | which is being hit all the time. Done by Keith really.
* Explain a little better what we're doing here.Zack Rusin2007-10-031-3/+10
|
* Make softpipe behave more like a real driver by always allocating somethingZack Rusin2007-10-034-14/+27
| | | | in the state functions.
* clean-upsBrian2007-10-021-21/+12
|
* Implement/use fragment kill resultsBrian2007-10-023-9/+9
|
* Implement TGSI_OPCODE_SNE with micro_ne()Brian2007-10-021-1/+20
|
* Separate TGSI_OPCODE_KIL and TGSI_OPCODE_KILP (predicated).Brian2007-10-024-6/+31
| | | | | | These correspond to the NV and ARB-style fragment program KIL instructions. The former is really supposed to examine the NV condition codes but Mesa's GLSL compiler always emits unconditional KIL instructions.
* assert that program length > 1 (some code, plus END)Brian2007-10-021-0/+3
|
* added MESA_FORMAT_Z16 in st_mesa_format_to_pipe_format(), for GleanBrian2007-10-021-0/+2
|
* Generate a texenv fragment program if there's a GLSL vertex shader but no ↵Brian2007-10-021-1/+2
| | | | | | GLSL fragment shader. This allows Glean glsl1 test to get pretty far.
* Push mask stacks upon CAL, pop upon RET.Brian2007-10-021-0/+19
| | | | Still need to handle conditional RET statements...
* added license and interpreter commentsBrian2007-10-021-0/+52
|
* Implement CONT statement.Brian2007-10-022-8/+26
|
* added micro_trunc(), re-order some codeBrian2007-10-021-32/+47
|
* Minor optimization: no-op CAL when ExecMask==0x0.Brian2007-10-021-3/+6
|
* Added TGSI_FILE_OUTPUT case in fetch_src_file_channel().Brian2007-10-021-0/+8
| | | | | GLSL output variables (such as vertex varyings) can be read (they're not write-only).
* Implement CAL/RET and a call stack for subroutines.Brian2007-10-023-22/+37
| | | | The glsl/brick.c shader demo runs now.
* Added TGSI_OPCODE_ENDBrian2007-10-025-28/+26
| | | | | Halt program execution when we get to END instruction. The GLSL compiler puts subroutines after the end instruction so we have to stop before then.
* Fold expand_program() into tgsi_exec_prepare()Brian2007-10-022-88/+48
|
* no more need for tgsi_exec_machine_run2(), remove dead codeBrian2007-10-022-59/+1
|
* remove dead codeBrian2007-10-021-13/+1
|
* Move tgsi machine state init/allocations so they're done less frequently.Brian2007-10-025-142/+179
| | | | | This, plus expanding all instructions ahead of time, seems to have improved the performance of program execution by 8x or so.
* checkpoint: unpack all instructions before interpretation. Actual looping ↵Brian2007-10-024-9/+130
| | | | works.
* comments/code for min/max_lod - revisit somedayBrian2007-10-011-0/+10
|
* use i915_miptree_layout when using an i915Brian2007-10-011-1/+1
|
* avoid updating vertex format when it doesn't really changeBrian2007-10-011-35/+39
|
* don't crash in RasterPos if feedback not implemented yetBrian2007-10-011-3/+6
|
* disable debug printfBrian2007-10-011-0/+2
|
* don't crash when fog enabled, still not rendered correctly thoughBrian2007-10-011-0/+4
|
* remove specular color assertion (the path works)Brian2007-10-011-1/+0
|
* fix a few vert/frag program items to get i915 driver going againBrian2007-10-015-16/+8
|
* Initial conditional execution support for loops and BRK instruction.Brian2007-09-292-94/+110
| | | | | Also, instead of passing cond mask to each micro op, just apply it in the store_dest() function.
* remove unused tgsi_exec_cond_* typesBrian2007-09-291-24/+0
|
* Initial implementation of IF/ELSE/ENDIF using conditional masking.Brian2007-09-282-191/+124
| | | | | | mach->CondMask controls writing to each of the 4 components in a quad. mach->CondMaskStack handles nested conditionals. Only a few of the micro ops (add/sub/mul/store) have been updated to obey CondMask at this time.
* fix bug causing unnecessary translationsBrian2007-09-281-1/+1
|
* remove old debug code, fix warningBrian2007-09-281-11/+0
|
* fix st_use_program()Brian2007-09-281-0/+3
|