Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | st/mesa: get rid of unneeded ureg_writemask() | Brian Paul | 2010-07-23 | 1 | -3/+2 |
| | |||||
* | st/mesa: fix bug in emit_adjusted_wpos() | Brian Paul | 2010-07-23 | 1 | -2/+5 |
| | | | | | | | | | If we bias x,y we still need to pass through z,w in case the shader reads gl_FragCoord.z or .w. Fixes fd.o bug 29183 (piglit glsl-bug-22603). NOTE: This is a candidate for the 7.8 branch. | ||||
* | i965: Cleanly fail programs with unsupported array access. | Eric Anholt | 2010-07-23 | 1 | -1/+28 |
| | | | | | This should be more useful for developers and for bug triaging than just generating wrong code. | ||||
* | i965: Add support for VS relative addressing of temporary arrays. | Eric Anholt | 2010-07-23 | 1 | -2/+49 |
| | | | | Fixes glsl-vs-arrays. Bug #27388. | ||||
* | draw: add small ybias factor for drawing wide points | Brian Paul | 2010-07-23 | 1 | -0/+1 |
| | | | | Fixes minor rasterization error detected by some tests. | ||||
* | softpipe: Check for NULL pointer in sp_destroy_tile_cache(). | Michal Krol | 2010-07-23 | 1 | -8/+10 |
| | |||||
* | softpipe: Check for NULL pointer in sp_destroy_tex_tile_cache(). | Michal Krol | 2010-07-23 | 1 | -11/+13 |
| | |||||
* | nv50: implement depth clamp | Christoph Bumiller | 2010-07-23 | 4 | -10/+33 |
| | |||||
* | xorg/vmwgfx: Implement early mode pruning based on max fb size. | Thomas Hellstrom | 2010-07-23 | 3 | -4/+37 |
| | | | | | | | | | Also move some initialization from screen init to pre-init, now that it is possible. Also import a new vmwgfx drm (1.3) header. Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | st/xorg: Init the Gallium3D / libkms resources in pre-init. | Thomas Hellstrom | 2010-07-23 | 2 | -86/+75 |
| | | | | | | | | This makes it possible to prune modes already in pre-init. We also keep these resources alive across server generations, and they are implicitly closed on server exit. Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | st/xorg: Kill a couple of compilation warnings | Thomas Hellstrom | 2010-07-23 | 2 | -2/+2 |
| | | | | Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | st/xorg vmwgfx/xorg: Add a pre-init customizer callback | Thomas Hellstrom | 2010-07-23 | 3 | -5/+19 |
| | | | | | | | | Add a customizer callback just before initial config setting, so that the customizer code can initialize the mode validator using the drm file-descriptor. Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | st/xorg: Add a possibility to prune modes and limit fb allocation size based ↵ | Thomas Hellstrom | 2010-07-23 | 3 | -0/+23 |
| | | | | | | on max fb size. Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | llvmpipe: Partially fix resource texture from_handle | Jakob Bornecrantz | 2010-07-22 | 1 | -1/+35 |
| | |||||
* | llvmpipe: Don't align values already aligned | Jakob Bornecrantz | 2010-07-22 | 1 | -2/+2 |
| | |||||
* | i915g: Rename winsys debug options | Jakob Bornecrantz | 2010-07-22 | 1 | -2/+2 |
| | |||||
* | i915g: Allow wrapping with software pipes | Jakob Bornecrantz | 2010-07-22 | 2 | -3/+11 |
| | |||||
* | i915g: Set total_nblocksy in from_handle | Jakob Bornecrantz | 2010-07-22 | 1 | -0/+1 |
| | |||||
* | i915g: Add some debug prints in texture code | Jakob Bornecrantz | 2010-07-22 | 1 | -6/+10 |
| | |||||
* | i915g: Ifdef out debug code on non-debug builds | Jakob Bornecrantz | 2010-07-22 | 1 | -0/+5 |
| | |||||
* | tgsi: Fix error message on invalid swizzle parse | Jakob Bornecrantz | 2010-07-22 | 1 | -1/+1 |
| | |||||
* | glx: Drop screen argument to GetGLXDRIDrawable | Kristian Høgsberg | 2010-07-22 | 4 | -43/+33 |
| | | | | We'll just get it from the returned drawable when we need it. | ||||
* | glx: Move WaitGL, WaitX, UseXFont to context vtable functions | Kristian Høgsberg | 2010-07-22 | 6 | -101/+97 |
| | |||||
* | glx: Allocate the __GLXcontext in the DRI drivers | Kristian Høgsberg | 2010-07-22 | 6 | -124/+136 |
| | |||||
* | glx: Use _Xglobal_lock for protecting extension display list | Kristian Høgsberg | 2010-07-22 | 3 | -126/+86 |
| | | | | Avoids double locking glXLock in the X wire to event handlers. | ||||
* | glsl: remove invalid _mesa_problem() call | Brian Paul | 2010-07-22 | 1 | -0/+2 |
| | | | | Fixes fd.o bug 29206. | ||||
* | draw: re-order optimization passes depending on LLVM version, 32/64-bit | Brian Paul | 2010-07-22 | 1 | -2/+15 |
| | | | | | This is a work-around for an apparent bug in LLVM seen with piglit's glsl-vs-sqrt-zero test. | ||||
* | draw: added new assertions to clipping code | Brian Paul | 2010-07-22 | 1 | -1/+10 |
| | |||||
* | i965: Respect VS/VP point size result when enabled. | Eric Anholt | 2010-07-22 | 1 | -3/+4 |
| | | | | Fixes glsl-vs-point-size. | ||||
* | i965: Fix the disasm output for da16 src widths. | Eric Anholt | 2010-07-22 | 1 | -1/+1 |
| | | | | | | This has confused me twice now. It's a fixed width of 4 (usually a region description of <4,4,1>), not 1. If it was 1, we'd have been skipping all over register space. | ||||
* | i965: Avoid extra MOV in VS indirect register reads. | Eric Anholt | 2010-07-22 | 1 | -15/+16 |
| | |||||
* | i965: Fix up VS temporary array access for fixed index offset != 0. | Eric Anholt | 2010-07-22 | 1 | -1/+1 |
| | |||||
* | r600: Flip point sprite coordinates when rendering to an FBO. | Henri Verbeet | 2010-07-22 | 1 | -1/+3 |
| | | | | This supersedes http://lists.freedesktop.org/archives/mesa-dev/2010-July/001442.html. | ||||
* | i965: In the VS, multiply the address reg by the appropriate register size. | Eric Anholt | 2010-07-21 | 1 | -27/+14 |
| | | | | | | | | | | | | The ARL value is increments of vec4 in the register file. But PROGRAM_TEMPORARY or PROGRAM_INPUT are stored as vec4s interleaved between the two verts being executed (thus a vec8 each), compared to PROGRAM_STATE_VAR being packed vec4s. Fixes: glsl-vs-arrays-2 glsl-vs-mov-after-deref (without regressing glsl-vs-arrays-3) | ||||
* | i965: Clean up brw_dp_READ_4_vs() now that it has fewer options to support. | Eric Anholt | 2010-07-21 | 3 | -52/+31 |
| | |||||
* | i965: Support relative addressed VS constant reads using the appropriate msg. | Eric Anholt | 2010-07-21 | 3 | -31/+66 |
| | | | | | The previous support was overly complicated by trying to use the same 1-OWORD message for both offsets. | ||||
* | i965: Fix the DP read msg_control definitions other than plain OWORD. | Eric Anholt | 2010-07-21 | 1 | -6/+16 |
| | |||||
* | i965: Clean up dead code from the VS get_constant/get_reladdr_constant split. | Eric Anholt | 2010-07-21 | 1 | -3/+1 |
| | |||||
* | i956: Set the execution size correctly for scratch space writes. | Eric Anholt | 2010-07-21 | 1 | -2/+2 |
| | | | | | | | | Otherwise, the second half isn't written, and we end up reading back black. Fixes the remaining junk drawn in glsl-max-varyings, and will likely help with a number of large real-world shaders. | ||||
* | i965: Set the GEM domain flags for the scratch space. | Eric Anholt | 2010-07-21 | 1 | -1/+1 |
| | | | | | | They go into the render cache, so while we don't care about their contents after execution, failing to note them could cause the writes to be flushed over important buffer contents later. | ||||
* | i965: Use the pretty define for 4-oword DP reads. | Eric Anholt | 2010-07-21 | 1 | -1/+1 |
| | |||||
* | i965: Set the send commit bit on register spills as required pre-gen6. | Eric Anholt | 2010-07-21 | 1 | -9/+32 |
| | | | | Otherwise, the subsequent read may not get the written value. | ||||
* | i965: Add disasm for dataport reads (register unspilling). | Eric Anholt | 2010-07-21 | 1 | -1/+22 |
| | |||||
* | glx: Move last few dri_interface.h types out of glxclient.h and drop include | Kristian Høgsberg | 2010-07-21 | 4 | -12/+19 |
| | |||||
* | glx: Move __driContext field out of __GLXcontextRec | Kristian Høgsberg | 2010-07-21 | 2 | -4/+3 |
| | |||||
* | softpipe: add missing support for PIPE_FORMAT_S8_USCALED surfaces | Brian Paul | 2010-07-21 | 1 | -20/+20 |
| | | | | | | And remove checks of surface depth bits. The state tracker should not turn on depth/stencil testing if the framebuffer doesn't have depth/stencil. | ||||
* | softpipe: fix sp_tile_cache_flush_clear() regression | Brian Paul | 2010-07-21 | 1 | -5/+11 |
| | |||||
* | Revert "dri2: Remove an unused variable." | Jerome Glisse | 2010-07-21 | 1 | -0/+1 |
| | | | | | glx_info is used if X_DRI2SwapBuffers is defined This reverts commit c0ca2bfb2ad8cf7fb9d756b5ae52cb77236ff605. | ||||
* | r600g: add support for all R6XX/R7XX asic | Jerome Glisse | 2010-07-21 | 4 | -87/+316 |
| | | | | | | | This configure some of the value properly based on asic so others asic than RV710 works too. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: add r600 compile mode to compiler. | Dave Airlie | 2010-07-21 | 4 | -13/+106 |
| | | | | | | some of the ALU instructions are different on r6xx vs r7xx, separate the alu translation to separate files, and use family to pick which compile stage to use. |