Keith Whitwell
591401ff05
llvmpipe: use new u_ringbuffer for scene queue
16 лет назад
José Fonseca
ba5d600c90
Merge remote branch 'origin/master' into lp-binning
Conflicts:
src/gallium/drivers/llvmpipe/lp_quad.h
src/gallium/drivers/llvmpipe/lp_setup.c
16 лет назад
Keith Whitwell
164fd16cfb
util: add generic ringbuffer utitilty
16 лет назад
Chia-I Wu
dee52d5bd3
gallium: Fix uninitialized instance divisor and index.
16 лет назад
Christoph Bumiller
83387cb6c4
nv50: fix tile flags for scanout tex usage
16 лет назад
Christoph Bumiller
0ae3db1734
nv50: handle all and more system values
16 лет назад
Christoph Bumiller
4c223aaa3b
nv50: hook up geometry programs
16 лет назад
Christoph Bumiller
bbb615382d
nv50: support for geometry programs in nv50_program
16 лет назад
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].
16 лет назад
Alex Deucher
8d24273750
r600: remove stray END_BATCH in blit code
16 лет назад
Jakob Bornecrantz
a5c03bd6f1
draw: Fix memory leak in gs code
16 лет назад
Dave Airlie
66e561a036
i965g: make xorg state tracker build i965g_drv.so
don't make modesetting_drv.so anymore
16 лет назад
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.
16 лет назад
Andre Maasikas
7283a246ce
r600: add initial blit support
16 лет назад
Alex Deucher
ec8ce40083
r600: add r600_blit.c
Unfinished.
16 лет назад
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>
16 лет назад
Brian Paul
fdfe06ad80
llvmpipe: implement scissor test in triangle setup
16 лет назад
Brian Paul
adb48d5350
llvmpipe: remove lp_rast_triangle::min/max fields
These values aren't needed outside the do_triangle_ccw() function.
16 лет назад
Brian Paul
47fee14687
llvmpipe: skip 4x4 in/out test code
It's a litte faster to just do the in/out testing in the shader
jit code.
16 лет назад
Brian Paul
12ba9e99db
llvmpipe: added comment about lookup-tables vs. computation
16 лет назад
Brian Paul
4bef3575e6
llvmpipe: change 'in' to boolean, add comments
16 лет назад
Brian Paul
2797f2bf57
llvmpipe: generate two shader varients, one omits triangle in/out testing
When we know that a 4x4 pixel block is entirely inside of a triangle
use the jit function which omits the in/out test code.
Results in a few percent speedup in many tests.
16 лет назад
Michal Krol
e124080cd6
util: Handle FORMAT_Z32_FLOAT in util_pack_z().
16 лет назад
Michal Krol
1433a2d935
util: Handle the remaining formats in pipe_put_tile_rgba().
16 лет назад
Michal Krol
d29e72633c
util: Fix encoding for R8G8B8A8_UNORM formats and friends.
16 лет назад
Michal Krol
42d55953b1
tgsi: Add ureg_property_gs_input_prim().
16 лет назад
Michal Krol
181adca5d6
tgsi: Add ureg_src_dimension().
16 лет назад
Michal Krol
857b37980c
regress: Add .gitgnore for *.png files.
16 лет назад
Michal Krol
b96976cc7c
draw: Add missing header include.
16 лет назад
Brian Paul
3b1920a349
llvmpipe: asst code changes in lp_state_fs.c
16 лет назад
Roland Scheidegger
bf575b6c27
gallium: document set_constant_buffer
16 лет назад
Roland Scheidegger
5e5d0ad081
Merge branch 'gallium-noconstbuf'
Conflicts:
src/gallium/drivers/softpipe/sp_draw_arrays.c
src/mesa/state_tracker/st_draw_feedback.c
16 лет назад
Brian Paul
345178a7fc
llvmpipe: put labels on some value refs
16 лет назад
Roland Scheidegger
1c4ad77812
gallium: remove set_edgeflags from docs
16 лет назад
Brian Paul
f97eeeec6b
llvmpipe: add extra flags to DEFINES, no CFLAGS
Doesn't make any real difference but -D flags are put into DEFINES
everywhere else.
16 лет назад
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.
16 лет назад
Michal Krol
d1767bfdab
tgsi: Fix sanity checks for indirect registers.
16 лет назад
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.
16 лет назад
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.
16 лет назад
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.
16 лет назад
Michal Krol
6664a6dd7f
st/mesa: Initialise vertex element instance divisor to 0.
16 лет назад
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.
16 лет назад
Brian Paul
8b29d39e99
progs/trival: updated tri-scissor-tri.c test
The scissor left/right/bottom/top bounds can be moved by pressing
the l/r/b/t and L/R/B/T keys.
16 лет назад
Brian Paul
4461442849
llvmpipe: implement scissor testing
The scissor test is implemented as another per-quad operation in
the JIT code. The four scissor box params are passed via the
lp_jit_context. In the JIT code we compare the quad's x/y coords
against the clip bounds and create a new in/out mask that's AND'd
with the main quad mask.
Note: we should also do scissor testing in the triangle setup code
to improve efficiency. That's not done yet.
16 лет назад
Brian Paul
ca12e30d97
llvmpipe: minor comment update
16 лет назад
Brian Paul
16ecd2f078
llvmpipe: clean-up, fixing up frame dump/debug code
16 лет назад
Brian Paul
4f5675e94b
gallium/util: added debug_dump_texture() and ppm output
Now we can get dump debug images on Linux too.
16 лет назад
Brian Paul
dfd6e762e7
llvmpipe: remove redundant code in llvmpipe_set_blend_color()
16 лет назад
Jakob Bornecrantz
877cadb655
r300g: Build driver by default
Do the auto trick that is used for both i915, i965 and svga.
16 лет назад
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
16 лет назад