Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | i915g: Roll back to the previous shader limits. | Stéphane Marchesin | 2011-12-13 | 3 | -6/+2 |
| | | | | Those shader limits seem to be responsible for a piglit hang. | ||||
* | i915g: Update TODO. | Stéphane Marchesin | 2011-12-13 | 1 | -0/+2 |
| | |||||
* | i915g: fix debug dump on 64 bit systems | Michael Karcher | 2011-12-11 | 1 | -1/+1 |
| | |||||
* | i915g: Fix wrong indices for LINE_LOOP case | Fatih Aşıcı | 2011-12-11 | 1 | -2/+2 |
| | |||||
* | i915g: Implement GL_STREAM_* for textures by using untiled textures. | Stéphane Marchesin | 2011-12-01 | 1 | -1/+1 |
| | |||||
* | i915g: Add unsupported PIPE_SHADER_CAP_OUTPUT_READ to silence warnings. | Stéphane Marchesin | 2011-12-01 | 1 | -0/+2 |
| | |||||
* | android: pass -std=c99 by default | Chia-I Wu | 2011-11-26 | 1 | -2/+0 |
| | | | | | Several modules expect a C99 compiler already. It is also the default for Makefile build. | ||||
* | i915g: don't set alpha to 1 for RGBX and BGRX | Vasily Khoruzhick | 2011-11-23 | 1 | -2/+1 |
| | | | | | | | | This patch fixes regression introduced in 1f3c5eae5c4be582e50c2d4d7950424d86059c45 Signed-off-by: Vasily Khoruzhick <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> | ||||
* | gallium: separate out floating-point CAPs into its own enum | Marek Olšák | 2011-11-22 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | The motivation behind this is to add some self-documentation in the code about how each CAP can be used. The idea is: - enum pipe_cap is only valid in get_param - enum pipe_capf is only valid in get_paramf Which CAPs are floating-point have been determined based on how everybody except svga implemented the functions. svga have been modified to match all the other drivers. Besides that, the floating-point CAPs are now prefixed with PIPE_CAPF_. | ||||
* | gallium: remove PIPE_CAP_GLSL and enable GLSL unconditionally | Marek Olšák | 2011-11-22 | 1 | -1/+0 |
| | | | | | Only i965g does not enable GLSL, but that driver has been unmaintained and bitrotting for quite a while anyway. | ||||
* | i915g: implement RGBX and BGRX render targets | Vasily Khoruzhick | 2011-11-22 | 2 | -2/+7 |
| | | | | | | | | | | They're not supported by hw directly, but it's easy to emulate them with a shader swizzling fixup. Signed-off-by: Vasily Khoruzhick <[email protected]> [danvet: The important thing is to write a 1 to the unused alpha channel, the ddx is relying on this for render accel.] Signed-off-by: Daniel Vetter <[email protected]> | ||||
* | i915g: Cleanup the vertex sampler interface a bit. | Stéphane Marchesin | 2011-10-25 | 3 | -9/+5 |
| | |||||
* | i915g: Flesh out TODO idea. | Stéphane Marchesin | 2011-10-25 | 1 | -1/+3 |
| | |||||
* | i915g: Use the right shader limits. | Stéphane Marchesin | 2011-10-17 | 3 | -5/+9 |
| | |||||
* | i915g: Add TODO. | Stéphane Marchesin | 2011-10-17 | 1 | -0/+2 |
| | |||||
* | gallium: rename ZS stencil type to UINT (v2) | Dave Airlie | 2011-10-11 | 5 | -8/+8 |
| | | | | | | | | | | these are never USCALED, always UINT in reality. taken from some work by Christoph Bumiller v2: fixup formatting of table + tabs Signed-off-by: Dave Airlie <[email protected]> | ||||
* | i915g: fix warning about void pointer arithmetic | Brian Paul | 2011-10-11 | 1 | -1/+1 |
| | |||||
* | i915g: Remove duplicated comment. | Stéphane Marchesin | 2011-10-10 | 1 | -1/+0 |
| | |||||
* | i915g: Update TODO once more. | Stéphane Marchesin | 2011-10-10 | 1 | -4/+1 |
| | |||||
* | i915g: Update the TODO with another idea. | Stéphane Marchesin | 2011-10-10 | 1 | -0/+2 |
| | |||||
* | i915g: Enable instanced drawing. | Stéphane Marchesin | 2011-10-10 | 1 | -1/+1 |
| | |||||
* | i915g: Remove another TODO item which was done a while ago. | Stéphane Marchesin | 2011-10-08 | 1 | -3/+0 |
| | |||||
* | i915g: Remove a TODO item. | Stéphane Marchesin | 2011-10-08 | 1 | -1/+0 |
| | |||||
* | i915g: Fix comment. | Stéphane Marchesin | 2011-10-08 | 1 | -1/+1 |
| | |||||
* | i915g: Implement vertex textures. | Stéphane Marchesin | 2011-10-08 | 4 | -62/+230 |
| | |||||
* | i915g: Silence warning. | Stéphane Marchesin | 2011-10-08 | 1 | -1/+1 |
| | |||||
* | i915g: Remove old heuristic flusing remains. | Stéphane Marchesin | 2011-10-08 | 1 | -20/+0 |
| | |||||
* | i915g: Cleanup caps code a bit. | Stéphane Marchesin | 2011-10-08 | 1 | -7/+6 |
| | |||||
* | i915g: Add two new unsupported PIPE_CAPs. | Stéphane Marchesin | 2011-10-07 | 1 | -0/+2 |
| | |||||
* | i915g: handle seperate stencil clear | Daniel Vetter | 2011-10-07 | 1 | -0/+10 |
| | | | | Signed-off-by: Daniel Vetter <[email protected]> | ||||
* | i915g: actually try to clear 16bit depth bufs | Daniel Vetter | 2011-10-07 | 1 | -1/+1 |
| | | | | | | ... with the right value. Signed-off-by: Daniel Vetter <[email protected]> | ||||
* | i915g: hw can't fastclear both depth and color when bbp doesn't match | Daniel Vetter | 2011-10-07 | 1 | -29/+93 |
| | | | | | | | | Do it in two passes in that case. v2: Don't forget to handle stencil clears. Signed-off-by: Daniel Vetter <[email protected]> | ||||
* | i915g: disable scissor in fast clear | Daniel Vetter | 2011-10-07 | 1 | -4/+6 |
| | | | | | | Docs say this is obeyed. Signed-off-by: Daniel Vetter <[email protected]> | ||||
* | i915g: add some obscure sampler formats | Daniel Vetter | 2011-10-07 | 1 | -1/+3 |
| | | | | | | 4bit palette ftw! Signed-off-by: Daniel Vetter <[email protected]> | ||||
* | i915g: fixup clear params emission | Daniel Vetter | 2011-10-07 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | | | Docs say that default shader input color input need to be spec as ARGB8888. And a clear rect prim essentially uses this value instead of default diffuse. Depth on the other hands is an ieee 32 bit float. Clear stencil is U8. Completely different are the clear values for zone init prims. These are speced in the actual output pixel layout (and need to be repeated for 16 bit formats). Clear up the confusion by adding some comments. v2: Retain the target swizzling support added by Stephan Marchesin. Signed-off-by: Daniel Vetter <[email protected]> | ||||
* | i915g: make fixup swizzle into a real hw state | Daniel Vetter | 2011-10-07 | 3 | -41/+45 |
| | | | | | | This way it can be reused in the fastclear path. Signed-off-by: Daniel Vetter <[email protected]> | ||||
* | i915g: Announce GL 2.0. | Stéphane Marchesin | 2011-10-06 | 1 | -1/+1 |
| | | | | We leave the debug code in place to troubleshoot issues while we complete the transition. That code might be removed after that. | ||||
* | i915g: Silence warning. | Stéphane Marchesin | 2011-10-06 | 1 | -1/+1 |
| | | | | We still need to investigate LIS7 though. | ||||
* | i915g: Fix comment. | Stéphane Marchesin | 2011-10-05 | 1 | -1/+1 |
| | |||||
* | gallium: add and use PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS | Marek Olšák | 2011-09-30 | 1 | -4/+8 |
| | | | | | | | | | This removes: - PIPE_CAP_MAX_TEXTURE_IMAGE_UNITS - PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS in favor of the that new per-shader cap. Reviewed-by: Brian Paul <[email protected]> | ||||
* | gallium: remove PIPE_CAP_TEXTURE_MIRROR_REPEAT | Marek Olšák | 2011-09-30 | 1 | -1/+0 |
| | | | | | | | | | | All drivers support it (well, except Cell). The boolean option is going away from core Mesa too. This is a follow-up to Ian Romanick's patch "mesa: Remove ARB_texture_mirrored_repeat extension enable flag". Reviewed-by: Brian Paul <[email protected]> | ||||
* | gallium: move border color to be a color union | Dave Airlie | 2011-09-27 | 1 | -4/+4 |
| | | | | | | | | | | 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]> | ||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | i915g: Add ifdef'd out code to dump compiled shaders. | Stéphane Marchesin | 2011-09-21 | 1 | -0/+4 |
| |