Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | i915g: move declaration before code | Brian Paul | 2011-07-14 | 1 | -1/+2 |
| | |||||
* | i915g: fixup context desdruction | Daniel Vetter | 2011-07-13 | 1 | -2/+2 |
| | | | | | Reported-by: Christopher Egert <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> | ||||
* | i915g: Make the optimizer more generic. | Stéphane Marchesin | 2011-07-07 | 1 | -27/+58 |
| | |||||
* | i915g: Apply optimization to ADDS/MUL and only if we're not saturating. | Stéphane Marchesin | 2011-07-07 | 1 | -6/+27 |
| | |||||
* | i915g: move code after declaration | Brian Paul | 2011-07-06 | 1 | -1/+2 |
| | |||||
* | i915g: Fix optimize so that it actually gets used. | Stéphane Marchesin | 2011-07-06 | 1 | -1/+1 |
| | |||||
* | i915g: Fix optimization, also make it more generic. | Stéphane Marchesin | 2011-07-06 | 1 | -2/+26 |
| | |||||
* | i915g: Improve flushing using heuristics. | Stéphane Marchesin | 2011-07-06 | 7 | -1/+36 |
| | |||||
* | i915g: introduce the tiny shader optimizer. | Stéphane Marchesin | 2011-07-06 | 6 | -96/+372 |
| | |||||
* | i915g: Add comment about DDX/DDY. | Stéphane Marchesin | 2011-07-06 | 1 | -0/+1 |
| | |||||
* | i915g: Move back to the old method for target format fixup. | Stéphane Marchesin | 2011-07-06 | 2 | -58/+41 |
| | |||||
* | i915g: Implement surface format fixup without adding an extra instruction. | Stéphane Marchesin | 2011-06-30 | 1 | -31/+54 |
| | | | | We also avoid writing output color twice, which might not work when we run out of phases. | ||||
* | i915g: update TODO. | Stéphane Marchesin | 2011-06-29 | 1 | -0/+2 |
| | |||||
* | i915g: Try to do better in the shader compiler. | Stéphane Marchesin | 2011-06-29 | 3 | -20/+41 |
| | | | | | | - Copy i915c's support for phases, that should allow us to run a coupe more shaders. - Fix the error messages. - Still try to proceed when we get a shader that's too long. | ||||
* | i915g: Move definition of M_PI in i915_fpc_translate.c | Jon TURNEY | 2011-06-29 | 1 | -5/+3 |
| | | | | | | | | Move defintion of M_PI (for the benefit of <math.h> which do not define it), to before the first use of it Signed-off-by: Jon TURNEY <[email protected]> Reviewed-by: Brian Paul <[email protected]> | ||||
* | i915g: Fix unimplemented Abs comment. | Stéphane Marchesin | 2011-06-29 | 1 | -1/+1 |
| | |||||
* | i915g: If we have a program, that means the other fields are ours and we can ↵ | Stéphane Marchesin | 2011-06-28 | 1 | -3/+5 |
| | | | | | | free them. Otherwise they probably belong to draw. | ||||
* | i915g: Don't overflow the program buffer. | Stéphane Marchesin | 2011-06-28 | 1 | -13/+25 |
| | | | | Otherwise it corrupts other fields of the struct and hilarity ensues. | ||||
* | i915g: Update the TODO with another idea. | Stéphane Marchesin | 2011-06-28 | 1 | -0/+2 |
| | |||||
* | i915g: Fix comment about sin/cos constants. | Stéphane Marchesin | 2011-06-28 | 1 | -2/+2 |
| | |||||
* | i915g: Fix staging texture uploads a bit. | Stéphane Marchesin | 2011-06-28 | 1 | -5/+1 |
| | | | | They still look corrupted, but at least now they don't look tiled any more. | ||||
* | i915g: Add a debug_printf when we get the Abs flag. | Stéphane Marchesin | 2011-06-28 | 1 | -0/+3 |
| | |||||
* | i915g: Support PIPE_FORMAT_B10G10R10A2_UNORM. | Stéphane Marchesin | 2011-06-28 | 3 | -0/+10 |
| | |||||
* | i915g: Improve SIN/COS a bit. | Stéphane Marchesin | 2011-06-28 | 1 | -20/+20 |
| | |||||
* | i915g: When emulating LUMINANCE8 and INTENSITY8 texutres, route alpha properly. | Stéphane Marchesin | 2011-06-28 | 1 | -2/+2 |
| | | | | That fixes some formats in fbo-alphatest-formats. | ||||
* | i915g: fix shadow compare. | Stéphane Marchesin | 2011-06-28 | 2 | -1/+26 |
| | | | | "Works" as well as i915c now. | ||||
* | i915g: Enable GL_ARB_instanced_arrays. | Stéphane Marchesin | 2011-06-27 | 2 | -2/+1 |
| | |||||
* | i915g: Fix a bug in facing. | Stéphane Marchesin | 2011-06-27 | 3 | -7/+7 |
| | | | | However doesn't work because of limitations in the draw module. | ||||
* | i915g: Remove unused cbuf_dirty. | Stéphane Marchesin | 2011-06-27 | 1 | -2/+0 |
| | |||||
* | i915g: Add a comment about a bug. | Stéphane Marchesin | 2011-06-27 | 1 | -0/+1 |
| | |||||
* | i915g: initial support for SEMANTIC_FACE. | Stéphane Marchesin | 2011-06-27 | 3 | -5/+28 |
| | | | | Doesn't work yet, see TODO. | ||||
* | i915g: update TODO. | Stéphane Marchesin | 2011-06-27 | 1 | -0/+13 |
| | |||||
* | i915g: Return the max result for the fake occlusion queries. | Stéphane Marchesin | 2011-06-27 | 1 | -1/+2 |
| | |||||
* | i915g: Fix depth texture formats. | Stéphane Marchesin | 2011-06-27 | 1 | -9/+39 |
| | | | | Depth compare still looks broken though. | ||||
* | i915g: Fix u_blitter comment. | Stéphane Marchesin | 2011-06-27 | 1 | -1/+2 |
| | |||||
* | i915g: Implement fake DDX/DDY. | Stéphane Marchesin | 2011-06-27 | 1 | -0/+12 |
| | |||||
* | i915g: Fix gl_FragCoord. | Stéphane Marchesin | 2011-06-27 | 3 | -44/+13 |
| | |||||
* | i915g: always upload the vs constants.7.11-branchpoint | Stéphane Marchesin | 2011-06-24 | 1 | -9/+7 |
| | | | | This fixes a crash in llvm draw. | ||||
* | i915g: add fake occlusion queries. | Stéphane Marchesin | 2011-06-24 | 5 | -0/+125 |
| | | | | Those always return 0, but at least we don't crash when exposing GL 2.0. | ||||
* | i915g: Don't do shader fixup if no surface is bound. | Stéphane Marchesin | 2011-06-24 | 1 | -3/+9 |
| | |||||
* | i915g: Fix point sprites. | Stéphane Marchesin | 2011-06-24 | 8 | -31/+204 |
| | |||||
* | i915g: Add draw point sprites. | Stéphane Marchesin | 2011-06-22 | 2 | -2/+2 |
| | | | | It's not that much work; hopefully blend func separate also works and we get GL 2.0 for real. | ||||
* | i915g: Fix comment. | Stéphane Marchesin | 2011-06-22 | 1 | -1/+1 |
| | | | | Reported-by: Marcin Baczynski <[email protected]> | ||||
* | i915g: Support more texture and render target formats. | Stéphane Marchesin | 2011-06-22 | 5 | -11/+75 |
| | |||||
* | i915g: add const qualifier to silence warning | Brian Paul | 2011-06-14 | 1 | -1/+1 |
| | |||||
* | i915g: add a few more render target formats | Daniel Vetter | 2011-06-13 | 1 | -0/+7 |
| | | | | | | Snatched from xvmc. Signed-off-by: Daniel Vetter <[email protected]> | ||||
* | gallium: s/bool/boolean/ | Brian Paul | 2011-06-08 | 1 | -1/+1 |
| | |||||
* | i915g: Do generic remapping. | Stéphane Marchesin | 2011-06-06 | 3 | -92/+119 |
| | | | | | | With complex shaders there are often "holes" in the fs inputs, and we only have 8 tex coorsd to map those to. To fix this, we remap fs inputs to [0..8]. This lets us to run many more GLSL programs. | ||||
* | i915g: implement more opcodes. | Stéphane Marchesin | 2011-06-06 | 1 | -12/+82 |
| | |||||
* | i915g: implement TGSI_OPCODE_SEQ. | Stéphane Marchesin | 2011-06-06 | 1 | -0/+28 |
| |