summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
Commit message (Collapse)AuthorAgeFilesLines
* fix _mesa_uniform_matrix() transpose bugBrian2007-03-091-2/+2
|
* added missing bvec2/3/4 constructorsBrian2007-03-082-785/+814
|
* fix broken vec4_seq, vec4_sne instructionsBrian2007-03-081-1/+2
|
* Update lessThan(), lessThanEqual() functions, improve some matrix constructors.Brian2007-03-084-320/+289
|
* Added IR_SLE and IR_SLT for <= and < operations.Brian2007-03-083-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_FBrian2007-03-081-0/+4
|
* fix assertionBrian2007-03-081-1/+1
|
* ; and {} statements were brokenBrian2007-03-081-3/+6
|
* remove unused new_cjump()Brian2007-03-081-14/+0
|
* IR_CJUMP0/1 no longer used/neededBrian2007-03-082-36/+1
|
* rewrite _slang_gen_select() to use IF nodeBrian2007-03-081-72/+8
|
* s/_slang_gen_hl_if/_slang_gen_if/Brian2007-03-081-1/+49
|
* s/_slang_gen_hl_if/_slang_gen_if/Brian2007-03-081-2/+2
|
* 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
|
* 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 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
|
* Add EmitHighLevelInstructions, EmitComments booleans to gl_shader_state.Brian2007-02-262-17/+24
| | | | 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 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
|
* Remove old error logging code. New slang_log.[ch] files.Brian2007-02-263-92/+154
|
* Overhaul of error handling.Brian2007-02-2610-222/+127
|
* 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
|