Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium/os: wrapper for llvm-c/Core.h and #define HAVE_LLVM if needed | Brian Paul | 2010-03-11 | 1 | -0/+47 |
| | |||||
* | r200: support additional blit formats | Alex Deucher | 2010-03-11 | 2 | -18/+138 |
| | | | | swizzle in the pixel shader | ||||
* | gallivm: fix some bugs on the 1D texture paths | Brian Paul | 2010-03-11 | 1 | -8/+11 |
| | |||||
* | st/mesa: don't enable extensions which aren't actually supported | Roland Scheidegger | 2010-03-11 | 2 | -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. | ||||
* | gallivm: include tgsi_dump.h to silence warning | Brian Paul | 2010-03-11 | 1 | -0/+1 |
| | |||||
* | gallivm: move declarations to silence unused var warnings | Brian Paul | 2010-03-11 | 1 | -2/+6 |
| | |||||
* | gallium/util: use memset() to initialize vars to avoid warnings | Brian Paul | 2010-03-11 | 1 | -3/+5 |
| | |||||
* | svga: use memset() to initialize u to avoid warnings | Brian Paul | 2010-03-11 | 1 | -1/+3 |
| | |||||
* | gallivm: Use bitmasks for scalar masks. | José Fonseca | 2010-03-11 | 1 | -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é Fonseca | 2010-03-11 | 1 | -2/+11 |
| | |||||
* | mesa/es: Validate the state in st_DrawTex. | Chia-I Wu | 2010-03-11 | 1 | -0/+2 |
| | | | | Without the validation, the function might draw with outdated textures. | ||||
* | mesa/es: Fix GL_OES_draw_texture support. | Chia-I Wu | 2010-03-11 | 1 | -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é Fonseca | 2010-03-11 | 5 | -0/+114 |
| | |||||
* | st/dri: move extension initilization to st/mesa completely | Marek Olšák | 2010-03-11 | 2 | -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änzer | 2010-03-11 | 4 | -21/+11 |
|\ | |||||
| * | st/xorg: Include cursorstr.h | Jakob Bornecrantz | 2010-03-11 | 1 | -0/+1 |
| | | |||||
| * | windows: fix compilation errors and warnings | Karl Schultz | 2010-03-10 | 3 | -21/+10 |
| | | |||||
* | | winsys/xlib: Fix memory leak. | Vinson Lee | 2010-03-11 | 1 | -1/+1 |
| | | | | | | | | Memory for xm_dt was allocated twice. | ||||
* | | st/mesa: always advertise texture_rectangle | Marek Olšák | 2010-03-11 | 1 | -1/+1 |
| | | |||||
* | | gallivm: overhaul of texture sampling code | Brian Paul | 2010-03-10 | 3 | -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 Paul | 2010-03-10 | 1 | -0/+15 |
| | | |||||
* | | gallivm: constant building for scalar zero | Brian Paul | 2010-03-10 | 1 | -2/+10 |
| | | |||||
* | | gallivm: implement bilinear sampling with nearest mipmapping | Brian Paul | 2010-03-10 | 1 | -0/+79 |
| | | | | | | | | Time to start consolidating some code... | ||||
* | | gallivm: remove debug code. nearest minification works now. | Brian Paul | 2010-03-10 | 1 | -6/+3 |
| | | |||||
* | | llvmpipe: fix loop over mipmap levels | Brian Paul | 2010-03-10 | 1 | -1/+1 |
| | | |||||
* | | dri/nouveau: Just reemit the BO state on pushbuf flush. | Francisco Jerez | 2010-03-11 | 3 | -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 Anholt | 2010-03-10 | 8 | -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 Anholt | 2010-03-10 | 1 | -5/+7 |
| | | | | | | | | | | Fixes hangs with texturing in the non-GLSL path since f6d210c284751ac50a8d6358de7e75a1ff1e4ac7 | ||||
* | | gallivm: simplify conditional branching | Jose Fonseca | 2010-03-10 | 1 | -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 label | Zack Rusin | 2010-03-10 | 1 | -1/+3 |
| | | | | | | | | makes loops work | ||||
* | | gallivm: implement loops | Zack Rusin | 2010-03-10 | 3 | -10/+153 |
| | | |||||
* | | radeon: fallback to sw ReadPixels if color logicop is enabled | Maciej Cencora | 2010-03-10 | 1 | -1/+1 |
| | | | | | | | | Fixes glean/logicOp (regressed after introducing hw accelerated support for ReadPixels) | ||||
* | | r300: enable depth test only if depth buffer is available | Maciej Cencora | 2010-03-10 | 1 | -1/+1 |
| | | | | | | | | Fixes #23532 and piglit/fbo-nodepth-test piglit/fbo-nostencil-test | ||||
* | | radeon: fix glCopyTex(Sub)Image if user FBO is bound | Maciej Cencora | 2010-03-10 | 1 | -3/+6 |
| | | | | | | | | Fixes piglit/fbo-blit and wine d3d9 unit test. | ||||
* | | llvmpipe: Finally found a way to do vector comparisons without using intrinsics. | José Fonseca | 2010-03-10 | 1 | -6/+26 |
| | | | | | | | | Only works well with LLVM >= 2.7 | ||||
* | | softpipe: fix memcpy params to avoid static analysis warnings | Brian Paul | 2010-03-10 | 2 | -2/+12 |
| | | | | | | | | See fd.o bug 26970. Also added sanity check assertions. | ||||
* | | i965: Add support for the CMP opcode in the GLSL path. | Eric Anholt | 2010-03-10 | 3 | -6/+15 |
| | | | | | | | | | | This would be triggered by use of sqrt() along with control flow. Fixes piglit-fs-sqrt-branch and a bug in Yo Frankie!. | ||||
* | | i965: Print the opcode name for unrecognized opcodes in the GLSL path. | Eric Anholt | 2010-03-10 | 1 | -2/+3 |
| | | |||||
* | | i965: Fix the response len of masked sampler messages for 8-wide dispatch. | Eric Anholt | 2010-03-10 | 1 | -2/+12 |
| | | | | | | | | | | | | | | | | | | The bad response length would hang the GPU with a masked sample in a shader using control flow. For 8-wide, the response length is always 4, and masked slots are just not written to. brw_wm_glsl.c already allocates registers in the right locations. Fixes piglit glsl-fs-bug25902 (fd.o bug #25902). | ||||
* | | i965: Print the offset for IFF in disasm | Eric Anholt | 2010-03-10 | 1 | -1/+1 |
| | | |||||
* | | mesa: raise an error when trying to bind non-existant texture to FBO | Brian Paul | 2010-03-10 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | If the user calls glRenderBufferTexture(texture=N) but texture N doesn't name an existing texture, raise GL_INVALID_ENUM. Plus, add a comment about some questionable error checking code in framebuffer_texture(). Ian? | ||||
* | | mesa: added new function comments | Brian Paul | 2010-03-10 | 1 | -0/+8 |
| | | |||||
* | | st/mesa: set strb->format field in st_render_texture() | Brian Paul | 2010-03-10 | 1 | -0/+2 |
| | | | | | | | | | | | | This fixes a problem in glReadPixels when reading from an FBO's texture attachment. We have a better chance at hitting a fast path for glReadPixels now. | ||||
* | | st/mesa: add some comments in glReadPixels code | Brian Paul | 2010-03-10 | 1 | -0/+7 |
| | | |||||
* | | st/mesa: consolidate duplicated texture allocation code | Brian Paul | 2010-03-10 | 1 | -49/+49 |
| | | |||||
* | | Merge branch '7.8' | Brian Paul | 2010-03-10 | 1 | -6/+23 |
|\| | |||||
| * | st/mesa: fix incorrect glCopyPixels between window/FBO | Brian Paul | 2010-03-10 | 1 | -4/+16 |
| | | | | | | | | | | | | | | | | | | There was a DrawBuffer/ReadBuffer typo and we were neglecting to invert the texture coords when copying from a window to an FBO. Plus, add some surface dump/debug code (disabled). (cherry picked from commit 34f02071618624263eba839b5aeb930d0e794078) | ||||
| * | st/mesa: fix incorrect glDrawPixels into FBO | Brian Paul | 2010-03-10 | 1 | -2/+7 |
| | | | | | | | | | | | | We weren't inverting the textured quad when drawing into an fbo. (cherry picked from commit 8d3f629a13afb0d6acafc7a007972fdc5efe6847) | ||||
* | | Merge branch '7.8' | Michel Dänzer | 2010-03-10 | 4 | -0/+24 |
|\| | |||||
| * | st/xorg: Work around cursor reference counting bugs in older X servers. | Michel Dänzer | 2010-03-10 | 3 | -0/+20 |
| | | | | | | | | | | | | | | | | | | | | Could result in use of freed memory and consequently random crashes, e.g. on screen resize. (cherry picked from commit 21c91b410a2a2cbf8eb677e59e3322f86320f2b0) Conflicts: src/gallium/state_trackers/xorg/xorg_tracker.h |