Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | After we've found the slang_function ptr for a SLANG_OPER_CALL node, save ↵ | Brian | 2007-03-14 | 2 | -62/+76 |
| | | | | | | | | the ptr in the node for reuse. This can save a tremendous amount of time when resolving types in complex expressions. One particular shader was taking several minutes to compile but now compiles almost instantaneoulsy. | ||||
* | make _slang_typeof_function() static | Brian | 2007-03-14 | 2 | -40/+28 |
| | |||||
* | remove old assertion | Brian | 2007-03-14 | 1 | -1/+0 |
| | |||||
* | more bug fixing, error checking | Brian | 2007-03-13 | 1 | -2/+7 |
| | |||||
* | fix a number of issues in _mesa_uniform() | Brian | 2007-03-13 | 1 | -45/+43 |
| | |||||
* | remove bogus assertion | Brian | 2007-03-13 | 1 | -1/+0 |
| | |||||
* | fix ctx->Pixel.PostConvolutionScale/Bias subscript bugs | Brian | 2007-03-13 | 1 | -6/+6 |
| | |||||
* | Check for, simplify vec2/3/4(x). Only do call adapting for constructors. | Brian | 2007-03-13 | 1 | -3/+25 |
| | |||||
* | improve literal printing | Brian | 2007-03-13 | 1 | -8/+13 |
| | |||||
* | disable some debug output | Brian | 2007-03-13 | 1 | -1/+1 |
| | |||||
* | better error msg for undefined function, disable some debug output | Brian | 2007-03-13 | 1 | -6/+9 |
| | |||||
* | get rid of float_multiply, float_add, float_divide | Brian | 2007-03-13 | 3 | -6/+3 |
| | |||||
* | alloc an extra byte in _mesa_ShaderSourceARB() to silence a valgrind warning | Brian | 2007-03-13 | 1 | -4/+9 |
| | |||||
* | be smarter about which fragment attribs are interpolated before running frag ↵ | Brian | 2007-03-13 | 1 | -11/+21 |
| | | | | progs | ||||
* | comment about SPAN_* vs FRAG_BIT_* values | Brian | 2007-03-13 | 1 | -0/+2 |
| | |||||
* | Check if FRAG_RESULT_COLR is written and update span->interpMask, arrayMask. | Brian | 2007-03-13 | 1 | -1/+8 |
| | | | | Also, fix an assertion. | ||||
* | Shuffle some code around in the emit_tex() and emit_move() instructions. | Brian | 2007-03-13 | 1 | -9/+16 |
| | | | | | | | Note that the inst ptr returned by new_instruction() may become invalid after calling emit_() since the emit functions may allocate new instructions which is done vial realloc(). Also, add some new assertions to try to catch this kind of bug. | ||||
* | properly compute ctx->Texture._EnabledCoordUnits | Brian | 2007-03-13 | 1 | -12/+8 |
| | |||||
* | Implement GL_ARB_texture_rectangle support | Brian | 2007-03-12 | 11 | -44/+141 |
| | | | | | This includes the sampler2DRect and sampler2DRectShadow types and the texture2DRect(), texture2DRectProj(), etc. built-in functions. | ||||
* | Add array bounds checking, fix memleaks, add null ptr checks. | Brian | 2007-03-12 | 1 | -4/+29 |
| | |||||
* | add NULL ptr check | Brian | 2007-03-11 | 1 | -6/+9 |
| | |||||
* | Implement support for GL_ARB_draw_buffers with GL_MAX_DRAW_BUFFERS > 1. | Brian | 2007-03-11 | 7 | -75/+152 |
| | | | | | | GL_MAX_DRAW_BUFFERS is currently 4. Added gl_FragData[] output for fragment programs. In _swrast_write_rgba_span() loop over the color outputs/renderbuffers. | ||||
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa ↵ | Brian | 2007-03-10 | 20 | -327/+791 |
|\ | | | | | | | into glsl-compiler-1 | ||||
| * | Fix TEXREL issues. | Brian | 2007-03-10 | 2 | -5/+122 |
| | | | | | | | | | | Patch submitted by Christoph Brill. See http://www.gentoo.org/proj/en/hardened/pic-fix-guide.xml | ||||
| * | check for EXT_blend_equation_separate for 2.0 | Brian | 2007-03-10 | 1 | -1/+2 |
| | | |||||
| * | i915tex: Fix build against libdrm git... | Michel Dänzer | 2007-03-10 | 2 | -2/+3 |
| | | |||||
| * | i915tex: Fix intel_wait_flips being declared implicitly. | Michel Dänzer | 2007-03-10 | 1 | -0/+1 |
| | | |||||
| * | i915tex: Fix build against released version of libdrm. | Michel Dänzer | 2007-03-10 | 1 | -0/+17 |
| | | |||||
| * | nouveau: fix nv04 swtcl. | Stephane Marchesin | 2007-03-10 | 1 | -0/+1 |
| | | |||||
| * | nouveau: fix the nv04 swtcl code. | Stephane Marchesin | 2007-03-10 | 1 | -1/+1 |
| | | |||||
| * | nouveau: oops don't debug by default. | Stephane Marchesin | 2007-03-10 | 1 | -1/+1 |
| | | |||||
| * | nouveau: some fixes to the nv04 state code. | Stephane Marchesin | 2007-03-10 | 1 | -13/+15 |
| | | |||||
| * | nouveau: add a fifo size debug check. | Stephane Marchesin | 2007-03-10 | 2 | -3/+23 |
| | | |||||
| * | Merge branch 'i915tex-pageflip' | Michel Dänzer | 2007-03-10 | 12 | -304/+608 |
| |\ | |||||
| | * | i915tex: Wait for pending scheduled flips before switching vsync pipe. | Michel Dänzer | 2007-03-09 | 1 | -0/+19 |
| | | | | | | | | | | | | | | | This avoids hangs when the vblank sequence numbers are not in sync between pipes, in particular when they run at different refresh rates. | ||||
| | * | i915tex: Set intel_fb->vbl_waited to current instead of what we aimed for. | Michel Dänzer | 2007-03-09 | 1 | -1/+1 |
| | | | |||||
| | * | i915tex: Sync pages between pipes immediately again. | Michel Dänzer | 2007-03-09 | 1 | -2/+12 |
| | | | | | | | | | | | | | | | | | | This should be safe now that we no longer use the MI_WAIT_FOR_EVENT instruction incorrectly and should also work correctly with applications that render to the front buffer. | ||||
| | * | i915tex: Do not wait for pending flips on both pipes at the same time. | Michel Dänzer | 2007-03-09 | 1 | -9/+4 |
| | | | | | | | | | | | | | | | | | | The MI_WAIT_FOR_EVENT instruction does not support waiting for several events at once, so this should fix the lockups with page flipping when both pipes are enabled. | ||||
| | * | i915tex: Set framebuffer size to match window before calling _mesa_make_current. | Michel Dänzer | 2007-03-07 | 1 | -10/+10 |
| | | | | | | | | | | | | Fixes issues with apps that don't call glViewport by default. | ||||
| | * | i915tex: Sync pages differently when crossing pipe borders. | Michel Dänzer | 2007-02-28 | 1 | -12/+18 |
| | | | | | | | | | | | | | | | Don't flip (up to twice) immediately but just arrange things such that the pages will be in sync on both pipes on the next flip. | ||||
| | * | i915tex: Check that intel_rb is valid before trying to add it to an fbo. | Michel Dänzer | 2007-02-28 | 1 | -2/+4 |
| | | | |||||
| | * | i915tex: Also update intel_rb->vbl_pending when scheduled swap is not a flip. | Michel Dänzer | 2007-02-28 | 1 | -3/+3 |
| | | | |||||
| | * | i915tex: Schedule flips when possible. | Michel Dänzer | 2007-02-22 | 6 | -179/+228 |
| | | | | | | | | | | | | | | | Also move vsync related state from context to window, so it's possible to schedule several flips ahead of time with triple buffering. | ||||
| | * | i915tex: Triple buffering support, only effective with page flipping so far. | Michel Dänzer | 2007-02-20 | 7 | -63/+166 |
| | | | | | | | | | | | | | | | | | | Pending flips are tracked per renderbuffer and the colour renderbuffer attachments of window framebuffer objects are rotated on flips to avoid stalling the pipeline for pending flips unnecessarily. | ||||
| | * | intelWindowMoved: Some debugging output was accidentally left always enabled. | Michel Dänzer | 2007-02-20 | 1 | -1/+1 |
| | | | |||||
| | * | intelRotateWindow: Only use back buffer and cliprects in very specific cases. | Michel Dänzer | 2007-02-20 | 1 | -7/+6 |
| | | | |||||
| | * | intelCopyBuffer: Remove incorrect intel_fb->pf_current_page tests. | Michel Dänzer | 2007-02-20 | 1 | -17/+4 |
| | | | | | | | | | | | | | | | | | | | | | intel_get_rb_region already takes the current page into account. This would result in broken rendering when multiple 3D windows are visible and the pages are reversed. | ||||
| | * | i915tex: Support page flipping on both CRTCs independently. | Michel Dänzer | 2007-02-20 | 10 | -117/+203 |
| | | | | | | | | | | | | | | | No longer track page flipping state per context but per window, via struct intel_framebuffer which wraps struct gl_framebuffer for windows. | ||||
| | * | i915tex: Make page flipping work again. | Michel Dänzer | 2007-02-20 | 7 | -46/+94 |
| | | | |||||
* | | | Implement gl_FrontFacing for fragment shaders. | Brian | 2007-03-10 | 4 | -27/+44 |
| | | | | | | | | | | | | | | | | | | For the time being, we put the gl_FrontFacing value in the FOGC.Y input register. Combining FOGC and FrontFacing in one register is a bit of a hack and may need to be changed someday. |