summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gallivm: checkpoint WIP cubemap codeBrian Paul2010-03-111-1/+90
|
* gallivm: added lp_build_sum_vector()Brian Paul2010-03-112-0/+35
|
* softpipe: further tighen up sample_cube()Brian Paul2010-03-111-45/+21
| | | | The code can fairly easily be translated to llvm...
* softpipe: tighten up the code in sample_cube()Brian Paul2010-03-111-62/+38
|
* gallivm: enable 3D texture samplingBrian Paul2010-03-111-0/+5
|
* progs/demos: added 'f' key to toggle filtering mode in stex3d.cBrian Paul2010-03-111-4/+11
|
* gallivm/llvmpipe: replace 'int stride' with 'int row_stride[MAX_LEVELS]'Brian Paul2010-03-116-20/+54
| | | | | | | The stride depends on the mipmap level. Rename to row_stride to distinguish from img_stride for 3D textures. Fixes incorrect texel addressing in small mipmap levels.
* llvmpipe: fix comment typoBrian Paul2010-03-111-1/+1
|
* gallivm/llvmpipe: include os_llvm.h instead of llvm-c/Core.hBrian Paul2010-03-1126-27/+28
|
* gallium/os: wrapper for llvm-c/Core.h and #define HAVE_LLVM if neededBrian Paul2010-03-111-0/+47
|
* r200: support additional blit formatsAlex Deucher2010-03-112-18/+138
| | | | swizzle in the pixel shader
* gallivm: fix some bugs on the 1D texture pathsBrian Paul2010-03-111-8/+11
|
* st/mesa: don't enable extensions which aren't actually supportedRoland Scheidegger2010-03-112-5/+4
| | | | | | | don't enable APPLE_client_storage, TDFX_texture_compression_FXT1, EXT_cull_vertex, NV_vertex_program, NV_vertex_program1_1 - the latter two might work somewhat with some luck. Also don't enable ARB_imaging.
* windows: Add new file to project file.Karl Schultz2010-03-111-0/+4
|
* gallivm: include tgsi_dump.h to silence warningBrian Paul2010-03-111-0/+1
|
* gallivm: move declarations to silence unused var warningsBrian Paul2010-03-111-2/+6
|
* gallium/util: use memset() to initialize vars to avoid warningsBrian Paul2010-03-111-3/+5
|
* svga: use memset() to initialize u to avoid warningsBrian Paul2010-03-111-1/+3
|
* gallivm: Use bitmasks for scalar masks.José Fonseca2010-03-111-4/+11
| | | | | | | | | We could use single 1 bit conditions for scalar masks, but a lot of code expects masks. The compiler easily optimzes away masks extensions/truncations so consistency is preferable. We can revisit this when LLVM backends have more support for vector conditions.
* gallivm: Handle scalar types in lp_build_*_type.José Fonseca2010-03-111-2/+11
|
* mesa/es: Validate the state in st_DrawTex.Chia-I Wu2010-03-111-0/+2
| | | | Without the validation, the function might draw with outdated textures.
* mesa/es: Fix GL_OES_draw_texture support.Chia-I Wu2010-03-111-0/+11
| | | | | | st_DrawTex calls util_draw_vertex_buffer. Since ac4abaecd5f52e416c89bfe19b34ed7f4e014b21, the caller is expected to set vertex elements before calling.
* softpipe: Dummy fence functions.José Fonseca2010-03-115-0/+114
|
* st/dri: move extension initilization to st/mesa completelyMarek Olšák2010-03-112-99/+12
| | | | | | | | | Extensions were enabled in both st/mesa and st/dri, with st/dri completely overriding the decisions of st/mesa and exposing even the extensions claimed to be unsupported by a pipe driver. This commit moves the differences between the two to st/mesa and removes the responsibilty of advertising extensions from st/dri.
* Merge remote branch 'origin/7.8'Michel Dänzer2010-03-116-21/+58
|\
| * st/xorg: Include cursorstr.hJakob Bornecrantz2010-03-111-0/+1
| |
| * windows: fix compilation errors and warningsKarl Schultz2010-03-105-21/+57
| |
| * windows: Quiet warning by not defining YY_NO_UNISTD_H.Karl Schultz2010-03-101-32/+32
| |
* | winsys/xlib: Fix memory leak.Vinson Lee2010-03-111-1/+1
| | | | | | | | Memory for xm_dt was allocated twice.
* | progs/fpglsl: Fix GLSL compilation failures on Mac OS X.Vinson Lee2010-03-112-2/+2
| |
* | st/mesa: always advertise texture_rectangleMarek Olšák2010-03-111-1/+1
| |
* | gallivm: overhaul of texture sampling codeBrian Paul2010-03-103-250/+420
| | | | | | | | | | | | | | | | | | The new lp_build_sample_general() function will handle all sampling modes for all texture types. Still incomplete, but a few additional sampling modes are now supported. 1D textures should work and most of the code for 3D textures is in place. No support for cube maps yet. No support for different min/mag filters.
* | gallivm: handle scalar floats in lp_build_floor() and lp_build_iround()Brian Paul2010-03-101-0/+15
| |
* | gallivm: constant building for scalar zeroBrian Paul2010-03-101-2/+10
| |
* | gallivm: implement bilinear sampling with nearest mipmappingBrian Paul2010-03-101-0/+79
| | | | | | | | Time to start consolidating some code...
* | gallivm: remove debug code. nearest minification works now.Brian Paul2010-03-101-6/+3
| |
* | llvmpipe: fix loop over mipmap levelsBrian Paul2010-03-101-1/+1
| |
* | dri/nouveau: Just reemit the BO state on pushbuf flush.Francisco Jerez2010-03-113-14/+14
| | | | | | | | | | | | Reemitting dirty states on flush causes problems if the GL context isn't fully consistent when we get to it. It didn't serve any specific purpose, so, use nouveau_bo_state_emit instead.
* | i965: Use the PLN instruction when possible in interpolation.Eric Anholt2010-03-108-7/+82
| | | | | | | | | | | | Saves an instruction in PINTERP, LINTERP, and PIXEL_W from brw_wm_glsl.c For non-GLSL it isn't used yet because the deltas have to be laid out differently.
* | i965: Set up the execution size before relying on it.Eric Anholt2010-03-101-5/+7
| | | | | | | | | | Fixes hangs with texturing in the non-GLSL path since f6d210c284751ac50a8d6358de7e75a1ff1e4ac7
* | gallivm: simplify conditional branchingJose Fonseca2010-03-101-21/+8
| | | | | | | | | | Instead of testing each component individually, we can test the entire vector at once.
* | gallivm: properly test the if condition and branch to the proper labelZack Rusin2010-03-101-1/+3
| | | | | | | | makes loops work
* | gallivm: implement loopsZack Rusin2010-03-103-10/+153
| |
* | windows: Quiet warning by not defining YY_NO_UNISTD_H.Karl Schultz2010-03-101-32/+32
| |
* | progs/trivial: use -c option to use glCopyPixels()Brian Paul2010-03-101-2/+4
| | | | | | | | | | | | | | | | Otherwise we use glRead/DrawPixels to copy the off-screen FBO image into the window. Looks like NVIDIA's broken when using -c (the image is upside down), but OK with -c -t.
* | progs/trivial: make clear-fbo-scissor.c work with other GL driversBrian Paul2010-03-101-1/+19
| | | | | | | | | | | | | | NVIDIA's driver requires that the texture that we're going to render into be complete. Need to set min/mag filters to non-mipmap modes. Plus added other error/debug checks.
* | radeon: fallback to sw ReadPixels if color logicop is enabledMaciej Cencora2010-03-101-1/+1
| | | | | | | | Fixes glean/logicOp (regressed after introducing hw accelerated support for ReadPixels)
* | r300: enable depth test only if depth buffer is availableMaciej Cencora2010-03-101-1/+1
| | | | | | | | Fixes #23532 and piglit/fbo-nodepth-test piglit/fbo-nostencil-test
* | radeon: fix glCopyTex(Sub)Image if user FBO is boundMaciej Cencora2010-03-101-3/+6
| | | | | | | | Fixes piglit/fbo-blit and wine d3d9 unit test.
* | fpglsl: a few more useful glsl testsZack Rusin2010-03-105-0/+46
| |