Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix _mesa_uniform_matrix() transpose bug | Brian | 2007-03-09 | 1 | -2/+2 |
| | |||||
* | added missing bvec2/3/4 constructors | Brian | 2007-03-08 | 2 | -785/+814 |
| | |||||
* | fix broken vec4_seq, vec4_sne instructions | Brian | 2007-03-08 | 1 | -1/+2 |
| | |||||
* | Update lessThan(), lessThanEqual() functions, improve some matrix constructors. | Brian | 2007-03-08 | 4 | -320/+289 |
| | |||||
* | Added IR_SLE and IR_SLT for <= and < operations. | Brian | 2007-03-08 | 3 | -8/+15 |
| | | | | | | Using IR_SGE and IR_SGT with transposed args doesn't work since the __asm calls don't do argument matching by name, but by position. This fixes the broken lessThan() and lessThanEqual() functions. | ||||
* | fix tmp storage problem for IR_I_TO_F | Brian | 2007-03-08 | 1 | -0/+4 |
| | |||||
* | fix assertion | Brian | 2007-03-08 | 1 | -1/+1 |
| | |||||
* | ; and {} statements were broken | Brian | 2007-03-08 | 1 | -3/+6 |
| | |||||
* | remove unused new_cjump() | Brian | 2007-03-08 | 1 | -14/+0 |
| | |||||
* | IR_CJUMP0/1 no longer used/needed | Brian | 2007-03-08 | 2 | -36/+1 |
| | |||||
* | rewrite _slang_gen_select() to use IF node | Brian | 2007-03-08 | 1 | -72/+8 |
| | |||||
* | s/_slang_gen_hl_if/_slang_gen_if/ | Brian | 2007-03-08 | 1 | -1/+49 |
| | |||||
* | s/_slang_gen_hl_if/_slang_gen_if/ | Brian | 2007-03-08 | 1 | -2/+2 |
| | |||||
* | 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 |
| | |||||
* | 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 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 |
| | |||||
* | Add EmitHighLevelInstructions, EmitComments booleans to gl_shader_state. | Brian | 2007-02-26 | 2 | -17/+24 |
| | | | | 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 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 |
| | |||||
* | 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 | 10 | -222/+127 |
| | |||||
* | 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 |
| |