summaryrefslogtreecommitdiff
path: root/src/mesa/pipe
AgeCommit message (Collapse)Author
2007-10-27Remove remnants of softpipe_surface.Brian
This is the last of the clean-up following the change which moved surface allocation to the winsys layer.
2007-10-27ObsoleteBrian
2007-10-27Move mesa_to_tgsi.[ch] into state tracker.Brian
2007-10-26Fix up handling of immediate values for TGSI shaders.Brian
Still disabled pending LLVM updates.
2007-10-26Re-implement GLSL texture sampler variables.Brian
GLSL sampler variables indicate which texture unit to use for TEX instructions. Previously, this was baked into the fragment/vertex program and couldn't be readily changed once set. Now, SamplerUnits[] array indicates which texture unit is to be used for each sampler variable. These values are set with glUniform1i(). This is extra state that must be passed to the fragment/vertex program executor at runtime.
2007-10-26Hold a stack of temporaries so that we can redeclare themZack Rusin
for all defined functions. Fixes crashes in function calls.
2007-10-26convert OPCODE_END -> TGSI_OPCODE_RETBrian
2007-10-26if we hit RET w/ empty call stack, haltBrian
2007-10-26Initial support for immediate values in TGSI programs.Brian
These can be evaluated at compile time. Code disabled pending clarifications of TGSI immediate data structures.
2007-10-26Get basic function calls working in the shaders.Zack Rusin
2007-10-26Fix swizzle fetching in tgsi_util_get_full_src_register_extswizzle. ShortenZack Rusin
the swizzle coding in LLVM compilation using it and fix some warnings.
2007-10-26Make ret part of the instruction block instead of implicitelyZack Rusin
closing at the end of parsing.
2007-10-26surface_alloc() is now a winsys function.Brian
This allows surfaces to be allocated without a rendering context. A few loose ends to resolve, but in working condition.
2007-10-25clean-up, simplify some tile code, more to comeBrian
2007-10-25Move region_alloc() and region_release() to pipe_winsys.Brian
This allows regions to be allocated w/out a rendering context.
2007-10-25Move the get/put_tile() functions to pipe_context.Brian
The _rgba versions are temporary until the state tracker is updated.
2007-10-25tex commentsBrian
2007-10-25added some commentsBrian
2007-10-25update TILE_TOP/BOTTOM_* values to match softpipeBrian
2007-10-25s/GLfloat/float/, s/GLint/int/, etcBrian
2007-10-25Briefly describe the buffer management interface.José Fonseca
2007-10-25Implement loopsZack Rusin
2007-10-25Fix nested swizzles. Actually fetch the destination contentsZack Rusin
instead of input.
2007-10-25Fix nested conditionalsZack Rusin
2007-10-25Implement else ops.Zack Rusin
2007-10-25set vcache.referenced bit alwayskeithw
2007-10-24Make branching work :) Simply allow output variables as validZack Rusin
operand inputs when they've been assigned already.
2007-10-24Simplify branch handling. Prepare for proper decleration extraction.Zack Rusin
2007-10-24Revert "Undo indexOffset change (I think, git???)"Brian
This reverts commit 11ce6244a79106c592364b30434b6ddade3fd6bb.
2007-10-24Undo indexOffset change (I think, git???)Brian
2007-10-24print CAL labelBrian
2007-10-24fix bug in RET codeBrian
2007-10-24better debug outputBrian
2007-10-24a bit more work for optimizing clears in tile cache (not enabled yet)Brian
2007-10-24get_tile() for z16, z32, s8z24 surfaces needs to return 4 floats per pixel ↵Brian
(for depth texture sampling)
2007-10-24Add copyright headers and do some cleanups.Zack Rusin
2007-10-24Remove the silly function and remove the bogus comment.Zack Rusin
2007-10-24Cleanup some code.Zack Rusin
2007-10-24Implement arl, lerp opcodes and do a first stab at if/endifZack Rusin
handling and branching support.
2007-10-24Implement cross product and abs opcodeZack Rusin
2007-10-24Implement extended swizzling.Zack Rusin
2007-10-24Implement SGE and SLTZack Rusin
2007-10-24Introduce linux-llvm target. Remove the llvm code from the default build for ↵Zack Rusin
now. Cleanup some of the debugging output.
2007-10-24Align the load/stores. Reduce the amount of debugging output.Zack Rusin
2007-10-24Cleanup some of the debugging output codeZack Rusin
2007-10-24Make lit work but in a very lame way - will have to be rewritten.Zack Rusin
2007-10-24Muchos fixos. gears kinda works. and cases don't crash.Zack Rusin
glorious
2007-10-24implement min and maxZack Rusin
2007-10-24Fix some warnings and implement lg2Zack Rusin
2007-10-24Implement frc and floorZack Rusin