Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300g: simplify the immd_is_good_idea function | Marek Olšák | 2011-09-29 | 1 | -26/+2 |
| | |||||
* | nv50,nvc0: support polygon offset clamp state | Christoph Bumiller | 2011-09-28 | 6 | -3/+9 |
| | |||||
* | r600: support polygon offset clamp state | Christoph Bumiller | 2011-09-28 | 2 | -2/+2 |
| | |||||
* | gallium: add polygon offset clamp state | Christoph Bumiller | 2011-09-28 | 1 | -0/+1 |
| | | | | This is required for D3D1x and supported by hardware. | ||||
* | gallium: move border color to be a color union | Dave Airlie | 2011-09-27 | 10 | -30/+30 |
| | | | | | | | | | | EXT_texture_integer also specifies border color should be a color union, the values are used according to the texture sampler format. (update docs) Signed-off-by: Dave Airlie <[email protected]> Reviewed-by: Brian Paul <[email protected]> | ||||
* | r600g: add index_bias to index buffer bounds | Marek Olšák | 2011-09-26 | 1 | -0/+5 |
| | | | | | | This fixes ARB_draw_elements_base_vertex with max_index != ~0. NOTE: This is a candidate for the 7.11 branch. | ||||
* | u_vbuf_mgr: s/u_vbuf_mgr_/u_vbuf_ | Marek Olšák | 2011-09-26 | 7 | -18/+18 |
| | |||||
* | u_vbuf_mgr: cleanup original vs real vertex buffer arrays | Marek Olšák | 2011-09-26 | 3 | -19/+20 |
| | | | | | | It can now override both buffer offsets and strides in additions to resources. Overriding buffer offsets was kinda hackish and could cause issues with non-native vertex formats. | ||||
* | nouveau: fix crash during fence emission | Marcin Slusarz | 2011-09-25 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | Fence emission can flush the push buffer, which through flush_notify unreferences recently emitted fence. If ref count is increased after fence emission, unreference deletes the fence, which causes SIGSEGV. Backtrace: nouveau_fence_del nouveau_fence_ref nouveau_fence_next nouveau_pushbuf_flush MARK_RING nv50_screen_fence_emit nouveau_fence_emit nv50_flush This bug manifested as an assertion failure in nouveau_fence.c, because SIGSEGV handler tried to shutdown the application and used messed up fence. This issue was reported by Maxim Levitsky. Note: This is a candidate for the 7.11 branch. | ||||
* | noop: Always use memory allocation macros. | José Fonseca | 2011-09-25 | 1 | -2/+2 |
| | |||||
* | llvmpipe: Always use memory allocation macros. | José Fonseca | 2011-09-25 | 1 | -2/+3 |
| | |||||
* | softpipe: Use memory allocation macros. | José Fonseca | 2011-09-25 | 2 | -3/+3 |
| | | | | Fixes segfault with memory debugging on. | ||||
* | svga: indentation/formatting fixes | Brian Paul | 2011-09-23 | 1 | -16/+16 |
| | |||||
* | svga: remove emit_consts() offset parameter | Brian Paul | 2011-09-23 | 1 | -3/+7 |
| | | | | It was always zero. | ||||
* | svga: s/int/unsigned/ in svga_state_constants.c | Brian Paul | 2011-09-23 | 1 | -3/+7 |
| | | | | Be consistent with other functions in the file. And add some comments. | ||||
* | svga: s/unit/shader/ and related clean-ups | Brian Paul | 2011-09-23 | 1 | -19/+23 |
| | | | | 'shader' is more intuitive. Also s/int/unsigned/ and add assertions. | ||||
* | svga: clean up return values and error codes | Brian Paul | 2011-09-23 | 15 | -97/+92 |
| | | | | | | Previously we were using a hodge podge of int vs. pipe_enum and 0 vs. PIPE_OK. Some functions that always returned PIPE_OK were made void. | ||||
* | svga: add format translation for DXT/sRGB formats | Brian Paul | 2011-09-23 | 1 | -2/+8 |
| | | | | | Without this, apps/tests that tried to use a DXT/sRGB format would die on a failed assertion (st_texture.c:80). | ||||
* | svga: test register W component in emit_kil() | Brian Paul | 2011-09-23 | 1 | -16/+44 |
| | | | | | | Only the XYZ components are checked to be negative by SVGA3DOP_TEXKILL. GL_ARB_fp requires all four components be checked. Emit a second texkill for W if needed. | ||||
* | svga: fix depth/shadow compare for non-projected texcoords | Brian Paul | 2011-09-23 | 1 | -16/+24 |
| | | | | | | | We only need to do the divide by Q step for TXP instructions. This fixes the incorrectly rendered soft shadow test in Lightsmark. Along with the previous texture swizzle commit, this also fixes all the piglit glsl-fs-shadow2d-XX.shader_test failures. | ||||
* | svga: implement texture swizzling | Brian Paul | 2011-09-23 | 4 | -9/+128 |
| | | | | | | | This exposes the GL_EXT_texture_swizzle extension and allows the various depth texture modes to be implemented properly. This, plus a follow-on texture/shadow change fixes quite a few piglit GLSL shadow sampler test failures. | ||||
* | svga: check that we don't exceed input/ouput register limits | Brian Paul | 2011-09-23 | 3 | -2/+13 |
| | |||||
* | svga: implement point sprite suppport | Brian Paul | 2011-09-23 | 8 | -4/+119 |
| | | | | | | Emit the SVGA3D_RS_POINTSPRITEENABLE render state. When sprite_coord_mode=PIPE_SPRITE_COORD_LOWER_LEFT emit extra frag shader code to invert the Y coordinate of the incoming texcoord. | ||||
* | svga: add translation for float formats | Brian Paul | 2011-09-23 | 1 | -0/+14 |
| | |||||
* | svga: check to avoid writing beyond end of constant buffer | Brian Paul | 2011-09-23 | 1 | -1/+23 |
| | | | | See bug 688394 | ||||
* | svga: Cleanup format capability checking. | José Fonseca | 2011-09-23 | 8 | -192/+683 |
| | | | | | | Accurately describe what operations are supported when a format caps entry is not advertised by the host, and which formats are never supported, instead of making ad-hoc and often incorrect assumptions. | ||||
* | svga: Don't use the new depth formats for surfaces that will never be ↵ | José Fonseca | 2011-09-23 | 5 | -17/+23 |
| | | | | | | | sampled from. Mitigates issues with hosts where support for these new depth formats is flaky. | ||||
* | svga: Share one texcoord between depth and fog | Jakob Bornecrantz | 2011-09-23 | 3 | -13/+86 |
| | |||||
* | svga: Only emit Z depth work if it is actually read | Jakob Bornecrantz | 2011-09-23 | 2 | -15/+21 |
| | |||||
* | svga: Fix vPos usage | Jakob Bornecrantz | 2011-09-23 | 1 | -1/+7 |
| | |||||
* | svga: Wip for passing depth in a texcoord | Jakob Bornecrantz | 2011-09-23 | 3 | -13/+86 |
| | | | | TODO: Can we pass this as the same texcoord as fog? | ||||
* | svga: Add a comment about depth format selection. | José Fonseca | 2011-09-23 | 1 | -1/+10 |
| | |||||
* | svga: Consider the new depth formats in svga_texture_from_handle(). | José Fonseca | 2011-09-23 | 1 | -1/+2 |
| | |||||
* | svgadump: Dump the new depth format names. | José Fonseca | 2011-09-23 | 1 | -0/+9 |
| | |||||
* | svga: Expose the new depth formats | Jakob Bornecrantz | 2011-09-23 | 6 | -25/+65 |
| | |||||
* | svga: Coalesce multiple shader constants in a single command. | José Fonseca | 2011-09-23 | 3 | -4/+178 |
| | | | | | | HWv8 feature. Tested with GoogleEarth, Mesa demos. | ||||
* | svgadump: Update for svga3d_reg.h header changes. | José Fonseca | 2011-09-23 | 1 | -33/+60 |
| | |||||
* | svga: updated svga3d_reg.h to latest public version | Brian Paul | 2011-09-23 | 1 | -49/+144 |
| | |||||
* | Allow RBUG to start blocked | Alex Corscadden | 2011-09-23 | 1 | -0/+4 |
| | | | | | | | | | It is sometimes useful to examine the first frame or and early frame of a quickly executing and non-repeating application, this chain introduces a new environment variable that is checked when creating contexts. If GALLIUM_RBUG_START_BLOCKED is set, then each context that is created is started in a blocked state. This allows time to connect rbug before anything is rendered in the context. | ||||
* | i915g: Don't generate useless swizzles before texture accesses. | Stéphane Marchesin | 2011-09-22 | 3 | -10/+62 |
| | | | | That helps reduce the number of texture indirections, which are very limited on i915. | ||||
* | i915g: Fix whitespace. | Stéphane Marchesin | 2011-09-22 | 1 | -13/+13 |
| | |||||
* | i915g: Fix peephole optimization for MOVs. | Stéphane Marchesin | 2011-09-22 | 1 | -0/+8 |
| | |||||
* | i915g: Add unsupported PIPE_CAP_MIN_TEXEL_OFFSET/PIPE_CAP_MAX_TEXEL_OFFSET. | Stéphane Marchesin | 2011-09-22 | 1 | -0/+3 |
| | |||||
* | draw: add support for guard-band clipping | Brian Paul | 2011-09-22 | 1 | -1/+1 |
| | |||||
* | svga: skip assertion when index_bias < 0 | Brian Paul | 2011-09-22 | 1 | -1/+1 |
| | | | | See bug 688383 | ||||
* | svga: fix the test for sRGB texture formats | Brian Paul | 2011-09-22 | 1 | -1/+2 |
| | | | | | | | | | | The pipe_sampler_view::format field should be prefered over the resource/ texture format. The former is used to override the texture format for sRGB decode enable/disable, etc. Also, use new util_format_is_srgb() helper to catch all sRGB formats. This fixes the piglit tex-srgb test for GL_EXT_texture_sRGB_decode. | ||||
* | util: add u_bit_scan helper | Keith Whitwell | 2011-09-22 | 1 | -7/+0 |
| | |||||
* | i915g: Add an optimization to get rid of useless movs, in particular at the ↵ | Stéphane Marchesin | 2011-09-21 | 1 | -3/+38 |
| | | | | end of some shaders. | ||||
* | i915g: Fix some whitespace problems. | Stéphane Marchesin | 2011-09-21 | 2 | -12/+12 |
| | |||||
* | i915g: Blend equation separate seems to work. | Stéphane Marchesin | 2011-09-21 | 1 | -6/+1 |
| |