Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-03-13 | disable some debug output | Brian | |
2007-03-13 | better error msg for undefined function, disable some debug output | Brian | |
2007-03-13 | get rid of float_multiply, float_add, float_divide | Brian | |
2007-03-13 | Shuffle some code around in the emit_tex() and emit_move() instructions. | Brian | |
Note that the inst ptr returned by new_instruction() may become invalid after calling emit_() since the emit functions may allocate new instructions which is done vial realloc(). Also, add some new assertions to try to catch this kind of bug. | |||
2007-03-12 | Implement GL_ARB_texture_rectangle support | Brian | |
This includes the sampler2DRect and sampler2DRectShadow types and the texture2DRect(), texture2DRectProj(), etc. built-in functions. | |||
2007-03-12 | Add array bounds checking, fix memleaks, add null ptr checks. | Brian | |
2007-03-11 | add NULL ptr check | Brian | |
2007-03-11 | Implement support for GL_ARB_draw_buffers with GL_MAX_DRAW_BUFFERS > 1. | Brian | |
GL_MAX_DRAW_BUFFERS is currently 4. Added gl_FragData[] output for fragment programs. In _swrast_write_rgba_span() loop over the color outputs/renderbuffers. | |||
2007-03-10 | Implement gl_FrontFacing for fragment shaders. | Brian | |
For the time being, we put the gl_FrontFacing value in the FOGC.Y input register. Combining FOGC and FrontFacing in one register is a bit of a hack and may need to be changed someday. | |||
2007-03-10 | add NULL ptr check in emit_cond() | Brian | |
2007-03-09 | use gl_ModelViewProjectionMatrixTranspose in ftransform() | Brian | |
2007-03-09 | add NULL ptr check | Brian | |
2007-03-08 | added missing bvec2/3/4 constructors | Brian | |
2007-03-08 | fix broken vec4_seq, vec4_sne instructions | Brian | |
2007-03-08 | Update lessThan(), lessThanEqual() functions, improve some matrix constructors. | Brian | |
2007-03-08 | Added IR_SLE and IR_SLT for <= and < operations. | Brian | |
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. | |||
2007-03-08 | fix tmp storage problem for IR_I_TO_F | Brian | |
2007-03-08 | fix assertion | Brian | |
2007-03-08 | ; and {} statements were broken | Brian | |
2007-03-08 | remove unused new_cjump() | Brian | |
2007-03-08 | IR_CJUMP0/1 no longer used/needed | Brian | |
2007-03-08 | rewrite _slang_gen_select() to use IF node | Brian | |
2007-03-08 | s/_slang_gen_hl_if/_slang_gen_if/ | Brian | |
2007-03-08 | s/_slang_gen_hl_if/_slang_gen_if/ | Brian | |
2007-03-08 | remove old assertion | Brian | |
2007-03-08 | check for attempted writes to read-only vars | Brian | |
2007-03-08 | Rework matrix-related code. | Brian | |
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. | |||
2007-03-08 | fix ProjectionMatrix typo | Brian | |
2007-03-08 | fix gl_TextureMatrix indexing | Brian | |
2007-03-07 | remove unneeded return stmt | Brian | |
2007-03-07 | add missing gl_Point state, fix IR storage bug | Brian | |
2007-03-07 | s/diffuset/diffuse/ | Brian | |
2007-03-07 | regenerated | Brian | |
2007-03-07 | remove end_label field | Brian | |
2007-03-07 | Fix problem with nested function calls such as y = f(f(x)) | Brian | |
Replace CurFunction with curFuncEndLabel. | |||
2007-03-07 | s/equal/EQUAL/, fix bugs in logical or/and code. | Brian | |
2007-03-07 | fix broken __postDecr() | Brian | |
2007-03-07 | fix swizzled writemask bug | Brian | |
2007-03-07 | remove bogus assertion | Brian | |
2007-03-07 | fix incorrect HPOS write test | Brian | |
2007-03-07 | additional error detection | Brian | |
2007-03-07 | Generate an error if the vertex shader does not write to gl_Position. | Brian | |
2007-03-06 | more integer arithmetic updates | Brian | |
2007-03-06 | fix some int arithmetic problems | Brian | |
2007-03-06 | fix vert/frag typo | Brian | |
2007-02-26 | Add EmitHighLevelInstructions, EmitComments booleans to gl_shader_state. | Brian | |
These control code generation options. May be overridden by drivers, debuggers, etc. | |||
2007-02-26 | re-enable var scope destruct in slang_operation_destruct() | Brian | |
2007-02-26 | Fix a few bugs in slang_operation variable scoping. Seems to fix a double-free. | Brian | |
2007-02-26 | formatting fixes | Brian | |
2007-02-26 | fix logic for reporting errors | Brian | |