summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
Commit message (Expand)AuthorAgeFilesLines
* Implement do/while loops. Replace IR_CJUMP with IR_CJUMP0 and IR_CJUMP1 soBrian2007-01-193-16/+79
* Rewrite normalize(vec3/vec4) to use one less register.Brian2007-01-192-335/+346
* report error message when something failsBrian2007-01-191-2/+23
* print error msg when there's a problemBrian2007-01-191-1/+4
* remove stray tabBrian2007-01-191-1/+1
* Implement fragment discard/kill.Brian2007-01-193-1/+24
* change while-loop to create new scope for loop body, per specBrian2007-01-192-3/+3
* Implement constant sharing so that 4 float constants can share a singleBrian2007-01-182-12/+19
* _mesa_add_unnamed_constant() now tries to re-use constants already inBrian2007-01-181-30/+57
* Reimplement code for swizzling so that expressions like (p+q).x for vectors p...Brian2007-01-184-91/+129
* rewrite a bunch of assignment operators (like +=)Brian2007-01-182-488/+495
* remove swizzle param from new_var()Brian2007-01-181-5/+5
* rewrite additional matrix-related functions to reduce register needsBrian2007-01-172-468/+463
* rewrite mat4 * mat4 operator to use fewer tempsBrian2007-01-172-383/+430
* do bounds check in _slang_push_var_table(), added commentBrian2007-01-171-1/+3
* rewrite matrix constructorsBrian2007-01-172-787/+928
* handle var size > 4 in _slang_pop_var_table()Brian2007-01-171-3/+7
* Rewrite a bunch of constructors. It's now important that the firstBrian2007-01-172-713/+801
* _slang_gen_function_call_name() now tries to adapt function calls (expandBrian2007-01-172-12/+44
* New _slang_adapt_call() function.Brian2007-01-172-0/+154
* code clean-up, re-org. Added IR_F_TO_I support.Brian2007-01-171-90/+112
* added IR_F_TO_I, update commentsBrian2007-01-171-3/+4
* Added OPCODE_INT to convert 4 floats to 4 ints.Brian2007-01-172-0/+2
* Fix/clean-up a number of things related to variable/temporary allocation.Brian2007-01-173-29/+54
* Implement codegen for the selection operator ( b ? x : y )Brian2007-01-162-19/+104
* fix typoBrian2007-01-161-1/+1
* when automatically binding vertex attributes, start with attrib 1, not 0Brian2007-01-161-2/+5
* remove dead codeBrian2007-01-161-11/+0
* commentsBrian2007-01-162-60/+50
* implement logical or, xor, notBrian2007-01-163-55/+84
* some additional vector constructorsBrian2007-01-162-724/+758
* fix _slang_gen_subscript() for the case when a simple vector is accessed as a...Brian2007-01-161-17/+52
* Reimplement the post-increment/decrement functions.Brian2007-01-153-151/+190
* Implement the ++var and --var operators, improve some constructors.Brian2007-01-153-811/+843
* added vec3 constructor codeBrian2007-01-151-0/+14
* added IR_ELEMENTBrian2007-01-151-0/+1
* checkpoint: ++, -- and && operatorsBrian2007-01-151-5/+74
* Redo the way array indexes are handled. Resolve storage location at code emi...Brian2007-01-153-48/+46
* 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-1311-477/+495
* 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 te...Brian2007-01-116-17/+174
* 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