summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Hold a stack of temporaries so that we can redeclare themZack Rusin2007-10-263-1/+27
| | | | for all defined functions. Fixes crashes in function calls.
* convert OPCODE_END -> TGSI_OPCODE_RETBrian2007-10-261-1/+1
|
* if we hit RET w/ empty call stack, haltBrian2007-10-261-7/+7
|
* Initial support for immediate values in TGSI programs.Brian2007-10-264-7/+74
| | | | | These can be evaluated at compile time. Code disabled pending clarifications of TGSI immediate data structures.
* Get basic function calls working in the shaders.Zack Rusin2007-10-266-25/+190
|
* Fix swizzle fetching in tgsi_util_get_full_src_register_extswizzle. ShortenZack Rusin2007-10-263-61/+25
| | | | the swizzle coding in LLVM compilation using it and fix some warnings.
* Make ret part of the instruction block instead of implicitelyZack Rusin2007-10-263-2/+7
| | | | closing at the end of parsing.
* surface_alloc() is now a winsys function.Brian2007-10-2612-119/+393
| | | | | This allows surfaces to be allocated without a rendering context. A few loose ends to resolve, but in working condition.
* Actually move region_alloc() and region_release() to intel_winsys.José Fonseca2007-10-262-62/+64
|
* clean-up, simplify some tile code, more to comeBrian2007-10-252-189/+63
|
* Move region_alloc() and region_release() to pipe_winsys.Brian2007-10-2512-160/+163
| | | | This allows regions to be allocated w/out a rendering context.
* silence warningBrian2007-10-251-0/+2
|
* Move the get/put_tile() functions to pipe_context.Brian2007-10-2520-109/+177
| | | | The _rgba versions are temporary until the state tracker is updated.
* tex commentsBrian2007-10-251-3/+11
|
* added some commentsBrian2007-10-252-0/+6
|
* update TILE_TOP/BOTTOM_* values to match softpipeBrian2007-10-251-4/+4
|
* s/GLfloat/float/, s/GLint/int/, etcBrian2007-10-251-81/+81
|
* Briefly describe the buffer management interface.José Fonseca2007-10-251-11/+20
|
* Expand pkg-config flags before invoking the compiler.José Fonseca2007-10-253-11/+11
| | | | | This allows IDEs such as Eclipse to get the correct c-preprocessor flags used from the build output.
* Ignore generated files.José Fonseca2007-10-256-4/+81
|
* LLVM requires linking with the C++ compiler.Michel Dänzer2007-10-252-5/+6
| | | | It's basically luck if it works with the C compiler on some platforms...
* Implement loopsZack Rusin2007-10-254-5/+98
|
* Fix nested swizzles. Actually fetch the destination contentsZack Rusin2007-10-252-4/+9
| | | | instead of input.
* Fix nested conditionalsZack Rusin2007-10-255-13/+25
|
* Test some functionality of vp using GLSL that pure vp isn't testing.Zack Rusin2007-10-254-0/+333
|
* Implement else ops.Zack Rusin2007-10-253-2/+18
|
* set vcache.referenced bit alwayskeithw2007-10-251-13/+5
|
* Make branching work :) Simply allow output variables as validZack Rusin2007-10-243-2/+31
| | | | operand inputs when they've been assigned already.
* Simplify branch handling. Prepare for proper decleration extraction.Zack Rusin2007-10-244-70/+38
|
* Fix glDrawElements + VBO rendering when ptr/offset is not zero.Brian2007-10-241-2/+5
| | | | | | | 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.
* Revert "Undo indexOffset change (I think, git???)"Brian2007-10-246-18/+12
| | | | This reverts commit 11ce6244a79106c592364b30434b6ddade3fd6bb.
* Undo indexOffset change (I think, git???)Brian2007-10-246-12/+18
|
* add to gitBrian2007-10-242-0/+109
|
* Implement gl_PointCoord attribute for GLSL fragment shaders.Brian2007-10-246-53/+85
| | | | Contains the normalized fragment position within a point sprite.
* print CAL labelBrian2007-10-241-0/+1
|
* fix bug in RET codeBrian2007-10-241-0/+1
|
* better debug outputBrian2007-10-241-1/+5
|
* a bit more work for optimizing clears in tile cache (not enabled yet)Brian2007-10-244-28/+115
|
* flush pipe in draw_stencil_pixels()Brian2007-10-241-0/+2
|
* get_tile() for z16, z32, s8z24 surfaces needs to return 4 floats per pixel ↵Brian2007-10-241-9/+18
| | | | (for depth texture sampling)
* added a pipe->flush() call in xmesa_clear()Brian2007-10-241-0/+11
|
* Add copyright headers and do some cleanups.Zack Rusin2007-10-249-27/+251
|
* Remove the silly function and remove the bogus comment.Zack Rusin2007-10-241-58/+50
|
* Cleanup some code.Zack Rusin2007-10-2411-17/+41
|
* Implement arl, lerp opcodes and do a first stab at if/endifZack Rusin2007-10-245-135/+388
| | | | handling and branching support.
* Implement cross product and abs opcodeZack Rusin2007-10-243-2/+65
|
* Implement extended swizzling.Zack Rusin2007-10-243-6/+50
|
* Implement SGE and SLTZack Rusin2007-10-243-2/+65
|
* Introduce linux-llvm target. Remove the llvm code from the default build for ↵Zack Rusin2007-10-245-40/+78
| | | | | | now. Cleanup some of the debugging output.
* Align the load/stores. Reduce the amount of debugging output.Zack Rusin2007-10-248-973/+665
|