summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* r300g: disable emitting the HWTCL-related state when SWTCL is in useMarek Olšák2010-03-074-5/+12
| | | | Now SWTCL renders at least "something", we're close...
* r300g: resurrect r300_emit_vertex_buffer for SWTCLMarek Olšák2010-03-071-2/+28
| | | | Taken over from c9928ac3ee5dc0d10127388f9312779a6c59da7c.
* r300g: validate buffers when using SWTCLMarek Olšák2010-03-071-3/+5
|
* r300g: share the VS-output-mapping state with SWTCLMarek Olšák2010-03-074-148/+96
| | | | And associated cleanups.
* r300g: abort if FS compilation fails on non-debug buildsMarek Olšák2010-03-071-0/+1
|
* r300g: minor cleanups after the no-rhw mergeMarek Olšák2010-03-062-9/+5
|
* r300g: clamp vertex max index according to currently bound buffersMarek Olšák2010-03-061-1/+1
|
* util: Use bitshift arithmetic to unpack pixels.José Fonseca2010-03-061-23/+92
| | | | All test cases pass now.
* util: Move the format tests cases here so that they can be easily shared.José Fonseca2010-03-064-0/+615
|
* util: Several fixes to clamping and test.José Fonseca2010-03-061-9/+6
| | | | | All tests pass here except util_format_b5g5r5a1_unorm_unpack_4ub, due to apparently a gcc 4.4.3 bug.
* util: Fix the maximum value computation for SSCALED channels.José Fonseca2010-03-061-1/+1
|
* util: Add a new flag, for formats that can be described as a bitmask.José Fonseca2010-03-063-7/+12
|
* util: Add the shortened format name to the description.José Fonseca2010-03-062-0/+8
|
* gallivm: Add some notes about sampler static state construction.José Fonseca2010-03-061-1/+17
| | | | | | | Recover some logic to make state canonical, although it is admittedly very shy compared with what could be done. We really need an helper module to make state canonical.
* gallivm: Answer question/comment.José Fonseca2010-03-061-1/+11
| | | | This reverts commit 71c05689528d7987bfb99c3afe04e456887bc7b7.
* gallivm: Add a placeholder for TGSI_FILE_PREDICATE registers.José Fonseca2010-03-061-0/+5
|
* gallivm: Integrate udis86 on scons builds.José Fonseca2010-03-061-0/+2
|
* gallivm: Generate valid IR for LLVM 2.7.José Fonseca2010-03-061-1/+14
| | | | | The signatures for pack intrinsics were made more consistent in this version.
* gallivm: checkpoint: code gen for mipmap selectionBrian Paul2010-03-051-0/+65
|
* llvmpipe: added code to set texture depth, max mipmap levels infoBrian Paul2010-03-054-5/+23
|
* gallivm: added methods for getting texture depth, num mipmap levelsBrian Paul2010-03-051-0/+12
|
* gallivm: checkpoint: texture LOD computation code genBrian Paul2010-03-051-3/+126
|
* gallivm: added field for sampler lodBrian Paul2010-03-052-4/+6
|
* llvmpipe: add pipe_thread_wait() callsBrian Paul2010-03-051-0/+6
| | | | | | Wait for threads to exit before cleaning up per-thread data. Fixes hang on context destruction with glean makeCurrent test. See fd.o bug 26536.
* gallium/docs: document additional wrap mode restrictionsBrian Paul2010-03-051-0/+3
|
* gallivm: minor arithmetic improvementsBrian Paul2010-03-051-9/+12
|
* gallivm: implement non-normalized texture wrap modesBrian Paul2010-03-051-39/+68
| | | | | Note that only the PIPE_TEX_WRAP_CLAMP,CLAMP_TO_EDGE,CLAMP_TO_BORDER modes work with non-normalized texcoords.
* softpipe: implement PIPE_TEX_WRAP_CLAMP_TO_EDGE for unorm texture samplingBrian Paul2010-03-051-6/+43
| | | | CLAMP_TO_BORDER and CLAMP_TO_EDGE were doing the same thing.
* gallium/docs: updated/improve sampler state documentationBrian Paul2010-03-051-21/+77
|
* st/egl: Add support for EGL_KHR_image_base and EGL_KHR_image_pixmap.Chia-I Wu2010-03-054-3/+202
| | | | | These extensions are not quite useful until the client APIs gain support for the respective EGLImage extensions.
* st/egl: Add get_param to native display interface.Chia-I Wu2010-03-054-0/+72
| | | | | | | get_param can be used to query the parameters of a native display. There is only NATIVE_PARAM_USE_NATIVE_BUFFER right now. It queries whether the window/pixmap surfaces use the native buffers instead of private buffers.
* st/egl: Move modeset interface to native_modeset.h.Chia-I Wu2010-03-052-55/+89
| | | | | native.h is getting more and more complex. Move the independent modeset interface to native_modeset.h to simplify native.h a little.
* st/egl: Add event support to the native display interface.Chia-I Wu2010-03-058-14/+106
| | | | | | There is only invalid_surface event right now. When EGL receives the event, it sets the force_validate flag of the context binding to the surface. This helps skip an unnecessary check.
* softpipe: minor tweaks to texture filtering codeBrian Paul2010-03-041-9/+5
|
* gallivm: implement texture border color, plus tweaks to some wrap modesBrian Paul2010-03-041-23/+129
| | | | | | | | | | | The progs/test/texwrap demo looks pretty good, but there are still some tiny differences from softpipe. There may be a sub-pixel texcoord interpolation error somewhere. There's some room for optimization. Many of the wrap modes compute intermediate values that are constant for the texture size (see the min/max values). These could be computed earlier and stored somewhere for later use.
* gallivm: added texture border_color fieldBrian Paul2010-03-042-0/+10
|
* gallivm: added question/commentBrian Paul2010-03-041-0/+1
|
* llvmpipe: new commentBrian Paul2010-03-041-0/+4
|
* gallivm: commentsBrian Paul2010-03-041-0/+5
|
* r300g: Fix indexbuf upper limits.Corbin Simpson2010-03-041-1/+6
| | | | | | | Wine tends to pessimistically use ~0 for its max index, but r300s only can go up to 2^24-1, causing the kernel checker to freak out. Civ4 is marginally improved now. Still crashes, but not as bad.
* gallivm: rework and implement more texture wrap modesBrian Paul2010-03-041-60/+448
| | | | | | | | | All the texture wrap modes are now implemented for linear and nearest sampling. However, texture border color is not yet supported so some wrap modes will produce int coords outside the texture bounds. We'll get garbage values insted of the texture border color for now.
* gallivm: added lp_build_fract()Brian Paul2010-03-042-0/+17
|
* gallivm: added lp_build_set_sign()Brian Paul2010-03-042-0/+39
|
* gallivm: added lp_build_negate()Brian Paul2010-03-042-0/+12
|
* gallivm: clarify unsigned vs. signed integer type constructionBrian Paul2010-03-043-19/+43
| | | | | | The lp_int_type() function was creating an unsigned type. So rename that function to lp_uint_type() and create new lp_int_type() that creates a signed type.
* wgl: Fix mingw32 build.Vinson Lee2010-03-031-2/+0
| | | | This was missed in commit fcf438e9e03f6e75bca4a49ad372fe7c4b1abbf8.
* Remove support for GCC older than 3.3.0Ian Romanick2010-03-031-4/+3
| | | | Signed-off-by: Ian Romanick <[email protected]>
* mesa: Remove support for creating color-index visualsIan Romanick2010-03-031-2/+1
| | | | | | | | Remove the rgbMode and indexBits parameters from _mesa_create_visual and _mesa_initialize_visual. These values are now hardcoded to GL_TRUE and 0. Signed-off-by: Ian Romanick <[email protected]>
* llvmpipe: Store the original triangle coordinates in the debug build.José Fonseca2010-03-032-0/+13
| | | | For debugging purposes only.
* llvmpipe: Ensure context is flushed when destroying shaders.José Fonseca2010-03-031-0/+7
|