Corbin Simpson
c69bd0ead7
r300g: Stop using indices.
Sorry, it was a good game, but it just doesn't work.
pirms 15 gadiem
Corbin Simpson
eedebfa579
r300g: Respect fill modes in indices fallback.
pirms 15 gadiem
Keith Whitwell
164fd16cfb
util: add generic ringbuffer utitilty
pirms 15 gadiem
Chia-I Wu
dee52d5bd3
gallium: Fix uninitialized instance divisor and index.
pirms 15 gadiem
Christoph Bumiller
83387cb6c4
nv50: fix tile flags for scanout tex usage
pirms 15 gadiem
Christoph Bumiller
0ae3db1734
nv50: handle all and more system values
pirms 15 gadiem
Christoph Bumiller
4c223aaa3b
nv50: hook up geometry programs
pirms 15 gadiem
Christoph Bumiller
bbb615382d
nv50: support for geometry programs in nv50_program
pirms 15 gadiem
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].
pirms 15 gadiem
Alex Deucher
8d24273750
r600: remove stray END_BATCH in blit code
pirms 15 gadiem
Jakob Bornecrantz
a5c03bd6f1
draw: Fix memory leak in gs code
pirms 15 gadiem
Dave Airlie
66e561a036
i965g: make xorg state tracker build i965g_drv.so
don't make modesetting_drv.so anymore
pirms 15 gadiem
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.
pirms 15 gadiem
Andre Maasikas
7283a246ce
r600: add initial blit support
pirms 15 gadiem
Alex Deucher
ec8ce40083
r600: add r600_blit.c
Unfinished.
pirms 15 gadiem
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>
pirms 15 gadiem
Michal Krol
e124080cd6
util: Handle FORMAT_Z32_FLOAT in util_pack_z().
pirms 15 gadiem
Michal Krol
1433a2d935
util: Handle the remaining formats in pipe_put_tile_rgba().
pirms 15 gadiem
Michal Krol
d29e72633c
util: Fix encoding for R8G8B8A8_UNORM formats and friends.
pirms 15 gadiem
Michal Krol
42d55953b1
tgsi: Add ureg_property_gs_input_prim().
pirms 15 gadiem
Michal Krol
181adca5d6
tgsi: Add ureg_src_dimension().
pirms 15 gadiem
Michal Krol
857b37980c
regress: Add .gitgnore for *.png files.
pirms 15 gadiem
Michal Krol
b96976cc7c
draw: Add missing header include.
pirms 15 gadiem
Roland Scheidegger
bf575b6c27
gallium: document set_constant_buffer
pirms 15 gadiem
Roland Scheidegger
5e5d0ad081
Merge branch 'gallium-noconstbuf'
Conflicts:
src/gallium/drivers/softpipe/sp_draw_arrays.c
src/mesa/state_tracker/st_draw_feedback.c
pirms 15 gadiem
Roland Scheidegger
1c4ad77812
gallium: remove set_edgeflags from docs
pirms 15 gadiem
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.
pirms 15 gadiem
Michal Krol
d1767bfdab
tgsi: Fix sanity checks for indirect registers.
pirms 15 gadiem
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.
pirms 15 gadiem
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.
pirms 15 gadiem
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.
pirms 15 gadiem
Michal Krol
6664a6dd7f
st/mesa: Initialise vertex element instance divisor to 0.
pirms 15 gadiem
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.
pirms 15 gadiem
Jakob Bornecrantz
877cadb655
r300g: Build driver by default
Do the auto trick that is used for both i915, i965 and svga.
pirms 15 gadiem
Jakob Bornecrantz
b01ffb12ed
Merge branch 'mesa_7_7_branch'
Conflicts:
src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c
src/gallium/auxiliary/util/Makefile
src/gallium/drivers/r300/r300_state_derived.c
pirms 15 gadiem
Michal Krol
ffd2848056
gallium: Document drawing commands.
pirms 15 gadiem
Michal Krol
5184b02b07
Merge branch 'instanced-arrays'
Conflicts:
src/gallium/drivers/softpipe/sp_draw_arrays.c
pirms 15 gadiem
Corbin Simpson
1bc77e9931
r300g: Cleanup from last few commits.
Strangely enough, the code solidified pretty quickly.
pirms 15 gadiem
Łukasz Krotowski
60628c65c9
r300g: Really destroy translated buffer at the end.
Note that indexSize is changed by r300_translate_elts(). Also make sure
it's destroyed on errors.
pirms 15 gadiem
Brian Paul
7fcfb71931
progs/trivial: test user clip plane in tri-point-line-clipped.c
pirms 15 gadiem
Brian Paul
0a82692154
progs/trivial: test glPolygonMode(POINT/LINE) with frustum clipping
Note whether the new verts introduced by clipping show up as points
and lines along the edge of the window...
pirms 15 gadiem
Brian Paul
d6b4655e13
gallium/util: silence warning about array initializers
pirms 15 gadiem
Chia-I Wu
81430b95d0
egl_g3d: Check if the creation of pipe or st context fails.
It should not return an incomplete EGLContext to the users.
pirms 15 gadiem
Chia-I Wu
6cb89b23ee
st/egl_g3d: Use a sequence number to decide if validation is required.
It is not safe to assume that the native surface has not changed since
the last validation by checking the geometry alone. Add a sequence
number to "validate" callback for that purpose. This is inspired by
Luca Barbieri's work.
pirms 15 gadiem
Vinson Lee
252812bf15
st/mesa: Remove unnecessary header from st_program.c.
pirms 15 gadiem
Vinson Lee
c109ca9c49
st/mesa: Remove unnecessary header from st_texture.c.
pirms 15 gadiem
Vinson Lee
6b39e8aeb0
swrast: Remove unnecessary header from s_accum.c.
pirms 15 gadiem
Vinson Lee
78411881d3
swrast: Remove unnecessary header from s_atifragshader.c.
pirms 15 gadiem
Vinson Lee
0a70868131
swrast: Remove unnecessary header from s_bitmap.c.
pirms 15 gadiem
Vinson Lee
886cffb44e
swrast: Remove unnecessary headers from s_copypix.c.
pirms 15 gadiem