Michal Krol
e8b5d170ab
python/regress: Add more vertex shader tests.
pirms 16 gadiem
Corbin Simpson
27d886ae33
r300-gallium: Backwards test.
Wow, how long's that been there? Embarrassing.
pirms 16 gadiem
Corbin Simpson
7540c847f1
r300-gallium: Moar vert shader emit.
pirms 16 gadiem
Corbin Simpson
ddd0c94f04
r300-gallium: Add vertex shader emit.
pirms 16 gadiem
Corbin Simpson
63529c731a
r300-gallium: Stubs for vertex shaders.
pirms 16 gadiem
Brian Paul
a44f54912e
tgsi: added some helpful debug functions in the tgsi interpreter
Check for NaN/Inf, print exec vectors, print temp registers.
pirms 16 gadiem
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.
pirms 16 gadiem
Brian Paul
ef6f1027ff
draw: added Nan/Inf assertion in debug code
pirms 16 gadiem
Brian Paul
d0f28b6dd9
softpipe: use util_is_inf_or_nan()
And print/warn NaN/Inf in print_vertex().
pirms 16 gadiem
Brian Paul
3705d03b0f
gallium: added util_is_inf_or_nan() function to u_math.h
pirms 16 gadiem
Brian Paul
53d507562b
mesa: minor reformatting, whitespace changes
pirms 16 gadiem
Michal Krol
3f3db46911
python/regress: Initial commit for vertex shader regression tests.
pirms 16 gadiem
Jeremy Huddleston
093ad509fc
Updated CPU_TO_LE32 to work on darwin
pirms 16 gadiem
Jeremy Huddleston
f25c6b164f
Fix compiling indirect.c when GLX_DIRECT_RENDERING is not defined
(cherry picked from commit b65bc1b6cb )
pirms 16 gadiem
José Fonseca
10b987ae7f
python/test: New test for surface copies.
pirms 16 gadiem
José Fonseca
89ecefb887
python/test: Ignore test output files.
pirms 16 gadiem
José Fonseca
e2cdc99788
python/test: Cleanup.
pirms 16 gadiem
José Fonseca
f784906eb9
python/test: Dump classification tree to text file too.
pirms 16 gadiem
José Fonseca
fee78c0c1f
python/test: Set executable permission bit.
pirms 16 gadiem
José Fonseca
4d9dd3ecef
python/test: New test for rendering into textures.
pirms 16 gadiem
José Fonseca
fcc2598fff
util: Enable assembly breakpointt on x86_64.
A breakpoint is much nicer than abort when gdb is attached.
pirms 16 gadiem
José Fonseca
71384f29f1
python/test: Limit tree depth.
pirms 16 gadiem
José Fonseca
65554af5c3
python/test: Infer type (continuous/discrete) from object type.
pirms 16 gadiem
José Fonseca
bdfc411b44
python/test: Flush stdout to keep in sync with debug info on stderr.
pirms 16 gadiem
José Fonseca
10b808156b
python/test: Dump a classification tree of the results when finished testing.
pirms 16 gadiem
José Fonseca
6dd0a5f3d6
python/test: New test for texture transfers.
pirms 16 gadiem
José Fonseca
7d5d5a6cb7
python/test: More descriptive test name.
pirms 16 gadiem
José Fonseca
b4b4986f1f
python: Make get/put_tile_raw more user friendlier.
pirms 16 gadiem
José Fonseca
e848a86dba
python: Add nblocksx/y members to surfaces.
pirms 16 gadiem
José Fonseca
382306c573
gallium: Move pf_is_depth_stencil to p_format.h.
pirms 16 gadiem
Roland Scheidegger
4d89eff0b6
fix ugly copy/paste error in mipmap generation code
pirms 16 gadiem
Corbin Simpson
3eeeaf04e3
r300-gallium: RGBA, not ARGB, after all.
Clearly, something else is wrong.
pirms 16 gadiem
Corbin Simpson
aafbbf7744
r300-gallium: r500-fs: If recompiling a shader, overwrite old insts.
pirms 16 gadiem
Corbin Simpson
70de577b14
r300-gallium: Properly redo shaders when constant buffer changes size.
pirms 16 gadiem
Corbin Simpson
70d39c7053
r300-gallium: Allow surface_fill to clear depth/stencil buffers too.
pirms 16 gadiem
Corbin Simpson
4bfe784dca
r300-gallium: Emit the "right" sequence of colors.
ARGB, not RGBA.
pirms 16 gadiem
Corbin Simpson
a56020fe17
r300-gallium: Fix hardlock when no colors or textures are present.
pirms 16 gadiem
Corbin Simpson
7620b3943b
r300-gallium: Fix strange build error.
Why didn't this come up before?
pirms 16 gadiem
Corbin Simpson
458bfe7e8d
r300-gallium: Handful of small leftovers.
pirms 16 gadiem
Adam Jackson
37fb2d9b23
intel: Avoid mapping the texture image for CopyTex{,Sub}Image
We don't upload the pixels with the CPU in that case, so the map will
only serve as a way of triggering cache flushes over a bunch of data we
don't touch.
pirms 16 gadiem
José Fonseca
f24ce49969
python: Use depth buffer in the triangle example.
pirms 16 gadiem
José Fonseca
b4de7c4c5f
python: Read rgba8 with a single transfer.
pirms 16 gadiem
José Fonseca
ffaff2736f
python: Cleanup.
pirms 16 gadiem
José Fonseca
76d43ed4c9
python: Don't use deprecated clear_value field.
pirms 16 gadiem
José Fonseca
5e815cf26f
python/test: Move the test description logic to the base class.
pirms 16 gadiem
José Fonseca
a8251d041a
python/test: Move the image comparison logic to the base test class.
pirms 16 gadiem
José Fonseca
af25470a54
python: Force unsigned comparison.
pirms 16 gadiem
José Fonseca
844868048f
python: Set correct transfer mode.
pirms 16 gadiem
José Fonseca
28de69d681
python: Set the surface GPU access flags.
Make python surface just a dumb (texture, face, level, zslice) tuple.
pirms 16 gadiem
José Fonseca
68342f9036
python: Hide away the surface usage flags.
Surfaces are now by definition GPU views. So CPU access flags don't make
any sense when creating a surface.
For now we are forcing surfaces to be GPU read/write, but that will go away
soon.
pirms 16 gadiem