José Fonseca
70b1ff9ff3
python: Expand the texture test suit to cover one YUV and one DXT format.
2008-07-16 14:13:10 +09:00
José Fonseca
61c4de53c3
python: Silent debug output.
2008-07-16 14:13:10 +09:00
José Fonseca
fbf0f6bd4d
gallium: Add pf_is_compressed utility function.
2008-07-16 14:13:09 +09:00
José Fonseca
0c2c0a862c
softpipe: DXT formats not really supported.
2008-07-16 14:13:09 +09:00
Brian Paul
f006358d56
gallium: added some sanity check assertions
2008-07-15 13:29:25 -06:00
José Fonseca
3392bcaaa8
python: Cleanup.
2008-07-15 17:58:48 +09:00
José Fonseca
ee470020e1
python: Request/respect the texture & buffer usage flags in the examples.
2008-07-15 17:58:48 +09:00
José Fonseca
d5ed158dc8
python: Get object ownership done correctly.
2008-07-15 17:58:48 +09:00
José Fonseca
1d03102b31
python: Allow hardware support.
2008-07-15 17:58:48 +09:00
José Fonseca
2c4349aa3a
python: Move the python scons code to a separate tool module.
2008-07-15 17:58:47 +09:00
José Fonseca
ead8fcd92a
python: Get it to build on windows too.
2008-07-15 17:58:47 +09:00
Michal Krol
c60e009a91
tgsi: Numerical label before an instruction is optional.
2008-07-15 10:58:17 +02:00
Brian Paul
6eb7f763fb
tgsi: fix bug in execution of loops inside of conditionals.
...
Fixes infinite loop bug.
2008-07-14 18:08:52 -06:00
José Fonseca
64979d618a
python: Basic test case for 2d texture.
2008-07-14 22:27:40 +09:00
José Fonseca
3aea28b9b1
python: Raw tile access to surface.
2008-07-14 22:26:40 +09:00
José Fonseca
00cd96b68f
python: Get the sample app to draw triangle like trivial/tri exanple.
2008-07-14 12:41:07 +09:00
José Fonseca
f07ad529af
python: Surface clears.
2008-07-14 12:41:07 +09:00
José Fonseca
3679f69023
python: Set default state.
2008-07-14 12:41:06 +09:00
José Fonseca
05a23e6c6f
python: Allow to create/specify shaders.
2008-07-14 12:41:06 +09:00
Jakob Bornecrantz
16c2267d55
i915: Ops should not have pushed that
...
This reverts commit 930a863c4f .
2008-07-13 18:55:38 +02:00
Ben Skeggs
d68a3ebf0e
Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1
2008-07-14 01:14:52 +10:00
Jakob Bornecrantz
930a863c4f
i915: WIP swap rework
2008-07-13 16:49:00 +02:00
José Fonseca
6410e94b96
python: New state tracker which exposes the pipe driver to python scripts.
...
Still under development. Just barely works.
2008-07-13 23:37:40 +09:00
José Fonseca
36dd89c8a7
util: Eliminate pipe from the arguments to pipe_get/put_tile_xxx functions.
...
You don't need a pipe_context * for this, and all other necessary info is
already inside pipe_surface.
2008-07-13 23:37:40 +09:00
José Fonseca
17af66fc1a
pb: buffer over/underflows are errors.
2008-07-13 23:37:40 +09:00
Michal Krol
f5c51ebd2a
tgsi: Parse destination operand modulate modifier.
2008-07-13 15:23:14 +02:00
Michal Krol
94013b66b9
tgsi: Parse extended source register modifiers.
2008-07-13 15:14:31 +02:00
Michal Krol
47a45aaa0f
tgsi: Parse _SAT and _SAT opcode suffix.
2008-07-13 14:50:12 +02:00
Michal Krol
a7d8eed61c
tgsi: Parse IMM statements.
2008-07-13 14:11:26 +02:00
Michal Krol
3d5dcc2203
tgsi: Parse texture instructions correctly.
2008-07-13 13:17:41 +02:00
Michal Krol
46a7843099
tgsi: Fix instruction operand counts.
2008-07-13 13:17:39 +02:00
Michal Krol
cfd2bf9fa1
tgsi: Fix instruction opcode parsing.
2008-07-13 13:17:37 +02:00
Michal Krol
625034104a
tgsi: Add missing SWZ opcode.
2008-07-13 13:17:34 +02:00
Michal Krol
ee647b9020
tgsi: Parse DCL statements.
2008-07-13 13:17:32 +02:00
Michal Krol
bd3b47590e
tgsi: Remove depricated ATTRIB interpolate mode.
2008-07-13 13:17:30 +02:00
Stephane Marchesin
92d711e9e6
llvm: build fixes.
2008-07-13 11:33:41 +02:00
Michal Krol
c415de5e25
scons: List `util/tgsi_text.c'.
2008-07-12 17:10:21 +02:00
Michal Krol
d0386d55ff
tgsi: Add tgsi_text utility module.
...
Translates textual shader into a binary token stream.
The syntax matches the tgsi_dump module, so it's possible to
simply copy-paste the shader dump and transform it back
to a binary form.
2008-07-12 17:06:37 +02:00
Michal Krol
9ea485f886
tgsi: Fix dumping of indirect addressing.
2008-07-12 17:03:30 +02:00
Patrice Mandin
1d50e26f4a
nv30: no npot textures
2008-07-12 15:07:02 +02:00
Patrice Mandin
fa167eedeb
nv30: update caps
2008-07-12 13:59:24 +02:00
Patrice Mandin
a9863caefc
nv30: do not shift texture format
2008-07-12 13:59:01 +02:00
Patrice Mandin
12118fcd12
nv30: Emit vertex buffer objects using state objects
2008-07-12 13:16:47 +02:00
Patrice Mandin
ac44f334e3
nv30: Move edgeflag stuff
2008-07-12 12:24:37 +02:00
Patrice Mandin
3d0e18ff5f
nv30: Reorder, remove useless stuff
2008-07-12 11:53:10 +02:00
Patrice Mandin
4ca346a8c0
nv30: Rename state emission func
2008-07-12 11:45:51 +02:00
Michal Krol
7279d663e9
tgsi: Add missing copyright headers.
2008-07-12 11:17:21 +02:00
Patrice Mandin
9489de9980
nv30: was setting wrong register
2008-07-12 10:13:58 +02:00
Patrice Mandin
b23e20a386
nv30: does not have vp_attrib/result
2008-07-12 10:10:16 +02:00
Patrice Mandin
740c93a08c
nv30: Change comment about slowdown
2008-07-12 00:48:44 +02:00