Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove llvm dependencies. | michal | 2007-10-27 | 1 | -4/+3 |
| | |||||
* | New comments, replace //-style with /* */ | Brian | 2007-10-27 | 2 | -8/+51 |
| | |||||
* | indentation fixes | Brian | 2007-10-27 | 1 | -26/+26 |
| | |||||
* | s/GLbitfield/uint/ | Brian | 2007-10-27 | 1 | -2/+2 |
| | |||||
* | remove #define MESA stuff | Brian | 2007-10-27 | 1 | -5/+0 |
| | |||||
* | s/256/TGSI_EXEC_NUM_IMMEDIATES/ | Brian | 2007-10-27 | 1 | -1/+1 |
| | |||||
* | indentation fixes | Brian | 2007-10-27 | 1 | -20/+20 |
| | |||||
* | Comments about texture instructions and the src regs | Brian | 2007-10-27 | 2 | -11/+22 |
| | |||||
* | Remove remnants of softpipe_surface. | Brian | 2007-10-27 | 10 | -182/+47 |
| | | | | | This is the last of the clean-up following the change which moved surface allocation to the winsys layer. | ||||
* | Obsolete | Brian | 2007-10-27 | 2 | -11/+0 |
| | |||||
* | Move mesa_to_tgsi.[ch] to state_tracker | Brian | 2007-10-27 | 8 | -16/+74 |
| | |||||
* | Move mesa_to_tgsi.[ch] into state tracker. | Brian | 2007-10-27 | 2 | -0/+0 |
| | |||||
* | Fix up handling of immediate values for TGSI shaders. | Brian | 2007-10-26 | 3 | -21/+9 |
| | | | | Still disabled pending LLVM updates. | ||||
* | turn off debug output | Brian | 2007-10-26 | 1 | -1/+1 |
| | |||||
* | Re-implement GLSL texture sampler variables. | Brian | 2007-10-26 | 31 | -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 them | Zack Rusin | 2007-10-26 | 3 | -1/+27 |
| | | | | for all defined functions. Fixes crashes in function calls. | ||||
* | convert OPCODE_END -> TGSI_OPCODE_RET | Brian | 2007-10-26 | 1 | -1/+1 |
| | |||||
* | if we hit RET w/ empty call stack, halt | Brian | 2007-10-26 | 1 | -7/+7 |
| | |||||
* | Initial support for immediate values in TGSI programs. | Brian | 2007-10-26 | 4 | -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 Rusin | 2007-10-26 | 6 | -25/+190 |
| | |||||
* | Fix swizzle fetching in tgsi_util_get_full_src_register_extswizzle. Shorten | Zack Rusin | 2007-10-26 | 3 | -61/+25 |
| | | | | the swizzle coding in LLVM compilation using it and fix some warnings. | ||||
* | Make ret part of the instruction block instead of implicitely | Zack Rusin | 2007-10-26 | 3 | -2/+7 |
| | | | | closing at the end of parsing. | ||||
* | surface_alloc() is now a winsys function. | Brian | 2007-10-26 | 12 | -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é Fonseca | 2007-10-26 | 2 | -62/+64 |
| | |||||
* | clean-up, simplify some tile code, more to come | Brian | 2007-10-25 | 2 | -189/+63 |
| | |||||
* | Move region_alloc() and region_release() to pipe_winsys. | Brian | 2007-10-25 | 12 | -160/+163 |
| | | | | This allows regions to be allocated w/out a rendering context. | ||||
* | silence warning | Brian | 2007-10-25 | 1 | -0/+2 |
| | |||||
* | Move the get/put_tile() functions to pipe_context. | Brian | 2007-10-25 | 20 | -109/+177 |
| | | | | The _rgba versions are temporary until the state tracker is updated. | ||||
* | tex comments | Brian | 2007-10-25 | 1 | -3/+11 |
| | |||||
* | added some comments | Brian | 2007-10-25 | 2 | -0/+6 |
| | |||||
* | update TILE_TOP/BOTTOM_* values to match softpipe | Brian | 2007-10-25 | 1 | -4/+4 |
| | |||||
* | s/GLfloat/float/, s/GLint/int/, etc | Brian | 2007-10-25 | 1 | -81/+81 |
| | |||||
* | Briefly describe the buffer management interface. | José Fonseca | 2007-10-25 | 1 | -11/+20 |
| | |||||
* | Expand pkg-config flags before invoking the compiler. | José Fonseca | 2007-10-25 | 3 | -11/+11 |
| | | | | | This allows IDEs such as Eclipse to get the correct c-preprocessor flags used from the build output. | ||||
* | Ignore generated files. | José Fonseca | 2007-10-25 | 6 | -4/+81 |
| | |||||
* | LLVM requires linking with the C++ compiler. | Michel Dänzer | 2007-10-25 | 2 | -5/+6 |
| | | | | It's basically luck if it works with the C compiler on some platforms... | ||||
* | Implement loops | Zack Rusin | 2007-10-25 | 4 | -5/+98 |
| | |||||
* | Fix nested swizzles. Actually fetch the destination contents | Zack Rusin | 2007-10-25 | 2 | -4/+9 |
| | | | | instead of input. | ||||
* | Fix nested conditionals | Zack Rusin | 2007-10-25 | 5 | -13/+25 |
| | |||||
* | Test some functionality of vp using GLSL that pure vp isn't testing. | Zack Rusin | 2007-10-25 | 4 | -0/+333 |
| | |||||
* | Implement else ops. | Zack Rusin | 2007-10-25 | 3 | -2/+18 |
| | |||||
* | set vcache.referenced bit always | keithw | 2007-10-25 | 1 | -13/+5 |
| | |||||
* | Make branching work :) Simply allow output variables as valid | Zack Rusin | 2007-10-24 | 3 | -2/+31 |
| | | | | operand inputs when they've been assigned already. | ||||
* | Simplify branch handling. Prepare for proper decleration extraction. | Zack Rusin | 2007-10-24 | 4 | -70/+38 |
| | |||||
* | Fix glDrawElements + VBO rendering when ptr/offset is not zero. | Brian | 2007-10-24 | 1 | -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???)" | Brian | 2007-10-24 | 6 | -18/+12 |
| | | | | This reverts commit 11ce6244a79106c592364b30434b6ddade3fd6bb. | ||||
* | Undo indexOffset change (I think, git???) | Brian | 2007-10-24 | 6 | -12/+18 |
| | |||||
* | add to git | Brian | 2007-10-24 | 2 | -0/+109 |
| | |||||
* | Implement gl_PointCoord attribute for GLSL fragment shaders. | Brian | 2007-10-24 | 6 | -53/+85 |
| | | | | Contains the normalized fragment position within a point sprite. | ||||
* | print CAL label | Brian | 2007-10-24 | 1 | -0/+1 |
| |