Brian
b4d050ffcc
cell: fix build: s/dest/vertex/
17 年之前
José Fonseca
f1bef2cba2
gallium: Countour MSVC's pickyness for structures returned by value.
17 年之前
José Fonseca
901b03e84d
gallium: Wrap decls in extern "C".
17 年之前
José Fonseca
6c597238b2
gallium: Add cso convenience routine (from Keith's patch).
17 年之前
José Fonseca
2cf860b866
gallium: MSVC fixes.
17 年之前
Michal Krol
e0de82fbcb
gallium: Fix build on Windows.
17 年之前
Michal Krol
57060bc1fa
gallium: Silence compiler warnings on Windows.
17 年之前
Michal Krol
69a7c9739b
gallium: Silence compiler warnings on Windows.
17 年之前
Michal Krol
6f238275c7
gallium: Define intptr_t for Windows platform.
17 年之前
Michal Krol
8828dd1443
gallium: Move align_pointer() to p_pointer.h.
17 年之前
Michal Krol
f44b30f1eb
gallium: New file.
17 年之前
José Fonseca
26c57d1630
Avoid building problematic module/drivers on windows.
17 年之前
José Fonseca
16245d9b38
Don't parse mesa's rtasm asm module.
17 年之前
Brian
446bfc32a8
gallium: new draw stage for polygon stipple.
For hardware without native polygon stipple. Create a 32x32 alpha texture
that encodes the stipple pattern. Modify the user's fragment program to
sample the texture (with gl_FragCoord) and kill the fragment according to
the texel value.
Temporarily enabled in softpipe driver, replacing the sp_quad_stipple.c step.
17 年之前
Brian
eb4dc2dd5e
gallium: new AA point drawing stage
AA points are drawn by converting the point to a quad, then modifying the
user's fragment shader to compute a coverage value. The final fragment
color's alpha is modulated by the coverage value. Fragments outside the
point's radius are killed.
17 年之前
Brian
a93d8bfaf2
gallium: fill in some blend/rasterizer template fields to make sure they're all valid, even if not relevant
17 年之前
Brian
d4d2e36a42
gallium: comments, white-space clean-up
17 年之前
Keith Whitwell
20fbcbf580
[PATCH] softpipe: unbreak sp_setup_pos_vector on non-x86 systems
17 年之前
Keith Whitwell
4339744c16
[PATCH] gallium: include p_compiler.h for boolean defn
17 年之前
Keith Whitwell
30479ef110
draw: vertex cache rework
Take a baby step to straightening out vertex paths.
17 年之前
Keith Whitwell
1eaf7b775b
tgsi: print debug messages on failure to codegenerate
17 年之前
Ian Romanick
de5c64e0af
Cell: Remove erroneous ALIGN16_ATTRIB attributes
If a structure is marked as being aligned the SPE compiler performs
extra optimizations (sadly, only -O2 is used) when reading the
structure. Since most of the structures sent in batch buffers are
only 8-byte aligned, this resulted in mysterous bugs with -O2.
17 年之前
Ian Romanick
6dd47c264a
Cell: Add spu_dcache.c to Makefile.
This was erroneously missing in previous commits.
17 年之前
Ian Romanick
e78fc9f2f4
Cell: Initial scalar implementation of spu_dcache_mark_dirty
17 年之前
Ian Romanick
2d1f086c12
Cell: Fix off-by-one error in spu_dcache_fetch_unaligned
An off-by-one error caused an extra qword to be fetched under certain
alignment / size combinations.
17 年之前
Ian Romanick
7c74037852
Cell: Initial pass at unified data cache
17 年之前
Brian
8be9bc08e1
gallium: include p_inlines.h
17 年之前
Brian
d3b7d26b0b
gallium: s/pipe_reference_texture/pipe_texture_reference/
17 年之前
Brian
228f6b9788
gallium: re-fix some msvc warnings
17 年之前
Brian
e523ef7204
cell: use pipe_texture_reference()
17 年之前
Brian
25ea1901b4
gallium: replace some ordinary assignments with pipe_reference_texture()
This fixes at least one instance of dereferencing an invalid texture pointer.
17 年之前
Brian
fce61f341f
gallium: fix bad ptr comparison
17 年之前
Brian
fd4bdd020a
cell: rename cell_state_fs.c -> cell_state_shader.c
17 年之前
Brian
6468347375
cell: init shader-related functions in cell_init_shader_functions()
17 年之前
Brian
9e57e70b42
cell: #includes to silence warnings
17 年之前
Brian
f6e1654e22
cell: plug in cell_set_sampler_texture
17 年之前
Brian
acd2253ae8
Remove obsolete files replaced by cell_pipe_state.c
17 年之前
Brian
9171e63f41
cell: put most simple state-setter functions in new cell_pipe_state.c file
Also, re-org of texture/surface functions.
17 年之前
Brian
4eae65c8e0
gallium: re-org of i965 texture/surface code, functions
17 年之前
Brian
882a4b5054
gallium: minor re-org of 915 surface/texture code
17 年之前
Brian
d5640a2dbd
gallium: new pipe->texture_update() function
Called whenever texture data is changed (glTexImage, glTexSubImage,
glCopyTexSubImage, etc).
17 年之前
Brian
1d45787d4a
gallium: mark texture object data dirty in do_copy_texsubimage()
17 年之前
Brian
3ccbaa977f
gallium: re-enable GenerateMipmap calls
17 年之前
Brian
52e4c8d702
Test calling glTexSubImage2D mid-way through a frame.
17 年之前
Brian
58edb0683d
gallium: state tracker didn't always notify drivers of texobj data changes
Calling glTexSubImage() or glTexImage() to replace texture data didn't
reliably cause pipe->set_sampler_texture() to get called so drivers didn't
always get notified of new texture data.
The st_texture_object->pt pointer doesn't always indicate changed data so
added a dirtyData field.
17 年之前
Brian
22a0b85eae
gallium: use pipe_texture_reference() in sp_tile_cache_set_texture()
17 年之前
Brian
49c3f3b537
gallium: general clean-up of xlib winsys Makefile
17 年之前
Brian
75a4524f2c
gallium: initialize the killmask register to zero before running shader
This fixes mysterious missing fragments when running with SSE.
17 年之前
Brian
4ec46e4869
gallium: add some casts to prevent likely msvc warnings
17 年之前
Brian
a2c06c5b5c
gallium: don't hard-code attrib slot=0 in setup_fragcoord_coeff()
17 年之前