Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | clean-up formatting | Brian | |
2007-03-09 | Merge branch 'origin' into glsl-compiler-1 | Brian | |
Conflicts: src/mesa/main/context.c | |||
2007-03-07 | fix deferredTexture bug | Brian | |
2007-02-26 | if renderbuffer ptr is null, just return | Brian | |
2007-02-25 | remove unneeded includes | Brian | |
2007-02-25 | remove 'maxInst' parameter from _mesa_execute_program() | Brian | |
2007-02-25 | remove unused 'element' parameter from _mesa_execute_program() | Brian | |
2007-02-24 | Remove unneeded _Fragment/VertexShaderPresent fields, update comments. | Brian | |
2007-02-22 | Use the new unified vertex/fragment program interpreter from prog_execute.c. | Brian | |
Currently, DDX, DDY don't work. | |||
2007-02-22 | use MAX_PROGRAM_ENV_PARAMS | Brian | |
2007-02-22 | Merge branch 'origin' into glsl-compiler-1 | Brian | |
Conflicts: src/mesa/main/state.c src/mesa/shader/program.c src/mesa/shader/program.h src/mesa/shader/programopt.c src/mesa/shader/slang/slang_execute.c src/mesa/sources src/mesa/swrast/s_arbshader.c src/mesa/swrast/s_context.c src/mesa/swrast/s_span.c src/mesa/swrast/s_zoom.c src/mesa/tnl/t_context.c src/mesa/tnl/t_save_api.c src/mesa/tnl/t_vb_arbprogram.c src/mesa/tnl/t_vp_build.c src/mesa/tnl/t_vtx_eval.c | |||
2007-02-17 | Lots of changes to prog_print.c code. | Brian | |
Mainly, allow printing programs in either ARB, NV or "debug" formats. | |||
2007-02-14 | test for POT before using sample_2d_linear_repeat() | Etienne Clement | |
2007-02-08 | consolidate BRA with BRK, CONT | Brian | |
2007-02-08 | Simplify code with eval_condition(). Implement conditional BRK. | Brian | |
2007-02-07 | Use IR_LOOP to represent do-while and for-loops. | Brian | |
Also, start moving high vs. low-level instruction selection into slang_emit.c | |||
2007-02-06 | BRK and CONT work the same | Brian | |
2007-02-06 | Implement CONT, improve BRK. | Brian | |
IR_LOOP's BranchNode ptr is the head of a linked list of CONT and BRK nodes. After emitting loop, walk over the linked list, filling in the CONT/BRK instruction's BranchTarget field (location of the ENDLOOP instruction, or one past). | |||
2007-02-05 | BRK instruction's BranchTarget field now used for efficiently breaking out ↵ | Brian | |
of loops. BRK's BranchTarget field actually points to the top of the loop, not the bottom, since we don't know the later's location yet. In the interpreter, basically do an indirect jump to update the PC. | |||
2007-02-05 | Use IR node's BranchNode field for IF/ELSE/ENDIF instructions. | Brian | |
This allows us to back-patch the IF/ELSE instruction's BranchTarget field to point to the location of the ELSE/ENDIF instructions. No longer have to search for ELSE/ENDIF in the interpreter. Also makes it trivial to translate IF/ELSE instructions into conditional/unconditional BRA instructions. | |||
2007-02-05 | Initial implementation of high-level flow-control instructions. | Brian | |
IF/ELSE/ENDIF and BEGIN_LOOP/END_LOOP/BREAK instructions seem to work. Disabled by default though until better tested. Implemented IR_NOT, but needs optimization. | |||
2007-02-05 | Initial support of loop and subroutine instructions. | Brian | |
New high-level flow-control instructions, both at IR level and GPU instructions for looping and subroutines. | |||
2007-02-05 | Merge SWvertex texcoord and varying fields into attrib[] array field. | Brian | |
Fragment texcoords and varying code is now unified in the point/line/triangle rasterization code. In the future, merge color, fog, etc. attribs. | |||
2007-02-02 | fix maxInst argument | Brian | |
2007-02-02 | unroll inner loop of interpolate_varying() | Brian | |
2007-02-02 | simplify derivative-related code | Brian | |
2007-02-02 | simplify interpolate_texcoords() | Brian | |
2007-02-02 | Replace color, z, w, texture interpolants with new generic attrib interpolants. | Brian | |
2007-02-02 | New span attrStart/attrStepX/attrStepY fields to replace fog, specular, etc. ↵ | Brian | |
fields. More to come. | |||
2007-02-02 | get rid of unused span->start field | Brian | |
2007-02-01 | comments | Brian | |
2007-02-01 | New SWspanarrays attribs[] array. | Brian | |
Replace texcoord[], varying[], etc. arrays with single attribs[] array, indexed by FRAG_ATTRIB_* values. Eliminates need to copy data into fragment program machine input registers. Will lead to future clean-ups. | |||
2007-02-01 | move span-related types/tokens into s_span.h | Brian | |
2007-02-01 | additional assertions, bump up MAX_EXEC | Brian | |
2007-01-28 | noise functions | Brian | |
2007-01-25 | asst fixes, tranpose span->varying array indexes | Brian | |
2007-01-25 | fixes, clean-ups, transpose span->varying array indexing | Brian | |
2007-01-25 | new comments, ideas | Brian | |
2007-01-24 | fix varying interpolation | Brian | |
2007-01-24 | only setup varying vars that will be used | Brian | |
2007-01-23 | fix g++ warnings/errors | Brian | |
2007-01-23 | silence C++ warnings | Brian | |
2007-01-23 | fixes for C++ warnings/errors | Brian | |
2007-01-20 | Initial implementation of OPCODE_IF/ELSE/ENDIF instructions. | Brian | |
2007-01-17 | Added OPCODE_INT to convert 4 floats to 4 ints. | Brian | |
2007-01-09 | more debug code (disabled) | Brian | |
2007-01-08 | check if _Current == NULL for TXB | Brian | |
2007-01-08 | Remove if (tObj) conditional so that texture units without a texture image | Brian | |
return black (0,0,0,1) when sampled. |