Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-03-26 | Checkpoint: implementing true CAL/RET instructions for subroutine calls. | Brian | |
Also, found/fixed a code generation regression: the emit_swizzle() function was always returning NULL. This caused emit_move() to miss its chance at peephole optimization. | |||
2007-03-26 | Get rid of IR_JUMP and related code. | Brian | |
2007-03-26 | special case RET | Brian | |
2007-03-26 | Get rid of SLANG_OPER_GOTO, start rewrite of 'return' handling. | Brian | |
2007-03-26 | remove debug abort() calls | Brian | |
2007-03-26 | Additional error checking for 'return' statements. | Brian | |
2007-03-26 | undo some debugging hacks | Brian | |
2007-03-26 | dead code elimination for constant-valued if/then/else | Brian | |
2007-03-26 | r300: Remove a warning when vertex programs produce an unused output | Nicolai Haehnle | |
As far as we know, the hardware prefers outputs packed tightly together with no holes caused by outputs that are not even read by the fragment program. Therefore, we slightly rewrite vertex programs in this case. It would be interesting to test this interaction between vertex programs and fragment programs further, because some of that rewrite may be unnecessary. However, play it safe for now and don't change the current behaviour. | |||
2007-03-26 | r300: Whitespace cleanup (remove trailing spaces) | Nicolai Haehnle | |
2007-03-26 | Fix a few issues with computing storage sizes with respect to swizzles. | Brian | |
2007-03-26 | In _mesa_lookup_parameter_constant() make sure we return a full, 4-component ↵ | Brian | |
swizzle. | |||
2007-03-26 | r300: Fix warnings that were introduced by the glsl merge | Nicolai Haehnle | |
2007-03-26 | Add _swrast_span_default_secondary_color() for use with glBitmap, ↵ | Brian | |
glDrawPixels, etc. Secondary color wasn't getting added to post-texture color when drawing bitmaps, images. See bug 10409. | |||
2007-03-26 | remove incorrect assertions | Brian | |
2007-03-26 | disable printing shader program debug info | Brian | |
2007-03-26 | merge of glsl-compiler-1 branch | Brian | |
2007-03-26 | i915tex: Make sure renderbuffers don't get deleted when flipping them. | Michel Dänzer | |
Since the recent renderbuffer refcounting fixes it's no longer sufficient to just remove the old renderbuffer from the framebuffer and then add the new one because the former may decrease the reference count to 0 and delete the old renderbuffer. | |||
2007-03-26 | disable free() until other issues can be fixed... | Brian | |
2007-03-26 | fix mem leak, add comments | Brian | |
2007-03-26 | nouveau: match drm version bump | Ben Skeggs | |
2007-03-25 | Fix some renderbuffer reference counting issues. Also fixes a mem leak. | Brian | |
2007-03-25 | i965: The given urb layout(maximal size of urb entries and the | Xiang, Haihao | |
values for nr of entries) should meet the requirement. | |||
2007-03-25 | Color3iv: set the alpha value to 1.0 | Xiang, Haihao | |
2007-03-25 | r300: Whitespace cleanup in r300_texmem.c | Nicolai Haehnle | |
2007-03-25 | r300: Whitespace cleanup in r300_texstate.c | Nicolai Haehnle | |
2007-03-25 | r300: Fix regression: unnecessary node indirection | Nicolai Haehnle | |
The texture_rectangle fix introduced a bug where every texture instruction caused a new indirection. | |||
2007-03-24 | fix mem leak | Brian | |
2007-03-24 | disable free(var->aux) -- can lead to segfault | Brian | |
2007-03-24 | fix mem leak | Brian | |
2007-03-24 | fix some mem leaks | Brian | |
2007-03-24 | Free shader-related context state: _mesa_free_shader_state() | Brian | |
2007-03-24 | free prog->Attributes in _mesa_delete_program() | Brian | |
2007-03-24 | fix mistake in _slang_free_ir() | Brian | |
2007-03-25 | nouveau: implement nv20Clear and nv20Scissor | Dave Airlie | |
Still crashes out on scissor regs | |||
2007-03-24 | r300: Fix texture coordinate calculation for rectangle textures | Nicolai Haehnle | |
R300 hardware takes texcoords in the range 0..1 even for rectangle textures. Previously, the necessary texcoord conversion was applied to the texture coordinate during vertex processing in a render stage. This is obviously wrong when fragment programs are used, which can calculate arbitrary coordinates for TEX instructions. Therefore, we now inject an appropriate MUL instruction before a TEX that reference a rectangle texture. | |||
2007-03-24 | r300: No assertion when accessing incomplete texture images. | Nicolai Haehnle | |
There used to be an assertion when a fragment program accesses an incomplete texture image. Work around this assertion. Note: I am unsure whether this workaround produces the desired result (0,0,0,1) on all hardware. | |||
2007-03-24 | Properly free the slang_ir_node->Store data (use ref counting). | Brian | |
2007-03-24 | When computing render_inputs_bitset, omit primary color if we have a ↵ | Brian | |
fragment program and it doesn't need FRAG_ATTRIB_COL0. Silences valgrind warnings. | |||
2007-03-24 | move some code into new slang_ir.c file | Brian | |
2007-03-24 | IR utility functions | Brian | |
2007-03-24 | r300: Fix: KIL instruction don't require textures | Nicolai Haehnle | |
When no textures were enabled, a KIL instruction triggered an assertion in r300_setup_rs_unit. | |||
2007-03-24 | swrast: Fix crash when sampling from a non-existing texture object | Nicolai Haehnle | |
2007-03-24 | nouveau: some swtcl fixes | Ben Skeggs | |
2007-03-23 | Implement alpha buffer copy for SwapBuffers(). | Brian | |
Nicolai writes: When the pixmap pixel format has no alpha channel, the x11 driver (software rendering) adds a wrapped alpha channel on request. During SwapBuffers, this alpha channel is not copied from back to front, which means that the front buffer doesn't really contain the contents that the back buffer previously contained. A subsequent glReadPixels from the front buffer will return an incorrect result. The following patch attempts to fix this. | |||
2007-03-23 | Fix issues related to the 'continue' statement. | Brian | |
IR_LOOP now has two children: the body code, and the tail code. Tail code is the "i++" part of a for-loop, or the expression at the end of a "do {} while(expr);" loop. "continue" translates into: "execute tail code; CONT;" Also, the test for infinite do/while loops was incorrect. | |||
2007-03-23 | consolidate some code | Brian | |
2007-03-23 | Add the ability to generate programs that doesn't use condition codes. | Brian | |
ctx->Shader.EmitCondCodes determines if we use condition codes. If not, IF statement uses first operand's X component as the condition. Added OPCODE_BRK0, OPCODE_BRK1, OPCODE_CONT0, OPCODE_CONT1 to handle the common cases of conditional break/continue. | |||
2007-03-23 | minor tweaks | Brian | |
2007-03-23 | updated comment | Brian | |