José Fonseca
e122a8fa18
gallium: Ignore generated files.
vor 17 Jahren
Brian
5ea37f591a
use NEGATE_X/Y/Z/W tokens
vor 17 Jahren
Brian
846969917e
clean-up swizzle fields in fog code, fix NegateBase
vor 17 Jahren
Brian
bdc3825461
Fix broken fog.
Note that fogcoord and front-facing attribs are in the same register, in the
X and Y channels, respectively.
vor 17 Jahren
Brian
ecc9cf43af
Fix incorrect [0,1] clamping in store_dest().
vor 17 Jahren
Brian
13bfa87b09
tweaks to quad drawing, set UsesKill in bitmap shader
vor 17 Jahren
Brian
27cff4402e
copy UsesKill state in _mesa_combine_programs()
vor 17 Jahren
Brian
d11fd189ff
vbuf updates/fixes (KeithW)
Plus, update i915 and Cell drivers for latest vbuf->draw() params.
vor 17 Jahren
Brian
0e6b78c7eb
s/DBG/DRAW_DBG
vor 17 Jahren
Brian
1b5f20c665
remove useless assertions
vor 17 Jahren
Brian
85cfe029b9
init front/back color attrib indexes to 0, not -1
vor 17 Jahren
Brian
dd235ff1db
Fix a two-sided lighting bug (fixes samples/wave.c)
vor 17 Jahren
Brian
587e2becc2
typedef uintptr_t for non-HAVE_POSIX_MEMALIGN build
vor 17 Jahren
Brian
62ef6376be
Don't include stdint.h or inttypes. Use the uint64 typedef instead of uint64_t.
vor 17 Jahren
Brian
5a185ca09a
replace _mesa_printf() with fprintf()
vor 17 Jahren
Brian
0cec2e18d5
remove redundant llvm subdir
vor 17 Jahren
Brian
14a1e5908d
include pipe/draw/draw_context.h
vor 17 Jahren
Brian
dd5a8d234b
Add surface status/clear_value fields, PIPE_SURFACE_STATUS_x tokens
vor 17 Jahren
Brian
d280206c7f
free stvp->draw_shader
vor 17 Jahren
Brian
ac95fee4ff
Fix problems with vertex shaders and the private draw module.
The CSO returned by pipe->create_vs_state() can't be passed to the
private draw module. That was causing glRasterPos to blow up.
Add a 'draw_shader' field to st_vertex_program for use with the private
draw module.
Change st_context->state.vs type from cso_vertex_shader to st_vertex_program.
vor 17 Jahren
Brian
b4e4fafb41
disable debug printf
vor 17 Jahren
Brian
f20cb1d81b
Cell: after sending a batch, wait for a DMA completion signal.
This fixes sporadic rendering glitches.
Using a mailbox msg for now, until spe_mfcio_tag_status_read() or similar
is found to work.
vor 17 Jahren
Brian
c28b112ce3
clamp colors during float->int conversion
vor 17 Jahren
Brian
eff70f67c5
Cell: update surface map code to match recent changes in pipe_surface struct
vor 17 Jahren
Michel Dänzer
2014e0bacb
Remove pipe->get/put_tile_rgba.
pipe_get/put_tile_rgba() now use pipe->get/put_tile internally.
Also simplify the <format>_get/put_tile_rgba() helper functions and clean up
some inconsitencies in them.
vor 17 Jahren
Michel Dänzer
c76efb96b4
Remove mapping fields from struct pipe_surface.
It's now the responsibility of surface users to keep track of their mappings.
vor 17 Jahren
Brian
a511200e5f
Cell: remove fb parameter to get/put_tile()
vor 17 Jahren
Brian
8b1bfd1d27
Cell: disable cell_emit_state() for now
vor 17 Jahren
Brian
d53e1c255a
Cell: collect vars in a spu_global struct
vor 17 Jahren
Brian
dae719a681
Cell: first state object (depth/stencil/alpha) emitted to SPUs
vor 17 Jahren
Brian
68f5a6f743
Cell: whitespace/cleanup
vor 17 Jahren
Brian
2e469775b3
Cell: prefix SPU files with spu_
vor 17 Jahren
Brian
a9a8467472
Cell: prefix SPU sources with spu_
vor 17 Jahren
Brian
07276d676c
Cell: sketch out needed rasterizer state
vor 17 Jahren
Brian
1c22b59559
s/int/uint/ to silence warnings
vor 17 Jahren
Brian
50eb29ed94
whitespace, comment changes
vor 17 Jahren
Brian
8dd678208e
Cell: basic batch buffer working
vor 17 Jahren
Brian
08c2571fb4
Cell: initial work for a hw-like batch buffer system
vor 17 Jahren
Brian
7db94ba031
Cell: remove obsolete cell_prim_buffer struct and code
vor 17 Jahren
Brian
6b5d674f91
Cell: debug code, comments
vor 17 Jahren
Brian
21b282e934
vbuf_flush_vertices() instead of vbuf_flush_indices() in vbuf_end()
vor 17 Jahren
Brian
f313a1ece2
Cell: reformattting
vor 17 Jahren
Brian
d4c806302e
s/int/uint/ to silence warning
vor 17 Jahren
Brian
45230b4e08
Fix malloc size buf, silence signed/unsigned comparision warning
vor 17 Jahren
Brian
1217d5cca3
Cell: Remove the pre-vbuf rendering code
vor 17 Jahren
Brian
299dffce4f
Cell: wait_on_mask_all()
vor 17 Jahren
Brian
aee5f471ce
Cell: remove unneeded #includes
vor 17 Jahren
Brian
71caa922e0
Cell: compute bounding box in cell_vbuf_draw()
vor 17 Jahren
Brian
ea190f4b41
Cell: remove unused color field
vor 17 Jahren
Brian
6059ecaabe
Cell: remove unused code
vor 17 Jahren