Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | mesa: refactor: move _mesa_Bind/Gen/DeleteProgram() to arbprogram.c | Brian Paul | 2008-07-29 | 1 | -208/+1 | |
| | | | | | | | | No API-level functions now in program.c. | |||||
* | | r500: Add "Not quite SSA" and dead code elimination pass | Nicolai Haehnle | 2008-07-12 | 1 | -7/+54 | |
| | | | | | | | | In addition, this pass fixes non-native swizzles. | |||||
* | | _mesa_clone_program: Copy ShadowSamplers | Nicolai Haehnle | 2008-07-05 | 1 | -0/+1 | |
| | | ||||||
* | | fix tempReg test in _mesa_combine_programs() | Brian Paul | 2008-05-19 | 1 | -1/+1 | |
| | | ||||||
* | | fixes to _mesa_combine_programs(), from gallium-0.1 | Brian Paul | 2008-05-18 | 1 | -5/+44 | |
| | | ||||||
* | | minor changes to aid debugging | Brian Paul | 2008-05-16 | 1 | -7/+15 | |
| | | ||||||
* | | remove stray, left-over RefCount++ | Brian Paul | 2008-05-16 | 1 | -1/+0 | |
| | | ||||||
* | | added _mesa_combine_parameter_lists() | Brian Paul | 2008-05-14 | 1 | -0/+149 | |
| | | | | | | | | cherry-picked from gallium-0.1 | |||||
* | | mesa: added _mesa_insert_instructions() | Brian Paul | 2008-05-14 | 1 | -10/+50 | |
| | | | | | | | | | | | | Also, use new _mesa_free_instructions() in a few places. cherry-picked from gallium-0.1 | |||||
* | | fix some additional program refcounting bugs | Brian Paul | 2008-05-14 | 1 | -16/+9 | |
| | | ||||||
* | | disable debug printfs | Brian Paul | 2008-05-08 | 1 | -2/+2 | |
| | | ||||||
* | | fix refcounting bugs in tnl/tex program caches | Brian Paul | 2008-05-07 | 1 | -3/+3 | |
| | | ||||||
* | | implement full reference counting for vertex/fragment programs | Brian | 2008-05-06 | 1 | -34/+68 | |
| | | | | | | | | | | Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test. | |||||
* | | small cleanups | Alan Hourihane | 2008-04-22 | 1 | -1/+0 | |
| | | ||||||
* | | use ctx->Driver.DeleteProgram() in a few more places | Brian | 2008-03-22 | 1 | -1/+1 | |
| | | ||||||
* | | remove dead code in _mesa_new_program() | Brian | 2007-11-01 | 1 | -7/+0 | |
| | | ||||||
* | | disable ctx->Driver.NewProgram() call in _mesa_new_program() | Brian | 2007-10-29 | 1 | -0/+5 | |
| | | | | | | | | | | | | This was causing infinite recursive calls w/ software drivers. All vertex/fragment shaders should be allocated by calling ctx->Driver.NewProgram(), not by calling _mesa_new_program(). | |||||
* | | Merge branch '965-glsl' | Zou Nan hai | 2007-10-26 | 1 | -0/+2 | |
|\ \ | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/i965/brw_sf.h src/mesa/drivers/dri/i965/intel_context.c | |||||
| * | | Use ProgramStringNotify | Zou Nan hai | 2007-07-17 | 1 | -0/+2 | |
| |/ | ||||||
* | | For _mesa_share_state(), update the context's references to the new share ↵ | Brian | 2007-08-23 | 1 | -0/+43 | |
| | | | | | | | | group's objects (Shane Blackett) | |||||
* | | call ctx->Driver.NewProgram() instead of _mesa_new_program() | Brian | 2007-07-24 | 1 | -1/+1 | |
|/ | ||||||
* | fix instruction comment code | Brian | 2007-04-21 | 1 | -0/+2 | |
| | ||||||
* | free prog->Attributes in _mesa_delete_program() | Brian | 2007-03-24 | 1 | -1/+3 | |
| | ||||||
* | use _mesa_copy_instructions() | Brian | 2007-03-22 | 1 | -2/+2 | |
| | ||||||
* | move GL_MESA_program_debug funcs to prog_debug.c | Brian | 2007-02-09 | 1 | -246/+4 | |
| | ||||||
* | Implement vertex attribute binding. | Brian | 2007-01-09 | 1 | -0/+2 | |
| | | | | | Users can set explicit binding with glBindAttribLocation(), otherwise the linker will allocate generic attribute slots. | |||||
* | Moved NumTexInstructions, NumTexIndirections, etc. into gl_program since | Brian | 2007-01-09 | 1 | -6/+6 | |
| | | | | they can now apply to vertex programs. | |||||
* | move TexturesUsed[] into gl_program since vertex programs/shaders can use ↵ | Brian | 2007-01-04 | 1 | -1/+2 | |
| | | | | textures nowadays | |||||
* | check for null Parameters ptr in _mesa_clone_program() | Brian | 2006-12-19 | 1 | -2/+4 | |
| | ||||||
* | Move many functions into new files. | Brian | 2006-12-14 | 1 | -1652/+4 | |
| | ||||||
* | New functions for cloning programs and parameter lists. | Brian | 2006-12-14 | 1 | -10/+118 | |
| | ||||||
* | Checkpoint of work for new GLSL compiler back-end. Lots of assorted changes. | Brian | 2006-12-13 | 1 | -81/+191 | |
| | ||||||
* | fix several program-related bugs (bug 9136) | Brian Paul | 2006-11-23 | 1 | -0/+4 | |
| | ||||||
* | add STATE_INTERNAL_DRIVER, etc (Rune Petersen) | Brian Paul | 2006-11-17 | 1 | -3/+7 | |
| | ||||||
* | disable yesterday's _mesa_add_named_constant() change for now | Brian Paul | 2006-11-16 | 1 | -0/+2 | |
| | ||||||
* | Add a size parameter to _mesa_add_unnamed_constant() and | Brian Paul | 2006-11-15 | 1 | -2/+5 | |
| | | | | | _mesa_add_named_constant() to indicate vector size (1, 2, 3 or 4). Always 4 for now... | |||||
* | Add new _mesa_lookup_parameter_constant() to search for a GLfloat4 constant | Brian Paul | 2006-11-15 | 1 | -11/+81 | |
| | | | | | | in a parameter list. Use it in _mesa_add_named_constant() and _mesa_add_unnamed_constant() to avoid duplication of identical constants. | |||||
* | Rename _mesa_IsProgram() to _mesa_IsProgramARB() to avoid collision with the | Brian Paul | 2006-11-02 | 1 | -24/+0 | |
| | | | | OpenGL 2.0 function of the same name. | |||||
* | minor clean-ups, simplifications and new comments | Brian Paul | 2006-10-31 | 1 | -26/+21 | |
| | ||||||
* | Move gl_vertex_program_machine struct out of mtypes.h and put into nvvertexec.h. | Brian Paul | 2006-10-30 | 1 | -3/+8 | |
| | | | | | Massage nvvertexec.c code to work more like s_nvfragprog.c - another step toward unifying vertex/fragment program execution. | |||||
* | Change _mesa_init_instruction() to initialize an array of instructions. | Brian Paul | 2006-10-29 | 1 | -17/+23 | |
| | ||||||
* | special case END in _mesa_print_instruction() | Brian Paul | 2006-10-28 | 1 | -0/+3 | |
| | ||||||
* | a step toward moving run-time vertex program state out of GLcontext | Brian Paul | 2006-10-10 | 1 | -2/+2 | |
| | ||||||
* | Move the fp_machine struct into s_nvfragmprog.c since (except for program | Brian Paul | 2006-10-10 | 1 | -6/+10 | |
| | | | | debug) it's only used there. | |||||
* | Add a new internal program parameter value STATE_TEXRECT_SCALE which | Keith Whitwell | 2006-09-20 | 1 | -0/+11 | |
| | | | | | | provides 1/width and 1/height of the active texture, useful for implementing ARB_texture_rectangle support on hardware which only supports ARB_npot-style texturing. | |||||
* | Export _mesa_print_alu_instruction() to allow drivers to roll their | Keith Whitwell | 2006-09-20 | 1 | -41/+38 | |
| | | | | | | own debug code for programs with driver-private opcodes. Remove redundant loop in _mesa_num_inst_src_regs(). | |||||
* | Free vertex program TnlData, if any. Fixes a mem leak. | Brian Paul | 2006-08-25 | 1 | -0/+7 | |
| | ||||||
* | Rearrange glBindProgram() code to do all error checking before changing | Brian Paul | 2006-08-25 | 1 | -51/+43 | |
| | | | | the binding. Prevent a potential dangling pointer error. SF Bug 1544507. | |||||
* | added _mesa_alloc_instructions() utility function | Brian Paul | 2006-08-25 | 1 | -0/+13 | |
| | ||||||
* | Cg tries to bind NV fragment programs to the GL_FRAGMENT_PROGRAM_ARB target | Brian Paul | 2006-08-24 | 1 | -1/+22 | |
| | | | | | | with glBindProgramARB(). I guess the GL_ARB_fragment_program specification allows that, but Mesa didn't. Relaxed the check with a new predicate function: compatible_program_targets(). |