Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-02-26 | i965: whitespace/indentation fixes | Brian Paul | |
2009-02-26 | i965: fix for RHW workaround | Xiang, Haihao | |
It is possible that an object whose vertices all are outside of a view plane is passed to clip thread due to the RHW workaround. This object should be rejected by clip thread. Fix bug #19879 | |||
2009-02-25 | i965: Rename CMD_CONST_BUFFER_STATE to the CS_URB_STATE used in the docs. | Eric Anholt | |
2009-02-23 | i965: fix line stipple fallback for GL_LINE_STRIP primitives | Robert Ellison | |
When doing line stipple, the stipple count resets on each line segment, unless the primitive is a GL_LINE_LOOP or a GL_LINE_STRIP. The existing code correctly identifies the need for a software fallback to handle conformant line stipple on GL_LINE_LOOP primitives, but neglects to make the same assessment on GL_LINE_STRIP primitives. This fixes it so they match. | |||
2009-02-21 | i965: Fix render target read domains. | Eric Anholt | |
We were asking for something illegal (write_domain != 0 && read_domains != write_domain) because at the time of writing the region surfaces were used for texturing occasionally as well, and we weren't really clear on the model GEM was going to use. This reliably triggered a kernel bug with domain handling, resulting in oglconform mustpass.c failure. Of course, it only became visible after 01bc4d441fd6821ad9fc20d5e9544e4e587e4ff0 cleaned up some gratuitous flushing. | |||
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 | |