summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove remnants of softpipe_surface.Brian2007-10-2710-182/+47
| | | | | This is the last of the clean-up following the change which moved surface allocation to the winsys layer.
* ObsoleteBrian2007-10-272-11/+0
|
* Move mesa_to_tgsi.[ch] to state_trackerBrian2007-10-278-16/+74
|
* Move mesa_to_tgsi.[ch] into state tracker.Brian2007-10-272-0/+0
|
* Fix up handling of immediate values for TGSI shaders.Brian2007-10-263-21/+9
| | | | Still disabled pending LLVM updates.
* turn off debug outputBrian2007-10-261-1/+1
|
* Re-implement GLSL texture sampler variables.Brian2007-10-2631-106/+262
| | | | | | | | | | 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.
* 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
|