summaryrefslogtreecommitdiff
path: root/src/mesa/shader
AgeCommit message (Collapse)Author
2007-01-15checkpoint: ++, -- and && operatorsBrian
2007-01-15Redo the way array indexes are handled. Resolve storage location at code ↵Brian
emit time, not codegen time.
2007-01-15mesa: Update _Current along Current on fragment program bound.Jerome Glisse
Same as a previously committed patch for vertex program, we update fragment program ptr _Current along the Current one so that _Current can't end up pointing to a no more valid program.
2007-01-15remove old globalsBrian
2007-01-15commentsBrian
2007-01-15Move some global vars into slang_assemble_ctx.Brian
2007-01-15fix the subassig, mulassign and divassign casesBrian
2007-01-15clean-up slang_allocate_storage()Brian
2007-01-14mesa: Update _Current ptr along Current when a new vertex program is bind.Jerome Glisse
On new vertex program bind only the Current ptr where updated to point to the new program; this could lead to _Current pointing to and out of date or even a no more existing program which in turn could lead to a segfault in some driver. To avoid this _Current ptr is updated along Current if _Current where previously pointing to the same program.
2007-01-13Rework code related to temp register allocation, both for user variablesBrian
and expression temporarires. Much better register utilization now. Lots of other fixes. The OpenGL GLSL "orange book" brick shader demo works now.
2007-01-13slang_variable_scope now stores array of pointers to slang_variables.Brian
2007-01-13added another vec4 constructor, updated += operatorBrian
2007-01-11Fix a problem with inlined "return" statements. Make some attempt to free ↵Brian
temporaries.
2007-01-11disable some code that'll eventually go awayBrian
2007-01-11new vec3 constructor, replace float_add w/ vec4_addBrian
2007-01-11tweak outputBrian
2007-01-10checkpoint: codegen for global vars/constants now workingBrian
2007-01-10checkpoint: codegen for global vars w/ initializersBrian
2007-01-10assorted code clean-upsBrian
2007-01-10fix size bug in _mesa_add_attribute()Brian
2007-01-10simplify _mesa_add_state_reference()Brian
2007-01-09get rid of STATE_USER_ATTRIB/STATE_AUTO_ATTRIBBrian
2007-01-09clean up a bunch of program parameter stuffBrian
2007-01-09Implement vertex attribute binding.Brian
Users can set explicit binding with glBindAttribLocation(), otherwise the linker will allocate generic attribute slots.
2007-01-09added _mesa_count_texture_indirections(), _mesa_count_texture_instructions()Brian
2007-01-09Moved NumTexInstructions, NumTexIndirections, etc. into gl_program sinceBrian
they can now apply to vertex programs.
2007-01-09remove old commentBrian
2007-01-09Vertex program texture samplers done, but untested (need to add TEX/TXB toBrian
the T&L vertex program interpreter).
2007-01-09Implement shadow samplers and dFdx(), dFdy() code generation.Brian
2007-01-08implement biased texture functionsBrian
2007-01-08added 1D texture functionsBrian
2007-01-08update texture1D functionsBrian
2007-01-08Implement projective texture sampling, 3D textures. Disable some debug output.Brian
2007-01-08Move some code around, add some comments.Brian
2007-01-08Move storage allocation functions from slang_emit.c to slang_codegen.cBrian
2007-01-08checkpoint: more work on variable/storage allocationBrian
2007-01-08Checkpoint: re-org of (global) variable allocation code. More to come...Brian
2007-01-05Checkpoint glsl compiler work: sampler uniforms now implemented, linked ↵Brian
properly.
2007-01-05added PROGRAM_SAMPLERBrian
2007-01-05added Sampler field to prog_instruction structBrian
2007-01-05added _mesa_add_sampler()Brian
2007-01-04update TexturesUsed[] in slang_update_inputs_outputs()Brian
2007-01-04update TexturesUsed[] in slang_update_inputs_outputs()Brian
2007-01-04compute InputsRead/OutputsWritten with slang_update_inputs_outputs()Brian
2007-01-04move TexturesUsed[] into gl_program since vertex programs/shaders can use ↵Brian
textures nowadays
2007-01-04minor formatting fixBrian
2007-01-04added texture attribs in slang_find_input()Brian
2007-01-04initial code to get texture sampling limping alongBrian
2007-01-04temporary disable some memory deallocations to work around a memory ↵Brian
corruption bug
2007-01-04finish some loose ends in _mesa_uniform()Brian