summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* remove old assertionBrian2007-03-081-1/+0
|
* check for attempted writes to read-only varsBrian2007-03-081-0/+6
|
* Rework matrix-related code.Brian2007-03-088-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 typoBrian2007-03-081-1/+1
|
* fix gl_TextureMatrix indexingBrian2007-03-081-2/+2
|
* more DEBUG_PROGBrian2007-03-071-0/+5
|
* update commentsBrian2007-03-071-7/+5
|
* remove unneeded return stmtBrian2007-03-071-1/+0
|
* add missing gl_Point state, fix IR storage bugBrian2007-03-071-3/+30
|
* s/diffuset/diffuse/Brian2007-03-071-1/+1
|
* regeneratedBrian2007-03-071-21/+21
|
* use 2.0, 2.1 version stringsBrian2007-03-071-2/+2
|
* remove end_label fieldBrian2007-03-072-6/+0
|
* Fix problem with nested function calls such as y = f(f(x))Brian2007-03-073-23/+26
| | | | Replace CurFunction with curFuncEndLabel.
* s/equal/EQUAL/, fix bugs in logical or/and code.Brian2007-03-076-14/+17
|
* fix broken __postDecr()Brian2007-03-071-2/+2
|
* fix deferredTexture bugBrian2007-03-071-1/+1
|
* fix swizzled writemask bugBrian2007-03-071-10/+16
|
* remove bogus assertionBrian2007-03-071-1/+1
|
* fix incorrect HPOS write testBrian2007-03-071-2/+2
|
* additional error detectionBrian2007-03-071-1/+10
|
* check for null program ptrs in _mesa_uniform()Brian2007-03-071-2/+4
|
* Generate an error if the vertex shader does not write to gl_Position.Brian2007-03-071-1/+12
|
* more integer arithmetic updatesBrian2007-03-062-230/+259
|
* fix some int arithmetic problemsBrian2007-03-063-754/+790
|
* more DEBUG_PROG codeBrian2007-03-061-2/+34
|
* fix vert/frag typoBrian2007-03-061-1/+1
|
* info about how the compiler worksBrian2007-02-271-2/+51
|
* s/matrix_stack/gl_matrix_stack/ and s/mesa_list_state/gl_dlist_state/Brian2007-02-272-15/+15
|
* remove unused DriverMgrCtxBrian2007-02-261-1/+0
|
* Add EmitHighLevelInstructions, EmitComments booleans to gl_shader_state.Brian2007-02-263-17/+26
| | | | These control code generation options. May be overridden by drivers, debuggers, etc.
* re-enable var scope destruct in slang_operation_destruct()Brian2007-02-261-4/+0
|
* Fix a few bugs in slang_operation variable scoping. Seems to fix a double-free.Brian2007-02-261-18/+10
|
* formatting fixesBrian2007-02-261-6/+8
|
* fix mem leak in _mesa_ShaderSourceARB()Brian2007-02-261-0/+2
|
* fix logic for reporting errorsBrian2007-02-261-9/+23
|
* disable execute bitBrian2007-02-262-0/+0
|
* fix error flaggingBrian2007-02-263-12/+9
|
* re-enable some codeBrian2007-02-261-2/+0
|
* Merge branch 'glsl-compiler-1' of ↵Brian2007-02-2616-528/+471
|\ | | | | | | git+ssh://[email protected]/git/mesa/mesa into glsl-compiler-1
| * Remove old error logging code. New slang_log.[ch] files.Brian2007-02-263-92/+154
| |
| * Overhaul of error handling.Brian2007-02-2612-224/+129
| |
| * Overhaul of error logging.Brian2007-02-261-44/+3
| |
| * Use new slang_emit_info struct for passing context info around.Brian2007-02-261-143/+160
| |
| * Merge branch 'glsl-compiler-1' of ↵Brian2007-02-2612-214/+230
| |\ | | | | | | | | | git+ssh://[email protected]/git/mesa/mesa into glsl-compiler-1
| * | Revert "option to test mipmapping"Brian2007-02-241-19/+4
| | | | | | | | | | | | | | | This reverts commit a127537efb8a39cc341a09aacd3d86d50350e667. Meant to do this on the trunk.
| * | option to test mipmappingBrian2007-02-241-4/+19
| | |
* | | remove unneeded includesBrian2007-02-251-4/+0
| |/ |/|
* | update commentsBrian2007-02-251-3/+3
| |
* | fix bounds checking in get_register_pointer()Brian2007-02-251-5/+11
| |