Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-02-20 | i965: use the new prog_instruction::TexShadow field | Brian Paul | |
GLSL shadow() sampler calls are properly propogated down to the driver now. The glean glsl1 shadow() tests work (except for the alpha channel). | |||
2009-02-20 | i965: check depth_mode in translate_tex_format() for MESA_FORMAT_S8_Z24 | Brian Paul | |
Note that I24X8 vs. A24X8 vs. L24X8 doesn't seem to make any difference for texture/shadow compare, however. | |||
2009-02-20 | i965: separate emit_op() and emit_tex_op() functions | Brian Paul | |
2009-02-20 | i965: update comment, use const qualifier | Brian Paul | |
2009-02-20 | i965: var renaming, clean-up | Brian Paul | |
2009-02-20 | i965: added comment | Brian Paul | |
2009-02-20 | i965: additional debug output | Brian Paul | |
2009-02-17 | i965: Fix fallback on stencil drawing to fbo when the visual lacks stencil. | Eric Anholt | |
Noticed this with the fbotexture demo. | |||
2009-02-17 | intel: Clean up several 965 memory leaks on context destroy. | Eric Anholt | |
2009-02-16 | i965: tell GLSL compiler to emit code using condition codes | Brian Paul | |
The default for EmitCondCodes got flipped when gallium-0.2 was merged. This fixes GLSL if/else/endif regressions. Drivers that use GLSL should always explicitly set the flag to be safe. | |||
2009-02-13 | i965: rewrite the code for handling shader subroutine calls | Brian Paul | |
Previously, the prog_instruction::Data field was used to map original Mesa instructions to brw instructions in order to resolve subroutine calls. This was a rather tangled mess. Plus it's an obstacle to implementing dynamic allocation/growing of the instruction buffer (it's still a fixed size). Mesa's GLSL compiler emits a label for each subroutine and CAL instruction. Now we use those labels to patch the subroutine calls after code generation has been done. We just keep a list of all CAL instructions that needs patching and a list of all subroutine labels. It's a simple matter to resolve them. This also consolidates some redundant post-emit code between brw_vs_emit.c and brw_wm_glsl.c and removes some loops that cleared the prog_instruction::Data fields at the end. Plus, a bunch of new comments. | |||
2009-02-13 | i965: add missing break for OPCODE_RET case | Brian Paul | |
This doesn't effect correctness, but we were emitting an extraneous ADD. | |||
2009-02-13 | i965: the return value of translate_insn() is never used. Make it void. | Brian Paul | |
2009-02-13 | i965: minor clean-ups | Brian Paul | |
2009-02-13 | i965: code clean-ups, comments, and minor refactoring | Brian Paul | |
2009-02-13 | i965: updated comments | Brian Paul | |
2009-02-13 | i965: more reformatting/clean-up | Brian Paul | |
2009-02-13 | i965: s/__inline/INLINE/ | Brian Paul | |
2009-02-13 | i965: formatting and indentation fixes | Brian Paul | |
2009-02-13 | i965: fix inconsistant indentation in brw_wm.c | Brian Paul | |
2009-02-02 | i965: Remove brw->attribs now that we can just always look in the GLcontext. | Eric Anholt | |
2009-02-02 | i965: Delete old metaops code now that there are no remaining consumers. | Eric Anholt | |
2009-01-30 | i965: bump texture limit to 4kx4k | Keith Packard | |
Rendering and textures are limited to 8kx8k, but mesa limits things to 4kx4k, and magic guard band stuff may break on 8kx8k drawing. This is safe though, and makes compiz work on bigger screens. Signed-off-by: Keith Packard <keithp@keithp.com> | |||
2009-01-30 | i965: formatting, comments, whitespace clean-ups | Brian Paul | |
2009-01-30 | Remove stale symlinks to intel/intel_depthstencil.c | Ian Romanick | |
2009-01-29 | i965: use bitfields in brw_sf_unit_key struct | Brian Paul | |
2009-01-29 | i965: fix render to FBO/texture orientation bugs | Brian Paul | |
Anytime we're not rendering to the default/window FBO, need to invert rendering, not just when rendering to a texture. Otherwise, if a FBO consists of a mix of textures and renderbuffers the up/down orientation was inconsistant. Fixes shadowtex.c bad rendering. | |||
2009-01-28 | i965: minor tweak: replace OPCODE_MOV with OPCODE_SWZ | Brian Paul | |
Just to reinforce the understanding that an extended swizzle with 0 and 1 terms is possible there. | |||
2009-01-28 | i965: implement GL_EXT_texture_swizzle | Brian Paul | |
If the texture swizzle is not XYZW (no-op) add an extra MOV instruction after the TEX instruction to rearrange the components. | |||
2009-01-28 | i965: minor clean-up, comments, etc. | Brian Paul | |
2009-01-28 | Merge commit 'origin/master' into texture_swizzle | Brian Paul | |
2009-01-28 | i965: fix bug in pass0_precalc_mov() | Brian Paul | |
Previously, "in-place" swizzles such as: MOV t, t.xxyx; were handled incorrectly. Fixed by splitting the one loop into two loops so we get all the refs before assigning them (to avoid potential clobbering). | |||
2009-01-28 | i965: minor comment additions/edits | Brian Paul | |
2009-01-28 | i965: minor improvements in brw_wm_populate_key() | Brian Paul | |
2009-01-28 | i965: remove pad field | Brian Paul | |
2009-01-28 | i965: widen per-texture bitfields for 16 texture image units | Brian Paul | |
2009-01-28 | i965: minor comments | Brian Paul | |
2009-01-26 | intel: replace i915/intel_state.c and i965/intel_state.c with shared file | Brian Paul | |
2009-01-26 | intel: whitespace changes | Brian Paul | |
2009-01-26 | intel: move some driver functions around | Brian Paul | |
A step toward consolidating i915/intel_state.c and i965/intel_state.c | |||
2009-01-26 | intel: asst. casts to silence warnings | Brian Paul | |
2009-01-26 | intel: move intelInitExtensions() and related code into new intel_extensions.c | Brian Paul | |
2009-01-26 | intel: move glClear-related code into new intel_clear.c file | Brian Paul | |
2009-01-26 | intel: Move swap-related functions from intel_buffers.c to new ↵ | Brian Paul | |
intel_swapbuffers.c | |||
2009-01-26 | i965: scissor rect was inverted when rendering to texture | Brian Paul | |
2009-01-23 | i965: init array->Format fields (see bug 19708) | Brian Paul | |
2009-01-23 | Merge branch 'vertex_array_bgra' | Brian Paul | |
2009-01-23 | i965: enable GL_EXT_vertex_array_bgra | Brian Paul | |
Simply a matter of choosing the right surface/vertex format for GLubyte/GL_BGRA arrays. | |||
2009-01-23 | Track two sets of back-face stencil state | Ian Romanick | |
Track separate back-face stencil state for OpenGL 2.0 / GL_ATI_separate_stencil and GL_EXT_stencil_two_side. This allows all three to be enabled in a driver. One set of state is set via the 2.0 or ATI functions and is used when STENCIL_TEST_TWO_SIDE_EXT is disabled. The other is set by StencilFunc and StencilOp when the active stencil face is set to BACK. The GL_EXT_stencil_two_side spec has more details. http://opengl.org/registry/specs/EXT/stencil_two_side.txt | |||
2009-01-22 | i965: whitespace changes and reformatting | Brian Paul | |