Kenneth Graunke
|
75393ee16b
|
Add forgotten autogenerated EXT_texture_array_fs folder.
|
2010-06-09 16:46:09 -07:00 |
|
Kenneth Graunke
|
af05703826
|
Implement 1.30 int/uint variants of min/max/clamp.
|
2010-06-09 16:14:45 -07:00 |
|
Kenneth Graunke
|
c3bf0cbefc
|
texture_builtins.py: The unsigned integer type is "uint", not "unsigned"
This doesn't actually affect anything yet, but is good to fix anyway.
|
2010-06-09 16:11:36 -07:00 |
|
Kenneth Graunke
|
c9aabc866f
|
Implement 1.30 hyperbolic trig builtins (sinh, cosh, tanh).
|
2010-06-09 16:08:36 -07:00 |
|
Kenneth Graunke
|
1d0e07c420
|
Implement 1.20 'transpose' builtin.
|
2010-06-09 15:56:46 -07:00 |
|
Kenneth Graunke
|
43ff6fc4ae
|
Implement 1.20 'outerProduct' builtin.
|
2010-06-09 15:47:34 -07:00 |
|
Kenneth Graunke
|
0c8ffadc8c
|
Implement matrixCompMult builtin - the last of the 110 builtins.
|
2010-06-09 15:35:54 -07:00 |
|
Kenneth Graunke
|
b843c7a20c
|
Implement dFdx, dFdy, and fwidth via new expression opcodes.
|
2010-06-09 14:44:39 -07:00 |
|
Kenneth Graunke
|
cbd881da3f
|
Implement 'refract' builtin.
|
2010-06-09 14:44:39 -07:00 |
|
Kenneth Graunke
|
3ffedf1249
|
Fix some typing issues in asin.
CorrectFunction.vert now passes.
|
2010-06-09 14:15:04 -07:00 |
|
Kenneth Graunke
|
c476ba8fe2
|
Add a completely bogus implementation of the noise[1234] builtins.
idr suggested this. Eventually we will need a real one.
|
2010-06-09 14:07:35 -07:00 |
|
Kenneth Graunke
|
855fcb22c1
|
Implement 'acos' builtin.
This is tacked on to the end of the 'asin' file because acos calls asin,
whech means asin needs to be defined first. Alphabetical order fail.
|
2010-06-09 13:52:32 -07:00 |
|
Kenneth Graunke
|
539f29323f
|
Implement 'faceforward' builtin.
|
2010-06-09 13:27:16 -07:00 |
|
Kenneth Graunke
|
29b22287fe
|
Implement 'distance' builtin.
|
2010-06-09 13:17:00 -07:00 |
|
Kenneth Graunke
|
cdf1726ffd
|
Add remaining signatures for 'clamp' builtin.
|
2010-06-09 13:10:00 -07:00 |
|
Kenneth Graunke
|
76796ed66f
|
Add remaining signatures for 'max' builtin.
|
2010-06-09 13:05:40 -07:00 |
|
Kenneth Graunke
|
47d44c877e
|
Add remaining signatures for 'min' builtin.
|
2010-06-09 13:04:16 -07:00 |
|
Kenneth Graunke
|
2438f64e63
|
Add remaining signatures for 'mod' builtin.
|
2010-06-09 13:04:03 -07:00 |
|
Kenneth Graunke
|
4b0029a97d
|
Commit output of texture_builtins.py and refresh builtin_function.cpp.
|
2010-06-09 11:14:58 -07:00 |
|
Kenneth Graunke
|
5e65c1ccae
|
texture_builtins.py: Support the EXT_texture_array extension.
|
2010-06-09 11:14:58 -07:00 |
|
Kenneth Graunke
|
cc249f79e7
|
generate_builtins.pl: Support stage-specific builtins even for extensions.
|
2010-06-09 11:14:58 -07:00 |
|
Kenneth Graunke
|
c34a624c9f
|
texture_builtins.py: Fixes for Array variants.
The array layer is now included as part of the texture coordinate.
|
2010-06-09 11:14:58 -07:00 |
|
Kenneth Graunke
|
538da12092
|
texture_builtins.py: Add support for 130 Proj variants.
|
2010-06-09 11:14:58 -07:00 |
|
Kenneth Graunke
|
b3bcea7db6
|
Add a python script to generate texture builtins.
|
2010-06-09 11:14:58 -07:00 |
|
Kenneth Graunke
|
9aefbe838c
|
generate_builtins.pl: Support directiories for each extension.
|
2010-06-09 11:14:58 -07:00 |
|
Kenneth Graunke
|
9d1fc46f0c
|
generate_builtins.pl: Support _fs directories as well as _vs.
|
2010-06-09 11:14:57 -07:00 |
|
Eric Anholt
|
5b9ac87941
|
builtins: Add support for reflect().
Fixes glsl-orangebook-ch06.frag parsing.
|
2010-06-01 15:15:05 -07:00 |
|
Eric Anholt
|
da46e5f534
|
builtins: Add ftransform().
Fixes glsl-orangebook-ch06-bump.vert.
|
2010-06-01 15:15:05 -07:00 |
|
Eric Anholt
|
f03acfc7d7
|
builtins: Add the mix(gentype, gentype, float) variant.
The broken-in-mesa Regnum Online shader now parses, except for its
preprocessor usage.
|
2010-06-01 15:15:04 -07:00 |
|
Eric Anholt
|
60fa1a9458
|
builtins: Add atan().
|
2010-06-01 15:15:04 -07:00 |
|
Eric Anholt
|
5e58e541e0
|
builtins: Add asin().
|
2010-06-01 15:15:04 -07:00 |
|
Kenneth Graunke
|
c8de850dd5
|
Implement "tan" builtin.
|
2010-05-14 16:34:46 -07:00 |
|
Kenneth Graunke
|
57e7da173e
|
Implement "sin" and "cos" builtins via new expression operators.
|
2010-05-14 16:34:46 -07:00 |
|
Kenneth Graunke
|
6a9b1e1f06
|
Implement "cross" builtin.
|
2010-05-14 16:34:46 -07:00 |
|
Kenneth Graunke
|
d9bda3c29d
|
Implement "fract" builtin.
|
2010-05-14 16:34:46 -07:00 |
|
Kenneth Graunke
|
a4b7b5a654
|
Implement "sign" builtin via a new expression operator.
|
2010-05-14 16:34:46 -07:00 |
|
Kenneth Graunke
|
c2de187523
|
Implement "smoothstep" builtin.
|
2010-05-14 16:34:46 -07:00 |
|
Kenneth Graunke
|
a2b63d3ed1
|
Implement "step" builtin.
|
2010-05-14 16:34:46 -07:00 |
|
Kenneth Graunke
|
4c7367b3f9
|
Add a perl script to generate builtin_function.cpp.
Usage: ./builtins/tools/generate_builtins.pl > builtin_function.cpp
|
2010-05-14 16:34:46 -07:00 |
|
Kenneth Graunke
|
a40e68b256
|
Fix bogus expression typing in various builtins.
|
2010-05-14 16:34:46 -07:00 |
|
Kenneth Graunke
|
e4afc64290
|
Initial commit of IR for builtins.
These were all generated by Eric's existing builtin_functions.cpp; I split
the uvec* signatures out of 110 into the 130 folder.
|
2010-05-14 16:34:46 -07:00 |
|