summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-10-27Move mesa_to_tgsi.[ch] to state_trackerBrian
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-26turn off debug outputBrian
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-26Actually move region_alloc() and region_release() to intel_winsys.José Fonseca
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-25silence warningBrian
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-25LLVM requires linking with the C++ compiler.Michel Dänzer
It's basically luck if it works with the C compiler on some platforms...
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-24Fix glDrawElements + VBO rendering when ptr/offset is not zero.Brian
When an index VBO is bound, glDrawElement's indices pointer is really an offset into the element buffer. Add that offset to the prims[i].start value before calling pipe->draw_elements(). Fixes vbo.c conform test.
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-24add to gitBrian
2007-10-24Implement gl_PointCoord attribute for GLSL fragment shaders.Brian
Contains the normalized fragment position within a point sprite.
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-24flush pipe in draw_stencil_pixels()Brian
2007-10-24get_tile() for z16, z32, s8z24 surfaces needs to return 4 floats per pixel ↵Brian
(for depth texture sampling)
2007-10-24added a pipe->flush() call in xmesa_clear()Brian
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