José Fonseca
346e127732
util: Lookup symbol names from addresses.
...
Nice for stack backtraces.
Windows-only for now.
2009-04-01 21:29:58 +01:00
Michal Krol
d11a476ead
tgsi: Fix structure members initialisation.
2009-04-01 22:06:53 +02:00
Michal Krol
4900545bba
python/regress: Add vertex shader LRP test.
2009-04-01 16:06:22 +02:00
Michal Krol
16c281dfb5
python/regress: Add vertex shader FRC test.
2009-04-01 16:06:20 +02:00
Brian Paul
f8dd6594bf
glsl: fix texgen state variable tokens in emit_statevars()
...
This fixes broken variable indexing into the gl_Eye/ObjectPlaneS/T/R/Q arrays.
See bug 20986.
2009-04-01 07:37:08 -06:00
Brian Paul
2555bed7fc
mesa: minor tweaks in append_token() for printing state var strings
2009-04-01 07:37:08 -06:00
Michal Krol
daec1035a2
tgsi: Lookup alternate instruction mnemonics when parsing tgsi text.
2009-04-01 11:49:55 +02:00
Michal Krol
1aa4b79dc7
tgsi: Provide alternate instruction mnemonics in tgsi info.
2009-04-01 11:45:25 +02:00
Michal Krol
9d77663abb
tgsi/doc: Fix typo.
2009-04-01 11:25:58 +02:00
Michal Krol
998234ced2
python/regress: Add vertex shader EX2 test.
2009-04-01 11:25:02 +02:00
Michal Krol
449bab61b3
python/regress: Add vertex shader DST test.
2009-04-01 11:09:37 +02:00
Michal Krol
65cbe7e69c
python/regress: Fix vertex shader XPD test.
2009-04-01 11:08:41 +02:00
Michal Krol
dd6f1771c9
python/regress: Indent.
2009-04-01 10:58:46 +02:00
Michal Krol
5d8677469b
python/regress: Add vertex shader test for XPD.
2009-04-01 10:56:53 +02:00
Michal Krol
541d74423a
python/regress: Rename test files from *.txt to *.sh -- won't be .gitignored.
2009-04-01 10:34:08 +02:00
Michal Krol
e8b5d170ab
python/regress: Add more vertex shader tests.
2009-04-01 10:34:05 +02:00
Corbin Simpson
27d886ae33
r300-gallium: Backwards test.
...
Wow, how long's that been there? Embarrassing.
2009-03-31 20:24:50 -07:00
Corbin Simpson
7540c847f1
r300-gallium: Moar vert shader emit.
2009-03-31 20:23:55 -07:00
Corbin Simpson
ddd0c94f04
r300-gallium: Add vertex shader emit.
2009-03-31 18:58:03 -07:00
Corbin Simpson
63529c731a
r300-gallium: Stubs for vertex shaders.
2009-03-31 18:32:10 -07:00
Brian Paul
a44f54912e
tgsi: added some helpful debug functions in the tgsi interpreter
...
Check for NaN/Inf, print exec vectors, print temp registers.
2009-03-31 16:21:51 -06:00
Brian Paul
919f57078b
mesa: fix bug in GPU codegen for fixed-function two-sided lighting
...
The 'dots' register wasn't getting properly un-negated and un-swizzled
after emitting the code for back-face lighting. So, if more than one
light source was enabled, the specular exponent for the next light source
was wrong.
During execution we were evaluating pow(x, y) where y was negative instead
of positive. This led to the outcome being zero or NaN.
This fixes the occasional black triangles seen in isosurf when hacked to
enable two-sided lighting.
2009-03-31 16:21:51 -06:00
Brian Paul
ef6f1027ff
draw: added Nan/Inf assertion in debug code
2009-03-31 16:21:51 -06:00
Brian Paul
d0f28b6dd9
softpipe: use util_is_inf_or_nan()
...
And print/warn NaN/Inf in print_vertex().
2009-03-31 16:21:51 -06:00
Brian Paul
3705d03b0f
gallium: added util_is_inf_or_nan() function to u_math.h
2009-03-31 16:21:51 -06:00
Brian Paul
53d507562b
mesa: minor reformatting, whitespace changes
2009-03-31 16:21:51 -06:00
Michal Krol
3f3db46911
python/regress: Initial commit for vertex shader regression tests.
2009-04-01 00:20:56 +02:00
Jeremy Huddleston
093ad509fc
Updated CPU_TO_LE32 to work on darwin
2009-03-31 15:08:49 -07:00
Jeremy Huddleston
f25c6b164f
Fix compiling indirect.c when GLX_DIRECT_RENDERING is not defined
...
(cherry picked from commit b65bc1b6cb72df950c2e26446936804dfcdc432c)
2009-03-31 15:01:45 -07:00
José Fonseca
10b987ae7f
python/test: New test for surface copies.
2009-03-31 19:16:17 +01:00
José Fonseca
89ecefb887
python/test: Ignore test output files.
2009-03-31 18:39:18 +01:00
José Fonseca
e2cdc99788
python/test: Cleanup.
2009-03-31 18:39:06 +01:00
José Fonseca
f784906eb9
python/test: Dump classification tree to text file too.
2009-03-31 18:38:48 +01:00
José Fonseca
fee78c0c1f
python/test: Set executable permission bit.
2009-03-31 18:02:27 +01:00
José Fonseca
4d9dd3ecef
python/test: New test for rendering into textures.
2009-03-31 18:01:32 +01:00
José Fonseca
fcc2598fff
util: Enable assembly breakpointt on x86_64.
...
A breakpoint is much nicer than abort when gdb is attached.
2009-03-31 18:00:46 +01:00
José Fonseca
71384f29f1
python/test: Limit tree depth.
2009-03-31 17:23:48 +01:00
José Fonseca
65554af5c3
python/test: Infer type (continuous/discrete) from object type.
2009-03-31 17:21:52 +01:00
José Fonseca
bdfc411b44
python/test: Flush stdout to keep in sync with debug info on stderr.
2009-03-31 16:39:11 +01:00
José Fonseca
10b808156b
python/test: Dump a classification tree of the results when finished testing.
2009-03-31 16:38:03 +01:00
José Fonseca
6dd0a5f3d6
python/test: New test for texture transfers.
2009-03-31 12:29:13 +01:00
José Fonseca
7d5d5a6cb7
python/test: More descriptive test name.
2009-03-31 12:29:13 +01:00
José Fonseca
b4b4986f1f
python: Make get/put_tile_raw more user friendlier.
2009-03-31 12:29:13 +01:00
José Fonseca
e848a86dba
python: Add nblocksx/y members to surfaces.
2009-03-31 12:29:13 +01:00
José Fonseca
382306c573
gallium: Move pf_is_depth_stencil to p_format.h.
2009-03-31 12:29:13 +01:00
Roland Scheidegger
4d89eff0b6
fix ugly copy/paste error in mipmap generation code
2009-03-31 03:19:29 +02:00
Corbin Simpson
3eeeaf04e3
r300-gallium: RGBA, not ARGB, after all.
...
Clearly, something else is wrong.
2009-03-30 17:31:58 -07:00
Corbin Simpson
aafbbf7744
r300-gallium: r500-fs: If recompiling a shader, overwrite old insts.
2009-03-30 17:20:12 -07:00
Corbin Simpson
70de577b14
r300-gallium: Properly redo shaders when constant buffer changes size.
2009-03-30 16:58:20 -07:00
Corbin Simpson
70d39c7053
r300-gallium: Allow surface_fill to clear depth/stencil buffers too.
2009-03-30 16:51:01 -07:00