Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-07-30 | mesa st: Report unsupported render-to-texture formats. | Thomas Hellstrom | |
If a texture image is bound to a framebuffer for render-to-texture, but the hardware doesn't support rendering to its internal format, report the framebuffer as incomplete with FRAMEBUFFER_UNSUPPORTED. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> | |||
2009-07-30 | vbo: Fix build on windows. | Michal Krol | |
2009-07-30 | i965: Postpone ff_sync message in CLIP kernel on IGDNG | Xiang, Haihao | |
In addition, it guarantees ff_sync message is issued | |||
2009-07-30 | r600: fix mipmaps | Alex Deucher | |
redbook mipmap works | |||
2009-07-29 | i915: Add support for EXT_stencil_two_side and ATI_separate_stencil. | Eric Anholt | |
Passes tests/stencil_twoside and glean/stencil2. | |||
2009-07-29 | i915: Add ARB_point_sprite since we already expose NV_point_sprite. | Eric Anholt | |
It's all fallbacks anyway due to the DD_POINT_ATTEN fallback. | |||
2009-07-29 | gallium: fix SSE shadow texture instructions | Brian Paul | |
When sampling a 2D shadow map we need 3 texcoord components, not 2. The third component (distance from light source) is compared against the texture sample to return the result (visible vs. occluded). Also, enable proper handling of TGSI_TEXTURE_SHADOW targets in Mesa->TGSI translation. There's a possibility for breakage in gallium drivers if they fail to handle the TGSI_TEXTURE_SHADOW1D / TGSI_TEXTURE_SHADOW2D / TGSI_TEXTURE_SHADOWRECT texture targets for TGSI_OPCODE_TEX/TXP instructions, but that should be easy to fix. With these changes, progs/demos/shadowtex.c renders properly again with softpipe. | |||
2009-07-29 | r600: remove extraneous semicolon | Alex Deucher | |
2009-07-29 | r600: fix texture pitch alignment | Alex Deucher | |
fixes texwrap | |||
2009-07-29 | r600: minor fixes | Alex Deucher | |
- set MAX_LOD properly - min texel pitch is 8 texels - emit old command buffer when re-initing base state | |||
2009-07-29 | r300: Cleanup r300_fragment_program_code | Nicolai Hähnle | |
Configuration register values are now stored directly in that structure. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-29 | r300/compiler: Adapt AllocateHwInputs interface to common usage pattern | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-29 | swrast: enable ARB_vertex_array_object. | Eric Anholt | |
It was getting enabled anyway but without the entrypoints installed. Whoops. | |||
2009-07-29 | mesa/st: short-circuit glFinish calls on WIN32 only | Keith Whitwell | |
Windows opengl32.dll calls glFinish prior to every swapbuffers, which makes it pretty hard to get decent performance... Work around by mapping finish to flush on PIPE_OS_WINDOWS. This is conformant, though it might confuse poorly-written benchmarks which attempt to measure a single event rather than figuring out the rate of continuous processing. | |||
2009-07-29 | mesa/st: recognize no-op scissor state when checking clear_with_quads | Keith Whitwell | |
Some apps enable scissor but set the rectangle to the dimensions of the window. Don't let this force us onto a slower clear path. | |||
2009-07-29 | r600: emit fog color in PS input map, fix fog related applications | Cooper Yuan | |
2009-07-29 | R6xx/r7xx: VS export fog color as parameter | Cooper Yuan | |
2009-07-28 | r600: fix tex clamp modes | Alex Deucher | |
This makes texwrap look better. | |||
2009-07-28 | r600: implement texture border color | Alex Deucher | |
2009-07-28 | r600: fix flat shading | Alex Deucher | |
Set the flat shading bit on the appropriate PS input depending on the type of attribute it is. The VS output and PS input routing should probably be made more dynamic at some point. We may want to use semantic ids to make it easier. | |||
2009-07-28 | r600: don't call r700UpdateShaders twice for each render | Alex Deucher | |
2009-07-28 | r600: move r700TranslateFragmentShader into r700UpdateShaders | Alex Deucher | |
2009-07-28 | r600: disable flat shade fix in 506bacb8e40b0a170a4b620113506925d2333735 | Alex Deucher | |
This breaks textures. We need to only set this bit for attributes that that need flat shading. | |||
2009-07-28 | Merge branch 'mesa_7_5_branch' | Brian Paul | |
Conflicts: Makefile configs/default docs/relnotes.html src/mesa/main/version.h | |||
2009-07-28 | R6xx/r7xx: enable flat shading, this can fix quadric/accanti/accpersp | Cooper Yuan | |
2009-07-27 | r600: fix _REV texture format component swizzles | Alex Deucher | |
2009-07-27 | mesa: regenerated file | Brian Paul | |
2009-07-27 | glapi: regenerated GL API assembly files | RALOVICH, Kristóf | |
2009-07-27 | glapi: remove XTHREADS support | RALOVICH, Kristóf | |
2009-07-27 | intel: Fix leak of DRI option info due to using the wrong free routine. | Brian Paul | |
(cherry picked from commit 6d66f23c50ebe8f973757b6fd1b81c9b7920c447) | |||
2009-07-27 | intel: Clean up leak of driver context structure on context destroy. | Brian Paul | |
(cherry picked from commit ddef7dc87b2001fbe117ee5f24a0c645ee95a03c) | |||
2009-07-27 | st/mesa: silence warning | Brian Paul | |
2009-07-27 | mesa: separate some finite/pragma Watcom stuff | Brian Paul | |
2009-07-27 | r300/compiler: Make calculate_inputs_outputs available to external users | Nicolai Hähnle | |
In the long run, it's probably better to just get rid of InputsRead and OutputsWritten. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/compiler: Add vertex program code dumper from Gallium driver | Nicolai Hähnle | |
2009-07-27 | r300/compiler: Prepare for hookup to Gallium | Nicolai Hähnle | |
2009-07-27 | r300/fragprog: Move wpos_attr and fog_attr where they belong | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/fragprog: Remove hardcoded FRAG_ATTRIB_xxx constants | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/fragprog: No longer rely on hardcoded FRAG_RESULT_xxx constants | Nicolai Hähnle | |
Also, this makes radeon_program_pair depend on the r300 fragment program compiler. Since we now know that r600+ no longer use the same pairing style in their ALU, we can stop pretending that program_pair is useful for anything but r300-r500 fragment programs. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/fragprog: Move some of the attribute handling out of the compiler | Nicolai Hähnle | |
Attribute indices will probably be different in Gallium, so make the compiler independent of magic values. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/fragprog: Finally get rid of the duplicate program copy | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/vertprog: Move Mesa-dependent input/output handling out of compiler | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Remove ugly PSIZ hack | Nicolai Hähnle | |
Instead of setting Sourced, we simply force writemasks to begin with. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/vertprog: Refactor wpos rewrite using rc_program | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/vertprog: Refactor fog_as_texcoord to use rc_program | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/vertprog: Refactor addArtificialOutputs to use rc_program | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/fragprog: Refactor wpos rewrite to use rc_program | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/compiler: Refactor fragment program fog rewrite to use rc_program | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/compiler: Refactor rewrite_depth_out to use rc_program | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/compiler: Refactor local transforms to use rc_program | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> |