Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update comments. | Michal Krol | 2007-10-28 | 1 | -2/+0 |
| | |||||
* | Replace supported_formats with is_format_supported interface. | Michal Krol | 2007-10-28 | 10 | -98/+75 |
| | | | | | | | | | | | The old supported_formats interface returned a list of formats supported by a pipe/winsys implementation. This was reasonable when gallium had a fixed list of predefined format. Now things has changed and the definition of PIPE_FORMAT is more flexible. The new shiny is_format_supported interface gets PIPE_FORMAT as an argument and returns a boolean whether this particular format is supported. | ||||
* | Use FREE and MALLOC instead of free and malloc. | Michal Krol | 2007-10-28 | 3 | -3/+5 |
| | |||||
* | Rework sse-utility function calls. | Michal Krol | 2007-10-28 | 1 | -154/+111 |
| | |||||
* | Declare temporaries in a more compact fashion. | michal | 2007-10-28 | 1 | -61/+61 |
| | | | | | | | | | | | The following declarations: DCL TEMP[0] DCL TEMP[1] DCL TEMP[2] DCL TEMP[4] become: DCL TEMP[0..2] DCL TEMP[4] | ||||
* | Declare temporaries in a more compact fashion. | michal | 2007-10-28 | 1 | -55/+61 |
| | | | | | | | | | | | The following declarations: DCL TEMP[0] DCL TEMP[1] DCL TEMP[2] DCL TEMP[4] become: DCL TEMP[0..2] DCL TEMP[4] | ||||
* | Control FS TGSI dumping with GALLIUM_DUMP_FS env variable. | michal | 2007-10-28 | 3 | -0/+9 |
| | |||||
* | Fix newlines. | michal | 2007-10-28 | 1 | -10/+10 |
| | |||||
* | Use FREE instead of free. Fix newlines. | michal | 2007-10-27 | 12 | -31/+37 |
| | |||||
* | Enable SSE path. | michal | 2007-10-27 | 1 | -2/+2 |
| | |||||
* | Use PIPE_FORMAT in state tracker. | michal | 2007-10-27 | 4 | -22/+192 |
| | | | | | Fix PIPE_FORMAT field encoding. Re-implement st_get_format_info. | ||||
* | Refactor supported format queries. | michal | 2007-10-27 | 1 | -67/+73 |
| | |||||
* | Respect use_sse flag. | michal | 2007-10-27 | 2 | -4/+3 |
| | |||||
* | Fix SSE bug. | michal | 2007-10-27 | 1 | -2/+1 |
| | |||||
* | Add #ifs. | michal | 2007-10-27 | 1 | -1/+4 |
| | |||||
* | vertex_element::src_format needs 32 bits. | michal | 2007-10-27 | 1 | -1/+1 |
| | |||||
* | Respect use_sse flag. | michal | 2007-10-27 | 1 | -12/+15 |
| | |||||
* | Remove PIPE_FORMAT_COUNT references. | michal | 2007-10-27 | 1 | -2/+2 |
| | |||||
* | Enable SSE2 for fragment shaders. | michal | 2007-10-27 | 4 | -17/+29 |
| | |||||
* | Enable SSE2 for vertex shaders. | michal | 2007-10-27 | 2 | -12/+12 |
| | |||||
* | Fix YCBCR macro. | michal | 2007-10-27 | 1 | -224/+224 |
| | | | | Fix line endings. | ||||
* | Fix alignment problems. | michal | 2007-10-27 | 2 | -28/+37 |
| | | | | | Remove NOP opcode. TEX opcode returns solid white (a hack for D3D state tracker). | ||||
* | Remove GL dependencies. | michal | 2007-10-27 | 1 | -21/+21 |
| | |||||
* | Define destroy method called by softpipe's destructor. | michal | 2007-10-27 | 12 | -0/+78 |
| | |||||
* | Silence compiler warnings. | michal | 2007-10-27 | 1 | -5/+5 |
| | |||||
* | Silence compiler warnings. | michal | 2007-10-27 | 1 | -3/+3 |
| | |||||
* | Call quad stage destructors. | michal | 2007-10-27 | 1 | -0/+12 |
| | |||||
* | Remove llvm and sse2 dependencies. | michal | 2007-10-27 | 1 | -10/+0 |
| | |||||
* | Move format definitions from p_defines.h to p_format.h. | michal | 2007-10-27 | 2 | -92/+228 |
| | | | | | PIPE_FORMAT is not an ordinary enum -- it encodes its format description in the value that defines it. | ||||
* | Add sse2_program to draw_vertex_shader. | michal | 2007-10-27 | 1 | -1/+2 |
| | |||||
* | Silence compiler warnings. | michal | 2007-10-27 | 1 | -1/+1 |
| | |||||
* | 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. |