summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-10-03Get rid of ST_NEW_SHADER flag and the dependency on _NEW_PROGRAMZack Rusin
which is being hit all the time. Done by Keith really.
2007-10-03Explain a little better what we're doing here.Zack Rusin
2007-10-03Make softpipe behave more like a real driver by always allocating somethingZack Rusin
in the state functions.
2007-10-02clean-upsBrian
2007-10-02Implement/use fragment kill resultsBrian
2007-10-02Implement TGSI_OPCODE_SNE with micro_ne()Brian
2007-10-02Separate TGSI_OPCODE_KIL and TGSI_OPCODE_KILP (predicated).Brian
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.
2007-10-02assert that program length > 1 (some code, plus END)Brian
2007-10-02added MESA_FORMAT_Z16 in st_mesa_format_to_pipe_format(), for GleanBrian
2007-10-02Generate a texenv fragment program if there's a GLSL vertex shader but no ↵Brian
GLSL fragment shader. This allows Glean glsl1 test to get pretty far.
2007-10-02Push mask stacks upon CAL, pop upon RET.Brian
Still need to handle conditional RET statements...
2007-10-02added license and interpreter commentsBrian
2007-10-02Implement CONT statement.Brian
2007-10-02added micro_trunc(), re-order some codeBrian
2007-10-02Minor optimization: no-op CAL when ExecMask==0x0.Brian
2007-10-02Added TGSI_FILE_OUTPUT case in fetch_src_file_channel().Brian
GLSL output variables (such as vertex varyings) can be read (they're not write-only).
2007-10-02Implement CAL/RET and a call stack for subroutines.Brian
The glsl/brick.c shader demo runs now.
2007-10-02Added TGSI_OPCODE_ENDBrian
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.
2007-10-02Fold expand_program() into tgsi_exec_prepare()Brian
2007-10-02no more need for tgsi_exec_machine_run2(), remove dead codeBrian
2007-10-02remove dead codeBrian
2007-10-02Move tgsi machine state init/allocations so they're done less frequently.Brian
This, plus expanding all instructions ahead of time, seems to have improved the performance of program execution by 8x or so.
2007-10-02checkpoint: unpack all instructions before interpretation. Actual looping ↵Brian
works.
2007-10-01comments/code for min/max_lod - revisit somedayBrian
2007-10-01use i915_miptree_layout when using an i915Brian
2007-10-01avoid updating vertex format when it doesn't really changeBrian
2007-10-01don't crash in RasterPos if feedback not implemented yetBrian
2007-10-01disable debug printfBrian
2007-10-01don't crash when fog enabled, still not rendered correctly thoughBrian
2007-10-01remove specular color assertion (the path works)Brian
2007-10-01fix a few vert/frag program items to get i915 driver going againBrian
2007-09-29hack in some code to test loops, breakBrian
2007-09-29Initial conditional execution support for loops and BRK instruction.Brian
Also, instead of passing cond mask to each micro op, just apply it in the store_dest() function.
2007-09-29remove unused tgsi_exec_cond_* typesBrian
2007-09-28temporary hack to test nested conditionalsBrian
2007-09-28Initial implementation of IF/ELSE/ENDIF using conditional masking.Brian
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.
2007-09-28fix bug causing unnecessary translationsBrian
2007-09-28remove old debug code, fix warningBrian
2007-09-28fix st_use_program()Brian
2007-09-28Instead of linked program pairs, keep a list of vertex programs translated ↵Brian
for each fragment program.
2007-09-28Use texture->first_level, not 0, when not mipmapping.Brian
Fixes crash when GL_BASE_LEVEL!=0. Also, remove old assertion.
2007-09-28Gallium's doxygen documentation.José Fonseca
2007-09-28Update x86's static and profile configs.José Fonseca
2007-09-28Use sse only if GALLIUM_SSE is definedZack Rusin
2007-09-28Redoing the way we handle vertex shaders for the draw module.Zack Rusin
2007-09-28Remove gl dependency from the x86 assembler codeZack Rusin
2007-09-28Revert "Redoing the way we handle vertex shaders for the draw module."Zack Rusin
This reverts commit 6dcfddb8e2ec2bfb6187b912807fa65f28da2c5e.
2007-09-28Revert "Use sse only if GALLIUM_SSE is defined"Zack Rusin
This reverts commit 57b5d3605745c96ddc2b6de7d50c93db65ba1257.
2007-09-28Use sse only if GALLIUM_SSE is definedZack Rusin
2007-09-28Redoing the way we handle vertex shaders for the draw module.Zack Rusin