Ben Skeggs
d68a3ebf0e
Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1
2008-07-14 01:14:52 +10: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
Patrice Mandin
58737dc875
nv30: Emit fragment program using state objects
2008-07-12 00:48:26 +02:00
Patrice Mandin
2419a5fe36
nv30: Emit vertex program using state objects
2008-07-12 00:19:15 +02:00
Brian Paul
80b24166a5
egl: a minor overhauld of egl_xdri.c
...
Rely more on the libGL code to avoid duplicated efforts. Also fix confusion
arising from multiple __DRIscreen objects.
2008-07-11 15:45:03 -06:00
Brian Paul
df2c9424d3
glx: added __glXPreferEGL() to tell libGL to prefer "egl_" drivers over regular DRI drivers.
...
Also, clean-up, consolidate the dlopen() code a bit.
2008-07-11 15:45:03 -06:00
Brian Paul
7986baf7cf
build egl subdirs
2008-07-11 15:45:03 -06:00
Patrice Mandin
c708627754
nv30: Move constant buffers out of vert/frag prog structures
2008-07-11 23:17:47 +02:00
Patrice Mandin
5acbd0b096
nv30: Emit fragtex state using state objects
2008-07-11 22:42:42 +02:00
Patrice Mandin
b327b06405
nv30: split fragprog_upload from fragprog_bind
2008-07-11 22:06:12 +02:00
Patrice Mandin
37a418b3b0
nv30: split fragprog_prepare from fragprog_translate
2008-07-11 21:31:24 +02:00
Patrice Mandin
36ac2ade17
nv30: Update miptree to match latest changes
2008-07-11 21:14:32 +02:00
Jakob Bornecrantz
6e938e4f82
gallium: Make dri drivers create a egl_name_dri.so if supported
2008-07-11 20:09:52 +02:00
Ben Skeggs
7c949fb2a2
nv50: obey do_flip in surface_copy()
2008-07-11 22:50:10 +10:00
Ben Skeggs
9b0add0be4
nv50: quick hack to get textures untiled on map, and tiled on unmap
...
progs/fp/tri-tex is all good now rather than all scrambled :)
2008-07-11 22:46:07 +10:00
Ben Skeggs
5180a668a7
nouveau: winsys surface funcs deprecated, remove them
2008-07-11 22:24:24 +10:00
Ben Skeggs
866a68dbd1
nv50: demagic tex filter / wrap mode
2008-07-11 22:01:29 +10:00
Ben Skeggs
7c745de749
nv50: add some texture formats
2008-07-11 21:19:41 +10:00
Ben Skeggs
62100692b8
nv50: split tic construction out into own file
2008-07-11 20:49:06 +10:00
Ben Skeggs
857a3294a9
nv50: add license headers to .c files
2008-07-11 20:44:39 +10:00
Jakob Bornecrantz
5de823c00b
gallium: Re-order the GALLIUM_AUXILIARY_DIRS to satisfy dependencies on util
2008-07-10 22:41:34 +02:00
Brian Paul
bae90edfda
gallium: check for FEATURE_feedback and FEATURE_drawpix when creating/using the aux draw module
2008-07-10 14:23:27 -06:00
Brian Paul
f5cdc657b2
egl: added EGL_OPENVG_API case (allow all APIs)
2008-07-10 13:30:52 -06:00