Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | minor status updates | 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 | destroy window on exit | 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 | document internal compiler options | Brian | |
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 | |
2007-03-23 | r300: Whitespace cleanup (remove trailing spaces) | Nicolai Haehnle | |
2007-03-22 | updated comment | Brian | |
2007-03-22 | Overhaul emit_compare() function. | Brian | |
Previously, comparing vec2, vec3, vec4 was broken. Added IR_EQUAL, IR_NOTEQUAL nodes/operators to compute boolean equality/inequality vs. IR_SEQUAL/IR_SNEQUAL which work component-wise. Use IR_EQUAL/IR_NOTEQUAL for the == and != operators. To compute vec4 equality, use SNE, DP4, SEQ instruction sequence. | |||
2007-03-22 | First pass at implementing structure compares. | Brian | |
Need to improve this. There may be holes in a structure so we can't just blindly compare the full 4-float registers. | |||
2007-03-22 | use _mesa_copy_instructions() | Brian | |
2007-03-22 | In _mesa_add_unnamed_constant() and _mesa_lookup_parameter_constant() allow ↵ | Brian | |
swizzleOut==NULL. There are times when we don't want to allow swizzling when searching for or adding vector constants. Passing NULL for swizzleOut disables swizzling. This fixes a constant/swizzle bug in link_uniform_vars(). | |||
2007-03-22 | print conditional writemask, if enabled | Brian | |
2007-03-22 | use _mesa_alloc_instructions() | Brian | |
2007-03-22 | use _mesa_copy_instructions() | Brian | |