Chia-I Wu
dee52d5bd3
gallium: Fix uninitialized instance divisor and index.
2010-01-16 18:18:09 +01:00
Christoph Bumiller
83387cb6c4
nv50: fix tile flags for scanout tex usage
2010-01-16 18:07:31 +01:00
Christoph Bumiller
0ae3db1734
nv50: handle all and more system values
2010-01-16 18:07:31 +01:00
Christoph Bumiller
4c223aaa3b
nv50: hook up geometry programs
2010-01-16 18:07:31 +01:00
Christoph Bumiller
bbb615382d
nv50: support for geometry programs in nv50_program
2010-01-16 18:07:31 +01:00
Christoph Bumiller
e791e6f27c
nv50: get access to primitive input space
...
Vertex data in geometry programs is located in p[] space.
The base address in p[] for vertex i is located in vertex
attribute space, i.e. a[i << 2].
This means p[] is always accessed with an address register,
and I had to to mess with their allocation once again.
Also fixes negative offsets e.g. CONST[ADDR[0].x - 3].
2010-01-16 18:07:30 +01:00
Alex Deucher
8d24273750
r600: remove stray END_BATCH in blit code
2010-01-16 08:45:08 -05:00
Jakob Bornecrantz
a5c03bd6f1
draw: Fix memory leak in gs code
2010-01-16 10:44:57 +00:00
Dave Airlie
66e561a036
i965g: make xorg state tracker build i965g_drv.so
...
don't make modesetting_drv.so anymore
2010-01-16 19:28:45 +10:00
Alex Deucher
8b704396a3
r600: improve blit support
...
- fill in more src/dst formats
- disable depth copies for now
- set proper data formats in render target regs
- fill in additional default state
The swizzles on some of the less used mesa formats
are probably wrong.
2010-01-15 23:06:18 -05:00
Andre Maasikas
7283a246ce
r600: add initial blit support
2010-01-15 23:06:05 -05:00
Alex Deucher
ec8ce40083
r600: add r600_blit.c
...
Unfinished.
2010-01-15 23:05:56 -05:00
Patrice Mandin
923aab93d9
nouveau: nv30: Remove useless variables fs, txp. Also do not change txf, as bit 13 is in the texture format
...
Signed-off-by: Patrice Mandin <patmandin@gmail.com>
2010-01-15 22:29:13 +01:00
Michal Krol
e124080cd6
util: Handle FORMAT_Z32_FLOAT in util_pack_z().
2010-01-15 19:00:15 +01:00
Michal Krol
1433a2d935
util: Handle the remaining formats in pipe_put_tile_rgba().
2010-01-15 19:00:11 +01:00
Michal Krol
d29e72633c
util: Fix encoding for R8G8B8A8_UNORM formats and friends.
2010-01-15 19:00:09 +01:00
Michal Krol
42d55953b1
tgsi: Add ureg_property_gs_input_prim().
2010-01-15 19:00:06 +01:00
Michal Krol
181adca5d6
tgsi: Add ureg_src_dimension().
2010-01-15 19:00:03 +01:00
Michal Krol
857b37980c
regress: Add .gitgnore for *.png files.
2010-01-15 18:59:59 +01:00
Michal Krol
b96976cc7c
draw: Add missing header include.
2010-01-15 18:59:55 +01:00
Roland Scheidegger
bf575b6c27
gallium: document set_constant_buffer
2010-01-15 18:25:14 +01:00
Roland Scheidegger
5e5d0ad081
Merge branch 'gallium-noconstbuf'
...
Conflicts:
src/gallium/drivers/softpipe/sp_draw_arrays.c
src/mesa/state_tracker/st_draw_feedback.c
2010-01-15 18:09:45 +01:00
Roland Scheidegger
1c4ad77812
gallium: remove set_edgeflags from docs
2010-01-15 17:55:42 +01:00
Brian Paul
5d57e70ffa
configs: remove -ansi from linux-debug
...
-ansi implies -std=c89 but that conflicts with the -std=c99 flag
which is also provided.
Allows the r300g driver to compile.
2010-01-15 09:02:56 -07:00
Michal Krol
d1767bfdab
tgsi: Fix sanity checks for indirect registers.
2010-01-15 11:44:23 +01:00
Chia-I Wu
8cfdbfbcbd
st/egl_g3d: Avoid validation upon buffer swap or flush frontbuffer.
...
With screen->update_buffer being hooked, leave the job to the state
trackers.
2010-01-15 18:12:23 +08:00
Chia-I Wu
b2c7b08299
st/egl_g3d: Hook to update_buffer of the pipe screen.
...
It is a notification from the client APIs that the surface size might
have changed.
2010-01-15 18:12:20 +08:00
Chia-I Wu
51b00574a2
st/egl_g3d: Always override flush_frontbuffer.
...
Instead of letting the native displays install their own version of
flush_frontbuffer, always override the callback with a version that
calls the flush_frontbuffer of the native surface.
2010-01-15 17:42:57 +08:00
Michal Krol
6664a6dd7f
st/mesa: Initialise vertex element instance divisor to 0.
2010-01-15 07:52:18 +01:00
Luca Barbieri
f7748d72b4
draw: Add GALLIUM_DUMP_VS environment variable.
...
Add GALLIUM_DUMP_VS to dump the vertex shader to the console like
GALLIUM_DUMP_FS in softpipe.
2010-01-15 07:30:17 +01:00
Jakob Bornecrantz
ccc888c39e
st/xorg: If dri2 version is 2 support version 1 as well
...
Thanks to X server commit 2e2c5b216cc1c7a9bc26bd2c68226aaed5fc52ca
it is possible to be ABI compatible in version 2 with version 1 of
the DRI2 interface.
2010-01-15 01:38:04 +00:00
Jakob Bornecrantz
3e1241d4f8
st/xorg: Set enforce version to 1 if not defined
2010-01-15 01:38:04 +00:00
Thomas Hellstrom
ae97520e37
ws/vmware: Check DRM version also when bootstrapping in dri2 mode.
...
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-01-18 15:56:57 +01:00
Thomas Hellstrom
5f2d60a715
st/dri: Don't request a fake front if the server adds one automatically.
...
We use the presence of the getBuffersWithFormat extension function to
detect whether the server automatically adds a front.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-01-18 13:39:25 +01:00
Vinson Lee
d773f28ff2
mesa: Remove unnecessary headers from texformat.c.
2010-01-18 00:47:56 -08:00
Vinson Lee
39824945fa
mesa: Remove unnecessary headers from texgetimage.c.
2010-01-18 00:14:51 -08:00
Vinson Lee
6938dccf1a
mesa: Remove unnecessary header from teximage.c.
2010-01-17 22:31:53 -08:00
Vinson Lee
c847e7d07b
mesa: Remove unnecessary header from texobj.c.
2010-01-17 20:50:15 -08:00
Vinson Lee
59eed7a201
mesa: Remove unnecessary header from texparam.c.
2010-01-17 16:21:11 -08:00
Vinson Lee
3e876431d0
mesa: Remove unnecessary headers from texstate.c.
2010-01-17 16:08:59 -08:00
Vinson Lee
6b6ac9aca0
mesa: Use preprocessor to comment out code.
2010-01-17 15:48:39 -08:00
Vinson Lee
ae943f8e20
mesa: Remove unnecessary headers from vtxfmt.c.
2010-01-17 01:49:16 -08:00
Vinson Lee
97e44cde17
mesa: Remove unnecessary headers from arbprogparse.c.
2010-01-16 23:41:05 -08:00
Vinson Lee
97fc7ae69f
mesa: Remove unnecessary header from nvvertparse.c.
2010-01-16 16:15:37 -08:00
Vinson Lee
5a4d5b694c
glsl: Remove unnecessary header from prog_execute.c.
2010-01-16 16:06:58 -08:00
Vinson Lee
148498d8cc
glsl: Remove unnecessary header from prog_statevars.c.
2010-01-16 15:51:52 -08:00
Vinson Lee
0d62242082
glsl: Remove unnecessary headers from shader_api.c.
2010-01-16 15:35:56 -08:00
Vinson Lee
1f7762f62b
glsl: Remove unnecessary header from slang_emit.c.
2010-01-16 15:00:29 -08:00
Vinson Lee
89950fbe24
st/mesa: Remove unnecessary header from st_cb_drawpixels.c.
2010-01-16 13:29:15 -08:00
Vinson Lee
59db91e2ee
glsl: Remove unnecessary header from slang_builtin.c.
2010-01-16 02:20:51 -08:00