Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | noise functions | Brian | 2007-01-28 | 9 | -139/+214 |
| | |||||
* | simple noise test | Brian | 2007-01-28 | 2 | -0/+297 |
| | |||||
* | combine emit_unop(), emit_binop(), emit_triop() into emit_arith() | Brian | 2007-01-28 | 1 | -109/+52 |
| | |||||
* | implement mix() with LRP instruction | Brian | 2007-01-28 | 6 | -294/+335 |
| | |||||
* | Lots of vartable clean-ups, fixes. Report an error message when we run out | Brian | 2007-01-28 | 5 | -96/+168 |
| | | | | of registers, rather than crash. | ||||
* | minor clean-ups | Brian | 2007-01-28 | 1 | -8/+1 |
| | |||||
* | minor updates | Brian | 2007-01-28 | 1 | -4/+4 |
| | |||||
* | Clean-up of var/temp allocation function parameters. | Brian | 2007-01-27 | 4 | -74/+67 |
| | |||||
* | Improved register allocation: allow four 'float' vars or temporaries to ↵ | Brian | 2007-01-27 | 3 | -64/+137 |
| | | | | share a single register. Clean-up needed. | ||||
* | asst fixes, tranpose span->varying array indexes | Brian | 2007-01-25 | 1 | -38/+54 |
| | |||||
* | fixes, clean-ups, transpose span->varying array indexing | Brian | 2007-01-25 | 1 | -21/+29 |
| | |||||
* | new comments, ideas | Brian | 2007-01-25 | 1 | -21/+22 |
| | |||||
* | remove some parenthesis | Brian | 2007-01-24 | 1 | -1/+1 |
| | |||||
* | use FRAG_BIT_TEX() | Brian | 2007-01-24 | 1 | -1/+1 |
| | |||||
* | fix varying interpolation | Brian | 2007-01-24 | 1 | -2/+5 |
| | |||||
* | only setup varying vars that will be used | Brian | 2007-01-24 | 2 | -25/+35 |
| | |||||
* | added FRAG_BIT_TEX() and FRAG_BIT_VAR() macros | Brian | 2007-01-24 | 1 | -0/+4 |
| | |||||
* | updated comment | Brian | 2007-01-23 | 1 | -2/+1 |
| | |||||
* | indicate which opcodes are used by Mesa GLSL, updated comments | Brian | 2007-01-23 | 1 | -92/+102 |
| | |||||
* | fix g++ warnings/errors | Brian | 2007-01-23 | 11 | -48/+54 |
| | |||||
* | added shading.html link | Brian | 2007-01-21 | 1 | -0/+1 |
| | |||||
* | Added a page with shading language status, tips, etc. | Brian | 2007-01-20 | 1 | -0/+116 |
| | |||||
* | Add a simple mechanism for annotating instructions for easier debugging. | Brian | 2007-01-20 | 1 | -4/+148 |
| | |||||
* | optimization: emit MAD instructions when possible | Brian | 2007-01-20 | 1 | -10/+50 |
| | |||||
* | remove unused swizzle parameter to -storage_to_src_reg() | Brian | 2007-01-20 | 1 | -18/+9 |
| | |||||
* | Initial implementation of OPCODE_IF/ELSE/ENDIF instructions. | Brian | 2007-01-20 | 8 | -3/+182 |
| | |||||
* | Reimplement && and || to do short-circuit evaluation. | Brian | 2007-01-20 | 4 | -117/+159 |
| | | | | Improved shader error handling. | ||||
* | rewrite more __postIncr functions | Brian | 2007-01-20 | 2 | -105/+137 |
| | |||||
* | Implement do/while loops. Replace IR_CJUMP with IR_CJUMP0 and IR_CJUMP1 so | Brian | 2007-01-19 | 3 | -16/+79 |
| | | | | we can either jump on zero, or non-zero predicate. | ||||
* | Rewrite normalize(vec3/vec4) to use one less register. | Brian | 2007-01-19 | 2 | -335/+346 |
| | |||||
* | report error message when something fails | Brian | 2007-01-19 | 1 | -2/+23 |
| | |||||
* | print error msg when there's a problem | Brian | 2007-01-19 | 1 | -1/+4 |
| | |||||
* | remove stray tab | Brian | 2007-01-19 | 1 | -1/+1 |
| | |||||
* | Implement fragment discard/kill. | Brian | 2007-01-19 | 3 | -1/+24 |
| | |||||
* | change while-loop to create new scope for loop body, per spec | Brian | 2007-01-19 | 2 | -3/+3 |
| | |||||
* | Implement constant sharing so that 4 float constants can share a single | Brian | 2007-01-18 | 2 | -12/+19 |
| | | | | float[4] register slot. | ||||
* | _mesa_add_unnamed_constant() now tries to re-use constants already in | Brian | 2007-01-18 | 1 | -30/+57 |
| | | | | the parameter list. | ||||
* | Reimplement code for swizzling so that expressions like (p+q).x for vectors ↵ | Brian | 2007-01-18 | 4 | -91/+129 |
| | | | | p and q works correctly. | ||||
* | rewrite a bunch of assignment operators (like +=) | Brian | 2007-01-18 | 2 | -488/+495 |
| | |||||
* | remove debug code | Brian | 2007-01-18 | 1 | -4/+0 |
| | |||||
* | remove swizzle param from new_var() | Brian | 2007-01-18 | 1 | -5/+5 |
| | |||||
* | rewrite additional matrix-related functions to reduce register needs | Brian | 2007-01-17 | 2 | -468/+463 |
| | |||||
* | rewrite mat4 * mat4 operator to use fewer temps | Brian | 2007-01-17 | 2 | -383/+430 |
| | |||||
* | do bounds check in _slang_push_var_table(), added comment | Brian | 2007-01-17 | 1 | -1/+3 |
| | |||||
* | rewrite matrix constructors | Brian | 2007-01-17 | 2 | -787/+928 |
| | |||||
* | handle var size > 4 in _slang_pop_var_table() | Brian | 2007-01-17 | 1 | -3/+7 |
| | |||||
* | minor fprintf() change | Brian | 2007-01-17 | 1 | -1/+1 |
| | |||||
* | Rewrite a bunch of constructors. It's now important that the first | Brian | 2007-01-17 | 2 | -713/+801 |
| | | | | | | | constructor for any given type be the one that takes the most parameters as this is the constructor that'll be used when there's no perfect match to the caller's arguments. See the _slang_adapt_call() function for details. | ||||
* | _slang_gen_function_call_name() now tries to adapt function calls (expand | Brian | 2007-01-17 | 2 | -12/+44 |
| | | | | vectors, insert casts) when a perfect match isn't found. | ||||
* | New _slang_adapt_call() function. | Brian | 2007-01-17 | 2 | -0/+154 |
| | | | | | | | | | | | | This is used to modify function calls (when possible) to make the arguments map to the function parameters. This includes "unrolling" vector types and doing casts. Example: vec2 v2 = vec2(1.2, 3.4) ivec3 iv = ivec3(false, v2); Is converted into: ivec3 iv = ivec3(int(false), int(v2[0]), int(v2[1])) |