Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove old assertion | Brian | 2007-03-08 | 1 | -1/+0 |
| | |||||
* | check for attempted writes to read-only vars | Brian | 2007-03-08 | 1 | -0/+6 |
| | |||||
* | Rework matrix-related code. | Brian | 2007-03-08 | 8 | -385/+477 |
| | | | | | | | | | | | | GLSL matrices are stored in column-major order while GL_ARB_vertex/fragment_program use row-major. So, need to use STATE_MATRIX_TRANSPOSE for built-in matrices. Unfortunately, this means that the expression M * V isn't very efficient since we need to extract the rows out of M. And that's the typical expression for vertex transformation: gl_ModelViewProjectionMatrix * gl_Position. Solve this inefficiency by looking for M*V expressions and replacing them with V*Transpose(M). Also, add support for GLSL 1.20's MatrixTranspose, Inverse and InverseTranspose matrices. | ||||
* | fix ProjectionMatrix typo | Brian | 2007-03-08 | 1 | -1/+1 |
| | |||||
* | fix gl_TextureMatrix indexing | Brian | 2007-03-08 | 1 | -2/+2 |
| | |||||
* | more DEBUG_PROG | Brian | 2007-03-07 | 1 | -0/+5 |
| | |||||
* | update comments | Brian | 2007-03-07 | 1 | -7/+5 |
| | |||||
* | remove unneeded return stmt | Brian | 2007-03-07 | 1 | -1/+0 |
| | |||||
* | add missing gl_Point state, fix IR storage bug | Brian | 2007-03-07 | 1 | -3/+30 |
| | |||||
* | s/diffuset/diffuse/ | Brian | 2007-03-07 | 1 | -1/+1 |
| | |||||
* | regenerated | Brian | 2007-03-07 | 1 | -21/+21 |
| | |||||
* | use 2.0, 2.1 version strings | Brian | 2007-03-07 | 1 | -2/+2 |
| | |||||
* | remove end_label field | Brian | 2007-03-07 | 2 | -6/+0 |
| | |||||
* | Fix problem with nested function calls such as y = f(f(x)) | Brian | 2007-03-07 | 3 | -23/+26 |
| | | | | Replace CurFunction with curFuncEndLabel. | ||||
* | s/equal/EQUAL/, fix bugs in logical or/and code. | Brian | 2007-03-07 | 6 | -14/+17 |
| | |||||
* | fix broken __postDecr() | Brian | 2007-03-07 | 1 | -2/+2 |
| | |||||
* | fix deferredTexture bug | Brian | 2007-03-07 | 1 | -1/+1 |
| | |||||
* | fix swizzled writemask bug | Brian | 2007-03-07 | 1 | -10/+16 |
| | |||||
* | remove bogus assertion | Brian | 2007-03-07 | 1 | -1/+1 |
| | |||||
* | fix incorrect HPOS write test | Brian | 2007-03-07 | 1 | -2/+2 |
| | |||||
* | additional error detection | Brian | 2007-03-07 | 1 | -1/+10 |
| | |||||
* | check for null program ptrs in _mesa_uniform() | Brian | 2007-03-07 | 1 | -2/+4 |
| | |||||
* | Generate an error if the vertex shader does not write to gl_Position. | Brian | 2007-03-07 | 1 | -1/+12 |
| | |||||
* | more integer arithmetic updates | Brian | 2007-03-06 | 2 | -230/+259 |
| | |||||
* | fix some int arithmetic problems | Brian | 2007-03-06 | 3 | -754/+790 |
| | |||||
* | more DEBUG_PROG code | Brian | 2007-03-06 | 1 | -2/+34 |
| | |||||
* | fix vert/frag typo | Brian | 2007-03-06 | 1 | -1/+1 |
| | |||||
* | info about how the compiler works | Brian | 2007-02-27 | 1 | -2/+51 |
| | |||||
* | s/matrix_stack/gl_matrix_stack/ and s/mesa_list_state/gl_dlist_state/ | Brian | 2007-02-27 | 2 | -15/+15 |
| | |||||
* | remove unused DriverMgrCtx | Brian | 2007-02-26 | 1 | -1/+0 |
| | |||||
* | Add EmitHighLevelInstructions, EmitComments booleans to gl_shader_state. | Brian | 2007-02-26 | 3 | -17/+26 |
| | | | | These control code generation options. May be overridden by drivers, debuggers, etc. | ||||
* | re-enable var scope destruct in slang_operation_destruct() | Brian | 2007-02-26 | 1 | -4/+0 |
| | |||||
* | Fix a few bugs in slang_operation variable scoping. Seems to fix a double-free. | Brian | 2007-02-26 | 1 | -18/+10 |
| | |||||
* | formatting fixes | Brian | 2007-02-26 | 1 | -6/+8 |
| | |||||
* | fix mem leak in _mesa_ShaderSourceARB() | Brian | 2007-02-26 | 1 | -0/+2 |
| | |||||
* | fix logic for reporting errors | Brian | 2007-02-26 | 1 | -9/+23 |
| | |||||
* | disable execute bit | Brian | 2007-02-26 | 2 | -0/+0 |
| | |||||
* | fix error flagging | Brian | 2007-02-26 | 3 | -12/+9 |
| | |||||
* | re-enable some code | Brian | 2007-02-26 | 1 | -2/+0 |
| | |||||
* | Merge branch 'glsl-compiler-1' of ↵ | Brian | 2007-02-26 | 16 | -528/+471 |
|\ | | | | | | | git+ssh://[email protected]/git/mesa/mesa into glsl-compiler-1 | ||||
| * | Remove old error logging code. New slang_log.[ch] files. | Brian | 2007-02-26 | 3 | -92/+154 |
| | | |||||
| * | Overhaul of error handling. | Brian | 2007-02-26 | 12 | -224/+129 |
| | | |||||
| * | Overhaul of error logging. | Brian | 2007-02-26 | 1 | -44/+3 |
| | | |||||
| * | Use new slang_emit_info struct for passing context info around. | Brian | 2007-02-26 | 1 | -143/+160 |
| | | |||||
| * | Merge branch 'glsl-compiler-1' of ↵ | Brian | 2007-02-26 | 12 | -214/+230 |
| |\ | | | | | | | | | | git+ssh://[email protected]/git/mesa/mesa into glsl-compiler-1 | ||||
| * | | Revert "option to test mipmapping" | Brian | 2007-02-24 | 1 | -19/+4 |
| | | | | | | | | | | | | | | | This reverts commit a127537efb8a39cc341a09aacd3d86d50350e667. Meant to do this on the trunk. | ||||
| * | | option to test mipmapping | Brian | 2007-02-24 | 1 | -4/+19 |
| | | | |||||
* | | | remove unneeded includes | Brian | 2007-02-25 | 1 | -4/+0 |
| |/ |/| | |||||
* | | update comments | Brian | 2007-02-25 | 1 | -3/+3 |
| | | |||||
* | | fix bounds checking in get_register_pointer() | Brian | 2007-02-25 | 1 | -5/+11 |
| | |