Brian
|
309d5b6650
|
New asm instruction and IR_CLAMP node type to allow clamping to [0,1] with instruction saturate-write option. Not finished yet.
|
2007-01-31 08:55:10 -07:00 |
|
Brian
|
9d5853813f
|
allow fragment-only and vertex-only programs
|
2007-01-31 08:47:12 -07:00 |
|
Brian
|
7162398778
|
fix _mesa_get_uniform_location() so it uses the given program handle
|
2007-01-30 16:55:03 -07:00 |
|
Brian
|
fc5a7ea5de
|
noise() works now
|
2007-01-28 19:02:03 -07:00 |
|
Brian
|
7aece10039
|
noise functions
|
2007-01-28 19:01:35 -07:00 |
|
Brian
|
f94e4f216f
|
simple noise test
|
2007-01-28 19:01:04 -07:00 |
|
Brian
|
a06f929362
|
combine emit_unop(), emit_binop(), emit_triop() into emit_arith()
|
2007-01-28 16:26:09 -07:00 |
|
Brian
|
62e7c033c0
|
implement mix() with LRP instruction
|
2007-01-28 16:11:11 -07:00 |
|
Brian
|
4de6fac4da
|
Lots of vartable clean-ups, fixes. Report an error message when we run out
of registers, rather than crash.
|
2007-01-28 12:49:47 -07:00 |
|
Brian
|
602dc1a638
|
minor clean-ups
|
2007-01-28 12:13:27 -07:00 |
|
Brian
|
bbec2fdb3a
|
minor updates
|
2007-01-28 12:11:10 -07:00 |
|
Brian
|
513325fa32
|
Clean-up of var/temp allocation function parameters.
|
2007-01-27 20:29:33 -07:00 |
|
Brian
|
d6772f157a
|
Improved register allocation: allow four 'float' vars or temporaries to share a single register. Clean-up needed.
|
2007-01-27 20:06:41 -07:00 |
|
Brian
|
ea8b68e0f7
|
asst fixes, tranpose span->varying array indexes
|
2007-01-25 10:54:52 -07:00 |
|
Brian
|
ff13f0ea4d
|
fixes, clean-ups, transpose span->varying array indexing
|
2007-01-25 10:52:48 -07:00 |
|
Brian
|
5ef553da9a
|
new comments, ideas
|
2007-01-25 10:51:53 -07:00 |
|
Brian
|
e713c21bd0
|
remove some parenthesis
|
2007-01-24 14:15:01 -07:00 |
|
Brian
|
ff917003f6
|
use FRAG_BIT_TEX()
|
2007-01-24 14:14:14 -07:00 |
|
Brian
|
ccea3ff8a9
|
fix varying interpolation
|
2007-01-24 14:13:36 -07:00 |
|
Brian
|
0552abce0e
|
only setup varying vars that will be used
|
2007-01-24 14:13:02 -07:00 |
|
Brian
|
07373512c7
|
added FRAG_BIT_TEX() and FRAG_BIT_VAR() macros
|
2007-01-24 14:12:08 -07:00 |
|
Brian
|
c920d201c2
|
updated comment
|
2007-01-23 17:41:25 -07:00 |
|
Brian
|
6d4e561e39
|
indicate which opcodes are used by Mesa GLSL, updated comments
|
2007-01-23 17:39:25 -07:00 |
|
Brian
|
223d7cb3c7
|
fix g++ warnings/errors
|
2007-01-23 16:37:51 -07:00 |
|
Brian
|
bc5d480e2c
|
added shading.html link
|
2007-01-21 10:37:25 -07:00 |
|
Brian
|
9595d1935c
|
Added a page with shading language status, tips, etc.
|
2007-01-20 13:40:57 -07:00 |
|
Brian
|
059e901446
|
Add a simple mechanism for annotating instructions for easier debugging.
|
2007-01-20 10:47:10 -07:00 |
|
Brian
|
f116fcc328
|
optimization: emit MAD instructions when possible
|
2007-01-20 09:46:02 -07:00 |
|
Brian
|
1f208c3546
|
remove unused swizzle parameter to -storage_to_src_reg()
|
2007-01-20 09:29:04 -07:00 |
|
Brian
|
5ae49cf3ed
|
Initial implementation of OPCODE_IF/ELSE/ENDIF instructions.
|
2007-01-20 09:27:40 -07:00 |
|
Brian
|
a3e938b8da
|
Reimplement && and || to do short-circuit evaluation.
Improved shader error handling.
|
2007-01-20 09:22:13 -07:00 |
|
Brian
|
9f07ed00e4
|
rewrite more __postIncr functions
|
2007-01-20 07:56:00 -07:00 |
|
Brian
|
3cec66512d
|
Implement do/while loops. Replace IR_CJUMP with IR_CJUMP0 and IR_CJUMP1 so
we can either jump on zero, or non-zero predicate.
|
2007-01-19 13:13:15 -07:00 |
|
Brian
|
eff9690351
|
Rewrite normalize(vec3/vec4) to use one less register.
|
2007-01-19 12:19:38 -07:00 |
|
Brian
|
dceae2829e
|
report error message when something fails
|
2007-01-19 12:02:31 -07:00 |
|
Brian
|
203946e1f9
|
print error msg when there's a problem
|
2007-01-19 12:02:06 -07:00 |
|
Brian
|
74b27674a8
|
remove stray tab
|
2007-01-19 10:31:52 -07:00 |
|
Brian
|
a0092c51b1
|
Implement fragment discard/kill.
|
2007-01-19 10:15:34 -07:00 |
|
Brian
|
8374ccb66f
|
change while-loop to create new scope for loop body, per spec
|
2007-01-19 10:02:58 -07:00 |
|
Brian
|
16183e6430
|
Implement constant sharing so that 4 float constants can share a single
float[4] register slot.
|
2007-01-18 17:29:23 -07:00 |
|
Brian
|
ce6640001d
|
_mesa_add_unnamed_constant() now tries to re-use constants already in
the parameter list.
|
2007-01-18 17:23:48 -07:00 |
|
Brian
|
d70771752f
|
Reimplement code for swizzling so that expressions like (p+q).x for vectors p and q works correctly.
|
2007-01-18 15:35:44 -07:00 |
|
Brian
|
d885ff470a
|
rewrite a bunch of assignment operators (like +=)
|
2007-01-18 15:33:13 -07:00 |
|
Brian
|
e4e66476a9
|
remove debug code
|
2007-01-18 15:23:45 -07:00 |
|
Brian
|
f43eac3ed8
|
remove swizzle param from new_var()
|
2007-01-18 09:22:44 -07:00 |
|
Brian
|
8a2368edce
|
rewrite additional matrix-related functions to reduce register needs
|
2007-01-17 18:37:20 -07:00 |
|
Brian
|
89a3bafe04
|
rewrite mat4 * mat4 operator to use fewer temps
|
2007-01-17 18:30:53 -07:00 |
|
Brian
|
272622a2e0
|
do bounds check in _slang_push_var_table(), added comment
|
2007-01-17 18:21:00 -07:00 |
|
Brian
|
2585b74e19
|
rewrite matrix constructors
|
2007-01-17 18:06:40 -07:00 |
|
Brian
|
4864aaeb02
|
handle var size > 4 in _slang_pop_var_table()
|
2007-01-17 18:02:44 -07:00 |
|