Jakob Bornecrantz
2a60302e51
softpipe: Fix leak in vbuf draw module
15 år sedan
Christoph Bumiller
1448d2f252
nv50: implement instanced drawing
Too bad we don't have hw array divisors or a method for
setting startInstance.
15 år sedan
Jakob Bornecrantz
a4bbabf494
softpipe: Move st/python's malloc winsys to softpipe
Users of softpipe can still specify thier own winsys
but now there is a default one also that uses malloc.
This allows the malloc winsys to be shared with other
users of softpipe.
15 år sedan
Jakob Bornecrantz
0e4e2c57d1
st/xlib: Make glXGetProcAddressARB visible
15 år sedan
Jakob Bornecrantz
876a6b4865
gallium: Support swig "compiler" in p_compiler.h
15 år sedan
Jakob Bornecrantz
31c626811a
i965g: Link against drm_intel instead of drm_radeon
15 år sedan
Corbin Simpson
945cea01d9
r300g: Check for bogus texture targets.
15 år sedan
Marek Olšák
b62d339301
r300g: fix the rasterization of secondary color
When the secondary color is used, the primary color must always be rasterized
regardless of whether it is used or not.
15 år sedan
Marek Olšák
7d3090f0fe
r300g: fix vertex colors with 8 bits per channel
The piglit BGRA tests pass now.
15 år sedan
Marek Olšák
c4a2f13a5c
r300g: simplify is_format_supported
15 år sedan
Marek Olšák
8959608051
r300g: output texture debug messages if only RADEON_DEBUG=tex is set
15 år sedan
Marek Olšák
08edbe9f14
r300g: move debug flags into r300_screen
15 år sedan
Marek Olšák
21f3bbf149
r300g: disable the MIP filter for NPOT textures
Safety first.
15 år sedan
Marek Olšák
37897a65e2
r300g: fix the CS size when emitting invariant state
15 år sedan
Alan Coopersmith
816cb90e7c
radeon_compiler: include main/compiler.h for compiler portability macros
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com>
15 år sedan
Corbin Simpson
c69bd0ead7
r300g: Stop using indices.
Sorry, it was a good game, but it just doesn't work.
15 år sedan
Corbin Simpson
eedebfa579
r300g: Respect fill modes in indices fallback.
15 år sedan
Keith Whitwell
164fd16cfb
util: add generic ringbuffer utitilty
15 år sedan
Chia-I Wu
dee52d5bd3
gallium: Fix uninitialized instance divisor and index.
15 år sedan
Christoph Bumiller
83387cb6c4
nv50: fix tile flags for scanout tex usage
15 år sedan
Christoph Bumiller
0ae3db1734
nv50: handle all and more system values
15 år sedan
Christoph Bumiller
4c223aaa3b
nv50: hook up geometry programs
15 år sedan
Christoph Bumiller
bbb615382d
nv50: support for geometry programs in nv50_program
15 år sedan
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].
15 år sedan
Alex Deucher
8d24273750
r600: remove stray END_BATCH in blit code
15 år sedan
Jakob Bornecrantz
a5c03bd6f1
draw: Fix memory leak in gs code
15 år sedan
Dave Airlie
66e561a036
i965g: make xorg state tracker build i965g_drv.so
don't make modesetting_drv.so anymore
15 år sedan
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.
15 år sedan
Andre Maasikas
7283a246ce
r600: add initial blit support
15 år sedan
Alex Deucher
ec8ce40083
r600: add r600_blit.c
Unfinished.
15 år sedan
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>
15 år sedan
Michal Krol
e124080cd6
util: Handle FORMAT_Z32_FLOAT in util_pack_z().
15 år sedan
Michal Krol
1433a2d935
util: Handle the remaining formats in pipe_put_tile_rgba().
15 år sedan
Michal Krol
d29e72633c
util: Fix encoding for R8G8B8A8_UNORM formats and friends.
15 år sedan
Michal Krol
42d55953b1
tgsi: Add ureg_property_gs_input_prim().
15 år sedan
Michal Krol
181adca5d6
tgsi: Add ureg_src_dimension().
15 år sedan
Michal Krol
857b37980c
regress: Add .gitgnore for *.png files.
15 år sedan
Michal Krol
b96976cc7c
draw: Add missing header include.
15 år sedan
Roland Scheidegger
bf575b6c27
gallium: document set_constant_buffer
15 år sedan
Roland Scheidegger
5e5d0ad081
Merge branch 'gallium-noconstbuf'
Conflicts:
src/gallium/drivers/softpipe/sp_draw_arrays.c
src/mesa/state_tracker/st_draw_feedback.c
15 år sedan
Roland Scheidegger
1c4ad77812
gallium: remove set_edgeflags from docs
15 år sedan
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.
15 år sedan
Michal Krol
d1767bfdab
tgsi: Fix sanity checks for indirect registers.
15 år sedan
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.
15 år sedan
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.
15 år sedan
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.
15 år sedan
Michal Krol
6664a6dd7f
st/mesa: Initialise vertex element instance divisor to 0.
15 år sedan
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.
15 år sedan
Jakob Bornecrantz
ccc888c39e
st/xorg: If dri2 version is 2 support version 1 as well
Thanks to X server commit 2e2c5b216c
it is possible to be ABI compatible in version 2 with version 1 of
the DRI2 interface.
15 år sedan
Jakob Bornecrantz
3e1241d4f8
st/xorg: Set enforce version to 1 if not defined
15 år sedan