Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300g: import the last bits of libdrm and cleanup the whole thing | Marek Olšák | 2011-02-11 | 27 | -900/+737 |
| | | | | | | | | | | | | | | Based on Dave's branch. The majority of this commit is a cleanup, mainly renaming things. There wasn't much code to import, just ioctl calls. Also done: - implemented unsynchronized bo_map (important optimization!) - radeon_bo_is_referenced_by_cs is no longer a refcount hack - dropped the libdrm_radeon dependency I'm surprised that this has resulted in less code in the end. | ||||
* | st/mesa: allow rendering to sRGB textures if EXT_fb_srgb is unsupported | Marek Olšák | 2011-02-11 | 1 | -5/+24 |
| | | | | | In this case, we always use the corresponding linear format in create_surface, therefore we should check for linear format support as well. | ||||
* | i915: Force lowering of all types of indirect array accesses in the FS | Ian Romanick | 2011-02-10 | 1 | -3/+11 |
| | | | | NOTE: This is a candidate for the 7.9 and 7.10 branches. | ||||
* | i915: Calculate partial result to temp register first | Ian Romanick | 2011-02-10 | 1 | -8/+8 |
| | | | | | | | | | | | | Previously the SNE and SEQ instructions would calculate the partial result to the destination register. This would cause problems if the destination register was also one of the source registers. Fixes piglit tests glsl-fs-any, glsl-fs-struct-equal, glsl-fs-struct-notequal, glsl-fs-vec4-operator-equal, glsl-fs-vec4-operator-notequal. NOTE: This is a candidate for the 7.9 and 7.10 branches. | ||||
* | u_upload_mgr: Use PIPE_TRANSFER_FLUSH_EXPLICIT. | José Fonseca | 2011-02-10 | 1 | -2/+9 |
| | | | | This can avoid DMAing the whole buffer when just a fraction was changed. | ||||
* | scons: Disable -mstackrealign on MinGW again. | José Fonseca | 2011-02-10 | 1 | -1/+4 |
| | | | | It's still broken, however it doesn't show up on debug builds. | ||||
* | configure.ac: Fix typo | Kristian Høgsberg | 2011-02-10 | 1 | -1/+1 |
| | |||||
* | r300g: implement accelerated copy_region for compressed formats | Marek Olšák | 2011-02-10 | 1 | -0/+29 |
| | |||||
* | r300g: add a way to change texture properties arbitrarily | Marek Olšák | 2011-02-10 | 9 | -76/+104 |
| | | | | So that we can implement resource_copy on arbitrary data. | ||||
* | r300g: consolidate buffers and textures to r300_resource | Marek Olšák | 2011-02-10 | 18 | -381/+328 |
| | | | | Transfers and create/destroy are still handled separately. | ||||
* | r300g: simplify WRITE_RELOC API and cleanup | Marek Olšák | 2011-02-10 | 10 | -136/+126 |
| | |||||
* | u_blitter: let the driver check whether there's a recursion | Marek Olšák | 2011-02-10 | 2 | -6/+9 |
| | |||||
* | r300g: use format from pipe_surface instead of pipe_resource | Marek Olšák | 2011-02-10 | 2 | -29/+14 |
| | |||||
* | Revert "r300g: support sRGB colorbuffers" | Marek Olšák | 2011-02-10 | 1 | -20/+0 |
| | | | | | | | | This partially reverts commit 91eba2567eab9409d94efc3c1f07a4a3731d0047. Conflicts: src/gallium/drivers/r300/r300_blit.c | ||||
* | mesa/st: enable GL_EXT_framebuffer_sRGB | Dave Airlie | 2011-02-10 | 3 | -3/+14 |
| | | | | | | | | | If the formats don't match we need to update the surface with the new format. if we can render to SRGB formats, enable the extension Signed-off-by: Dave Airlie <[email protected]> | ||||
* | scons: Restrict whole program optimization to release builds. | José Fonseca | 2011-02-09 | 1 | -2/+8 |
| | | | | | It just takes forever, so it is inadequate for continuous testings (i.e., checked and profile build types). | ||||
* | svga: Don't advertise pixel shader addr register support. | José Fonseca | 2011-02-09 | 1 | -3/+8 |
| | | | | It's not fully supported. | ||||
* | eglplatform.h: Define Wayland native platform types | Kristian Høgsberg | 2011-02-09 | 1 | -0/+6 |
| | | | | | This is conditional on WL_EGL_PLATFORM being #defined, so application must make sure to include wayland-egl.h before including any egl header. | ||||
* | nvc0: serialize on PIPE_FLUSH_RENDER_CACHE as well | Christoph Bumiller | 2011-02-09 | 1 | -0/+4 |
| | | | | Effects were easily visible in piglit/fbo-generatemipmap-formats. | ||||
* | nvc0: fix stride of NVC0_3D_RT methods | Christoph Bumiller | 2011-02-09 | 1 | -8/+8 |
| | |||||
* | nvc0: correct storage type for 16 bit surface formats | Christoph Bumiller | 2011-02-09 | 1 | -2/+2 |
| | |||||
* | nvc0: make CSE work for ops with multiple results | Christoph Bumiller | 2011-02-09 | 1 | -13/+72 |
| | |||||
* | nvc0: replace branching with predicated insns where feasible | Christoph Bumiller | 2011-02-09 | 5 | -46/+123 |
| | |||||
* | nvc0: implement local memory load and store ops | Christoph Bumiller | 2011-02-09 | 3 | -12/+38 |
| | |||||
* | nvc0: make sure phi-ops really have one source per in-block | Christoph Bumiller | 2011-02-09 | 2 | -19/+40 |
| | |||||
* | nv50,nvc0: do not forget to apply sign mode to saved TGSI inputs | Christoph Bumiller | 2011-02-09 | 2 | -11/+3 |
| | |||||
* | nvc0: do not generate a backwards jump if a loop ends with BRK | Christoph Bumiller | 2011-02-09 | 1 | -2/+4 |
| | |||||
* | nvc0: store only one value per basic block for TGSI regs | Christoph Bumiller | 2011-02-09 | 1 | -1/+7 |
| | |||||
* | nv50,nvc0: fix condition code change when commuting SET sources | Christoph Bumiller | 2011-02-09 | 2 | -3/+3 |
| | |||||
* | nvc0: set basic block on manual instruction insertion | Christoph Bumiller | 2011-02-09 | 1 | -0/+2 |
| | |||||
* | nvc0: try to fix register conflicts for vector instructions | Christoph Bumiller | 2011-02-09 | 4 | -32/+43 |
| | | | | | | | Vector here means using multiple 32 bit regs which are forced to be consecutive in the register file. This still isn't quite nice. | ||||
* | nvc0: reset texture base address after read transfer | Christoph Bumiller | 2011-02-09 | 1 | -2/+4 |
| | |||||
* | nvc0: don't combine memory loads across block boundaries | Christoph Bumiller | 2011-02-09 | 1 | -0/+5 |
| | |||||
* | nvc0: detect no-op MIN/MAX, do CSE earlier to succeed more often | Christoph Bumiller | 2011-02-09 | 1 | -48/+79 |
| | |||||
* | mesa/st: Clean up vertex buffer unreferencing | Thomas Hellstrom | 2011-02-09 | 1 | -10/+9 |
| | | | | | | | Avoid accessing draw module internal structures outside of the draw module. Unreference vertex buffers in error path. Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | gallium/docs: fix typo | Marek Olšák | 2011-02-09 | 1 | -1/+1 |
| | |||||
* | r200: add cast to silence warning | Brian Paul | 2011-02-08 | 1 | -1/+1 |
| | |||||
* | mesa: remove unused BITFIELD64 macros | Brian Paul | 2011-02-08 | 1 | -16/+1 |
| | |||||
* | mesa: remove _mesa_create_context_for_api() | Brian Paul | 2011-02-08 | 14 | -44/+23 |
| | | | | Just add the gl_api parameter to _mesa_create_context(). | ||||
* | mesa: remove _mesa_initialize_context_for_api() | Brian Paul | 2011-02-08 | 9 | -42/+19 |
| | | | | Just add the gl_api parameter to _mesa_initialize_context(). | ||||
* | mesa: add/update VERBOSE_API logging | Brian Paul | 2011-02-08 | 8 | -6/+113 |
| | |||||
* | st/mesa: fix shader deletion regression | Brian Paul | 2011-02-08 | 1 | -3/+4 |
| | | | | | | | | | Fixes a regression from commit 5cbff0932e498f49b57cbb71037b93416bfe30e0. The problem is *some* glDrawPixels fragment programs need to be deleted, but not all. Use an explicit flag to indicate whether or not the program needs to be deleted. This should fix http://bugs.freedesktop.org/show_bug.cgi?id=34049 | ||||
* | i965: Add missing DEFINE_BITS for brw dirty bits. | Kenneth Graunke | 2011-02-08 | 1 | -0/+4 |
| | | | | | These are only used for debugging, but should be there. Found by inspection. | ||||
* | i965: Separate the BRW_NEW_(VS|WM)_CONSTBUF dirty bits. | Kenneth Graunke | 2011-02-08 | 1 | -1/+1 |
| | | | | | These were incorrectly defined to the same value - likely due to a cut and paste error. Found by inspection. | ||||
* | i965: Rename a few more commands to match the documentation. | Kenneth Graunke | 2011-02-08 | 2 | -5/+5 |
| | |||||
* | st/egl: Fix platform selection | Benjamin Franzke | 2011-02-08 | 1 | -0/+1 |
| | | | | | A break for case _EGL_PLATFORM_X11 is missing. introduced by: 381ea0d67a6d84a34d23571c49bbf4339ffda364 | ||||
* | i965: Remove pointless keying of WM state on VUE size. | Eric Anholt | 2011-02-08 | 1 | -4/+0 |
| | |||||
* | mesa: Fix the Mesa IR copy propagation to not read past writes to the reg. | Eric Anholt | 2011-02-08 | 1 | -7/+40 |
| | | | | | | Fixes glsl-vs-post-increment-01. Reviewed-by: José Fonseca <[email protected]> | ||||
* | glsl: Disable the new copy propagation pass until it gets fixed. | Eric Anholt | 2011-02-08 | 1 | -1/+1 |
| | | | | It apparently regressed a bunch of ES2 cases. | ||||
* | glsl: Set operators '%' and '%=' to be reserved when GLSL < 1.30 | Chad Versace | 2011-02-08 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | From section 5.9 of the GLSL 1.20 spec: The operator modulus (%) is reserved for future use. From section 5.8 of the GLSL 1.20 spec: The assignments modulus into (%=), left shift by (<<=), right shift by (>>=), inclusive or into ( |=), and exclusive or into ( ^=). These operators are reserved for future use. The GLSL ES 1.00 spec and GLSL 1.10 spec have similiar language. Fixes bug: https://bugs.freedesktop.org//show_bug.cgi?id=33916 Fixes Piglit tests: spec/glsl-1.00/compiler/arithmetic-operators/modulus-00.frag spec/glsl-1.00/compiler/assignment-operators/modulus-assign-00.frag spec/glsl-1.10/compiler/arithmetic-operators/modulus-00.frag spec/glsl-1.10/compiler/assignment-operators/modulus-assign-00.frag spec/glsl-1.20/compiler/arithmetic-operators/modulus-00.frag spec/glsl-1.20/compiler/assignment-operators/modulus-assign-00.frag |