Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nouveau: Support X8R8G8B8 textures on nv30, nv40 and RTs on nv10-nv40. | Younes Manton | 2009-10-31 | 7 | -0/+15 |
| | |||||
* | nv50: use SIFC also for shader upload | Christoph Bumiller | 2009-10-31 | 3 | -56/+120 |
| | | | | Adds a more generic SIFC transfer function. | ||||
* | nv50: make MRTs work | Christoph Bumiller | 2009-10-31 | 2 | -0/+15 |
| | | | | | | | We have to indicate to the hw whether the FP exports multiple colour results. Method 0x121c is used to specify the number of RTs. Also deactivate zeta explicitly if there's no zsbuf. | ||||
* | radeon: add missing include | Dave Airlie | 2009-10-31 | 1 | -0/+1 |
| | |||||
* | r300g: correct the pitch calculation for smaller mipmaps | Marek Olšák | 2009-10-31 | 2 | -7/+2 |
| | |||||
* | r300g: pretend NPOT support | Marek Olšák | 2009-10-31 | 1 | -1/+3 |
| | | | | | It's requires to get GL2.1, therefore, much more piglit tests can be used for testing. Figure out later how to emulate this. | ||||
* | r300g: fix reading from the destination buffer in blending | Marek Olšák | 2009-10-31 | 1 | -0/+2 |
| | |||||
* | r300g: add precalculating of pixel pitch, add a new NPOT flag | Marek Olšák | 2009-10-31 | 3 | -17/+42 |
| | |||||
* | r300g: remove unnecessary assertions | Marek Olšák | 2009-10-31 | 2 | -5/+2 |
| | | | | Also, correct typos in comments. | ||||
* | r300g: fix crash in r300_is_texture_referenced | Marek Olšák | 2009-10-31 | 2 | -2/+2 |
| | | | | Also, a subtle fix in emitting a texture state | ||||
* | radeon: use _mesa_get_current_tex_unit | Dave Airlie | 2009-10-31 | 1 | -1/+1 |
| | |||||
* | ARB prog parser: regenerated files | Brian Paul | 2009-10-30 | 2 | -294/+321 |
| | |||||
* | ARB prog parser: new set_src_reg(), set_dst_reg() helpers | Brian Paul | 2009-10-30 | 1 | -28/+55 |
| | | | | These functions do sanity checks on the register file and index. | ||||
* | mesa: better error message | Brian Paul | 2009-10-30 | 1 | -2/+2 |
| | |||||
* | intel: Use GTT mapping when available for swrast. | Eric Anholt | 2009-10-30 | 3 | -1/+88 |
| | | | | | | | This improves piglit quick.tests runtime from 19:33 minutes to 6:06 on my GM45. It should also hide most of the A17 swizzling issues, though they'll still exist when swapping occurs (which is the kernel's problem either way). | ||||
* | x86: Fix the test for negative pixel count in optimized rgb565 spans. | Eric Anholt | 2009-10-30 | 1 | -1/+1 |
| | | | | | There's a bunch of bogus looking stuff the count handling in this code, but this fixes the testcases we have. | ||||
* | intel: Fix up z24_x8 depth spans since the texformat merge. | Eric Anholt | 2009-10-30 | 1 | -12/+6 |
| | |||||
* | prog/tests: Fix MSVC build. | Vinson Lee | 2009-10-30 | 1 | -4/+4 |
| | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | i965: Add an index assert on get_fp_inst array like other compiler arrays. | Eric Anholt | 2009-10-30 | 1 | -0/+1 |
| | |||||
* | i965: Fix BRW_WM_MAX_INSN to reflect current limits. | Eric Anholt | 2009-10-30 | 1 | -2/+1 |
| | | | | Part of fixing bug #24355. | ||||
* | intel: Set the texture format in the TFP path. | Eric Anholt | 2009-10-30 | 1 | -3/+6 |
| | | | | | | | | | | | | This fixes a regression in piglit's tfp test as of 11caea687e3f10ae12d33e44edf84635f73047dd. Additionally, set the texture format for the RGB textures to MESA_FORMAT_XRGB8888 and support it in the hw paths so that hopefully sw fallbacks involving TFP get better alpha behavior. The radeon drivers appear to need the same fix. Bug #24803 | ||||
* | r600: remove duplicate line | Alex Deucher | 2009-10-30 | 1 | -1/+0 |
| | |||||
* | r600: fill in some missing tex formats | Alex Deucher | 2009-10-30 | 1 | -0/+46 |
| | | | | | | | | | This improves shadowtex since the component ordering is at least correct now, but I'm not sure how to deal with texturing from a depth surface yet due to differences in depth and color tile layouts. Signed-off-by: Alex Deucher <[email protected]> | ||||
* | r600: fix a warning, update comments | Alex Deucher | 2009-10-30 | 1 | -3/+3 |
| | |||||
* | progs/tests: fix MSVC build. | Vinson Lee | 2009-10-30 | 1 | -4/+4 |
| | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | r600: use AUTO_INDEX for draw - saves cmd buffer space | Andre Maasikas | 2009-10-30 | 1 | -18/+10 |
| | | | | also seems we can use INDX_OFFSET if start != 0 | ||||
* | intel: fix up some XRGB breakage | Brian Paul | 2009-10-30 | 3 | -3/+6 |
| | | | | | We weren't choosing the right XRGB span functions for reading the framebuffer. XRGB formats still aren't turned on yet though. | ||||
* | mesa: fix inverted buffer object test | Brian Paul | 2009-10-30 | 1 | -1/+1 |
| | | | | Fixes bug 24799. | ||||
* | mesa: fix incorrect format info for MESA_FORMAT_SL8 | Brian Paul | 2009-10-30 | 1 | -3/+3 |
| | | | | Fixes bugs 24798 and 24801. | ||||
* | softpipe: Respect gl_rasterization_rules in primitive setup. | Michal Krol | 2009-10-30 | 1 | -14/+26 |
| | |||||
* | intel: update intel_create_renderbuffer(format), add XRGB support | Brian Paul | 2009-10-29 | 12 | -36/+57 |
| | | | | | | | | Pass a gl_format to intel_create_renderbuffer() instead of GLenum. Add cases for MESA_FORMAT_XRGB8888 textures and renderbuffers. However, we don't yet create any renderbuffers or textures with that format. It seems the default alpha value is zero instead of one. Need to investigate that first. | ||||
* | mesa: fix _mesa_texstore_argb8888() for MESA_FORMAT_XRGB8888 | Brian Paul | 2009-10-29 | 1 | -1/+1 |
| | | | | | | If we hit the general path and call _mesa_make_temp_chan_image() we always want to get a GL_RGBA texture. We were getting a 3-channel GL_RGB texture before and that messed up the memory layout. | ||||
* | r600: remove the no rrb messages | Alex Deucher | 2009-10-29 | 1 | -2/+0 |
| | |||||
* | r600: Add support for ARB_depth_clamp | Alex Deucher | 2009-10-29 | 2 | -2/+14 |
| | |||||
* | intel: remove memcpy_get_tex_image() code | Brian Paul | 2009-10-29 | 1 | -103/+2 |
| | | | | | This has been lifted into core Mesa where it can be used for all drivers that use the _mesa_get_teximage() fallback for ctx->Driver.GetTexImage(). | ||||
* | mesa: lift memcpy_get_tex_image() code from intel driver into core Mesa | Brian Paul | 2009-10-29 | 1 | -1/+83 |
| | | | | The code should work for any driver. | ||||
* | mesa: refactor _mesa_get_teximage() code | Brian Paul | 2009-10-29 | 1 | -158/+302 |
| | | | | Break different formats into different functions to make it easier to read. | ||||
* | i965: indentation fix | Brian Paul | 2009-10-29 | 1 | -1/+1 |
| | |||||
* | i965: make brw_sf_prog_key::sprite_origin_lower_left one bit | Brian Paul | 2009-10-29 | 3 | -5/+5 |
| | | | | | Shrinks size of key to 8 bytes from 12. Note that progs/demos/spriteblast.c is still broken. | ||||
* | i965: make brw_wm_prog_key a little smaller | Brian Paul | 2009-10-29 | 1 | -3/+3 |
| | | | | | | | GLushort is big enough for the swizzle and origin fields. The key could probably be made smaller still by re-ordering things. I'll hold off on that until after the outputswritten64 branch is merged. The key will get a little larger again with the GLbitfield64 fields. | ||||
* | i915: Fix 1D texture mapping in the t coordinate. | Eric Anholt | 2009-10-29 | 1 | -0/+6 |
| | | | | Fixes piglit tex1d-2dborder test. | ||||
* | i915: Correct and make use of the defines for 32-bit depth texture modes. | Eric Anholt | 2009-10-29 | 2 | -4/+9 |
| | | | | | Previously, S8_Z24 depth textures would always be treated as intensity. Fixes piglit depth-tex-modes. | ||||
* | i965: avoid shader translation on window resize | Brian Paul | 2009-10-29 | 1 | -6/+11 |
| | | | | | | | | | | If the fragment shader doesn't use FRAG_ATTRIB_WPOS (gl_FragCoord) we don't need to worry about the window size and origin in brw_wm_populate_key(). This avoids re-generating the i965 shader code when a window is resized. Issue spotted by Keith Whitwell. | ||||
* | i965: define, use BRW_MAX_DRAW_BUFFERS | Brian Paul | 2009-10-29 | 3 | -4/+8 |
| | | | | | i965 might support more than 4 color draw buffers. But if not, this protects from breakage if the Mesa limit is raised. | ||||
* | i965: remove unused var | Brian Paul | 2009-10-29 | 1 | -1/+0 |
| | |||||
* | i965: don't use context state in emit_fb_write() | Brian Paul | 2009-10-29 | 3 | -2/+5 |
| | | | | | Put the state that we care about in the hash key. Issue spotted by Keith Whitwell. | ||||
* | i965: use macros to get/set prog_instruction::Aux field | Brian Paul | 2009-10-29 | 4 | -8/+14 |
| | | | | This makes things a bit easier to remember/understand. | ||||
* | i965: minor code reformatting | Brian Paul | 2009-10-29 | 1 | -4/+3 |
| | |||||
* | mesa: Add MESA_FORMAT_Z24_X8. | José Fonseca | 2009-10-29 | 5 | -1/+64 |
| | |||||
* | st/xorg: fix scaling ov xv data, plus some cleanups | Zack Rusin | 2009-10-29 | 3 | -28/+57 |
| |