summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* checkpoint: ++, -- and && operatorsBrian2007-01-151-5/+74
|
* Redo the way array indexes are handled. Resolve storage location at code ↵Brian2007-01-153-48/+46
| | | | emit time, not codegen time.
* remove old globalsBrian2007-01-151-10/+0
|
* commentsBrian2007-01-151-0/+7
|
* Move some global vars into slang_assemble_ctx.Brian2007-01-152-31/+37
|
* fix the subassig, mulassign and divassign casesBrian2007-01-151-12/+3
|
* clean-up slang_allocate_storage()Brian2007-01-151-44/+22
|
* Rework code related to temp register allocation, both for user variablesBrian2007-01-1312-477/+496
| | | | | | and expression temporarires. Much better register utilization now. Lots of other fixes. The OpenGL GLSL "orange book" brick shader demo works now.
* slang_variable_scope now stores array of pointers to slang_variables.Brian2007-01-136-39/+63
|
* added another vec4 constructor, updated += operatorBrian2007-01-132-483/+493
|
* Fix a problem with inlined "return" statements. Make some attempt to free ↵Brian2007-01-116-17/+174
| | | | temporaries.
* disable some code that'll eventually go awayBrian2007-01-111-0/+2
|
* new vec3 constructor, replace float_add w/ vec4_addBrian2007-01-112-684/+699
|
* tweak outputBrian2007-01-111-3/+4
|
* checkpoint: codegen for global vars/constants now workingBrian2007-01-103-43/+56
|
* checkpoint: codegen for global vars w/ initializersBrian2007-01-104-167/+228
|
* assorted code clean-upsBrian2007-01-103-28/+35
|
* fix size bug in _mesa_add_attribute()Brian2007-01-101-0/+2
|
* simplify _mesa_add_state_reference()Brian2007-01-101-10/+2
|
* Update _save_VertexAttrib() functions for non-aliasing behaviour.Brian2007-01-101-36/+93
|
* get rid of STATE_USER_ATTRIB/STATE_AUTO_ATTRIBBrian2007-01-094-10/+8
|
* clean up a bunch of program parameter stuffBrian2007-01-098-51/+85
|
* Implement vertex attribute binding.Brian2007-01-0910-44/+209
| | | | | Users can set explicit binding with glBindAttribLocation(), otherwise the linker will allocate generic attribute slots.
* more debug code (disabled)Brian2007-01-091-1/+5
|
* add code for generic attributes 16..31Brian2007-01-091-1/+37
|
* added _mesa_count_texture_indirections(), _mesa_count_texture_instructions()Brian2007-01-092-4/+92
|
* Moved NumTexInstructions, NumTexIndirections, etc. into gl_program sinceBrian2007-01-095-33/+33
| | | | they can now apply to vertex programs.
* remove old commentBrian2007-01-091-5/+0
|
* Vertex program texture samplers done, but untested (need to add TEX/TXB toBrian2007-01-092-97/+171
| | | | the T&L vertex program interpreter).
* Implement shadow samplers and dFdx(), dFdy() code generation.Brian2007-01-096-70/+120
|
* implement biased texture functionsBrian2007-01-086-178/+238
|
* check if _Current == NULL for TXBBrian2007-01-081-3/+5
|
* added 1D texture functionsBrian2007-01-081-0/+2
|
* Remove if (tObj) conditional so that texture units without a texture imageBrian2007-01-081-5/+6
| | | | return black (0,0,0,1) when sampled.
* update texture1D functionsBrian2007-01-082-96/+98
|
* Implement projective texture sampling, 3D textures. Disable some debug output.Brian2007-01-087-119/+143
|
* Move some code around, add some comments.Brian2007-01-081-242/+256
|
* Move storage allocation functions from slang_emit.c to slang_codegen.cBrian2007-01-083-347/+288
|
* checkpoint: more work on variable/storage allocationBrian2007-01-081-44/+40
|
* Checkpoint: re-org of (global) variable allocation code. More to come...Brian2007-01-084-140/+184
|
* Checkpoint glsl compiler work: sampler uniforms now implemented, linked ↵Brian2007-01-0512-284/+359
| | | | properly.
* added PROGRAM_SAMPLERBrian2007-01-051-0/+2
|
* added Sampler field to prog_instruction structBrian2007-01-051-0/+6
|
* added PROGRAM_SAMPLERBrian2007-01-051-1/+2
|
* added _mesa_add_sampler()Brian2007-01-052-5/+27
|
* update TexturesUsed[] in slang_update_inputs_outputs()Brian2007-01-041-2/+0
|
* update TexturesUsed[] in slang_update_inputs_outputs()Brian2007-01-041-0/+10
|
* compute InputsRead/OutputsWritten with slang_update_inputs_outputs()Brian2007-01-042-20/+31
|
* move TexturesUsed[] into gl_program since vertex programs/shaders can use ↵Brian2007-01-046-7/+7
| | | | textures nowadays
* simplify update_texture_state() a bit, compute _EnabledCoordUnits for shadersBrian2007-01-041-16/+25
|