summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/tgsi/exec
AgeCommit message (Collapse)Author
2007-10-22Finish unifying the surface and texture tile caches.Brian
2007-10-20added case for TGSI_OPCODE_ENDBrian
2007-10-18added const qualifiersBrian
2007-10-18Corrected the file permissions in src/mesa/pipe.Oliver McFadden
2007-10-15fix logic for printing extended swizzlesBrian
2007-10-12added code to print extended swizzlesBrian
2007-10-12change exec_kilp() to only touch lowest four bits in kilmaskBrian
2007-10-09update some commentsBrian
2007-10-09More work on flow control for CAL/RET.Brian
2007-10-09New ATTRIB interpolation type for vertex program inputs/declarations.Brian
2007-10-03use different temps in exec_tex() for biasBrian
2007-10-03fix eq/neq bugsBrian
2007-10-03fix f/u mix-up in micro_trunc()Brian
2007-10-03move TEX code into exec_tex()Brian
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-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-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-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-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-27Fix some compiler warnings with -pedanticKeith Whitwell
2007-09-27Enable codegen based whenever __i386__ is defined.Keith Whitwell
2007-09-24Enable SSE2 for FS.michal
2007-09-21added PSIZEBrian
2007-09-21Fix up some point size breakage. Start on fogcoord too.Brian
2007-09-21remove SEMANTIC_TEXCOORDBrian
2007-09-21Get rid of TGSI_SEMANTIC_TEXCOORD and just use TGSI_SEMANTIC_GENERIC.Brian
2007-09-20Clean-up the TGSI_SEMANTIC tokens, introduce semantic indexes.Brian
Still need to produce decl instructions for vertex shaders...
2007-09-20obsoleteBrian
2007-09-20checkpoint: TGSI_ATTRIB_x tokens no longer usedBrian
2007-09-19Checkpoint: replacement of TGSI_ATTRIB_x tokens with input/output semantics.Brian
TGSI_ATTRIB_x tokens still present and used in a few places. Expanded set of TGSI_SEMANTIC_x tokens for describing the meaning of inputs/outputs. These tokens are in a crude state ATM. Lots of #if 0 / disabled code to be removed yet, etc... Softpipe and i915 drivers should be in working condition but not heavily tested.
2007-09-18Fix some issues with perspective-corrected interpolation.Brian
In mesa_to_tgsi.c, use TGSI_INTERPOLATE_PERSPECTIVE by default (to match post-transform vertex info convention). More to be done there... In sp_quad_fs.c, interpolate W in addition to Z. This fixes the divide by zero happening in perspective_interpolation() tgsi_exec.c As it was, we were only getting perspective correction of texture coords used by the TGSI_TEX instruction since it does a homogeneous divide. Other coords/varyings were incorrect.
2007-08-29Break GL dependencies.michal
2007-08-29Break GL dependencies.michal
2007-08-29Break GL dependencies.michal
2007-08-29Break GL dependencies.michal
2007-08-24Hook-up SSE2 to VS.michal