Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge commit 'origin/master' into gallium-0.2 | Brian Paul | 2008-11-24 | 5 | -21/+34 |
|\ | | | | | | | | | | | Conflicts: progs/glsl/Makefile | ||||
| * | mesa: add gl_program::Input/OutputFlags[] array | Brian Paul | 2008-11-24 | 4 | -20/+33 |
| | | | | | | | | | | These arrays will indicate per-input or per-output options for vertex/fragment programs such as centroid-sampling and invariance. | ||||
| * | windows: replace free() with _mesa_unreference_framebuffer() | Brian Paul | 2008-11-24 | 1 | -1/+1 |
| | | | | | | | | Fixes invalid memory reference bug when exiting. | ||||
| * | mesa: copy centroid/invariance/precision info in parse_init_declarator() | Brian Paul | 2008-11-24 | 1 | -1/+4 |
| | | |||||
| * | mesa: check that varying variable qualifiers agree | Brian Paul | 2008-11-24 | 1 | -3/+28 |
| | | |||||
| * | mesa: copy precision/variant/centroid info in slang_fully_specified_type_copy() | Brian Paul | 2008-11-24 | 1 | -0/+3 |
| | | |||||
| * | mesa: set flags for varying vars | Brian Paul | 2008-11-24 | 1 | -4/+13 |
| | | |||||
| * | mesa: rename program parameter flags to match other Mesa conventions | Brian Paul | 2008-11-24 | 2 | -8/+8 |
| | | |||||
| * | mesa: copy Flags in _mesa_clone_parameter_list() | Brian Paul | 2008-11-24 | 1 | -0/+1 |
| | | |||||
| * | mesa: dump/debug varying vars list | Brian Paul | 2008-11-24 | 1 | -0/+5 |
| | | |||||
| * | mesa: added PROG_PARAM_ bits for invariant, flat/linear interpolation | Brian Paul | 2008-11-24 | 2 | -2/+14 |
| | | | | | | | | Plus, update the print/debug code. | ||||
| * | mesa: add Flags field to gl_program_parameter | Brian Paul | 2008-11-24 | 4 | -24/+38 |
| | | | | | | | | Only one flag defined so far: PROG_PARAM_CENTROID_BIT | ||||
| * | mesa: issue error, don't crash, when calling a prototyped, but undefined ↵ | Brian Paul | 2008-11-21 | 1 | -0/+7 |
| | | | | | | | | | | | | function Bug #18659. | ||||
| * | mesa: better variable name: s/aux/store/ | Brian Paul | 2008-11-21 | 5 | -12/+15 |
| | | |||||
| * | i965: Add support for accelerated CopyTexSubImage. | Eric Anholt | 2008-11-21 | 3 | -68/+41 |
| | | | | | | | | | | | | | | | | | | | | | | There were hacks in EmitCopyBlit before to adjust offsets so that y=0 after the offsets had been adjusted for a negative pitch. It appears that those hacks were due to an unclear and surprising aspect of the hardware: inverting the pitch results in the blit into the specified rectangle being inverted, without the user needing to adjust y and base offset. Tested with piglit copytexsubimage test on 915GM and GM965. Should fix serious performance issues with ETQW and other applications. | ||||
| * | intel: Don't glBitmap fallback with scissoring enabled. | Eric Anholt | 2008-11-21 | 1 | -6/+0 |
| | | | | | | | | | | The blit bitmap code already handles scissoring. This is a 15-100% speedup on blender benchmark.blend thanks to avoiding fallbacks. Bug #17951. | ||||
| * | i915: Don't overwrite i915's Viewport function from generic code. | Eric Anholt | 2008-11-21 | 4 | -3/+12 |
| | | | | | | | | Instead, have i965 and i915 both call the generic function from their Viewport. | ||||
* | | mesa: copy centroid/invariance/precision info in parse_init_declarator() | Brian Paul | 2008-11-24 | 1 | -1/+4 |
| | | |||||
* | | mesa: check that varying variable qualifiers agree | Brian Paul | 2008-11-24 | 1 | -3/+28 |
| | | |||||
* | | mesa: copy precision/variant/centroid info in slang_fully_specified_type_copy() | Brian Paul | 2008-11-24 | 1 | -0/+3 |
| | | |||||
* | | mesa: set flags for varying vars | Brian Paul | 2008-11-24 | 1 | -4/+13 |
| | | |||||
* | | mesa: rename program parameter flags to match other Mesa conventions | Brian Paul | 2008-11-24 | 2 | -8/+8 |
| | | |||||
* | | mesa: copy Flags in _mesa_clone_parameter_list() | Brian Paul | 2008-11-24 | 1 | -0/+1 |
| | | |||||
* | | mesa: dump/debug varying vars list | Brian Paul | 2008-11-24 | 1 | -0/+5 |
| | | |||||
* | | mesa: added PROG_PARAM_ bits for invariant, flat/linear interpolation | Brian Paul | 2008-11-24 | 2 | -2/+14 |
| | | | | | | | | Plus, update the print/debug code. | ||||
* | | mesa: add Flags field to gl_program_parameter | Brian Paul | 2008-11-24 | 4 | -24/+38 |
| | | | | | | | | Only one flag defined so far: PROG_PARAM_CENTROID_BIT | ||||
* | | mesa: issue error, don't crash, when calling a prototyped, but undefined ↵ | Brian Paul | 2008-11-24 | 1 | -0/+7 |
| | | | | | | | | | | | | function Bug #18659. | ||||
* | | mesa: better variable name: s/aux/store/ | Brian Paul | 2008-11-24 | 5 | -12/+15 |
| | | |||||
* | | i965: Add support for accelerated CopyTexSubImage. | Eric Anholt | 2008-11-24 | 3 | -68/+41 |
| | | | | | | | | | | | | | | | | | | | | | | There were hacks in EmitCopyBlit before to adjust offsets so that y=0 after the offsets had been adjusted for a negative pitch. It appears that those hacks were due to an unclear and surprising aspect of the hardware: inverting the pitch results in the blit into the specified rectangle being inverted, without the user needing to adjust y and base offset. Tested with piglit copytexsubimage test on 915GM and GM965. Should fix serious performance issues with ETQW and other applications. | ||||
* | | intel: Don't glBitmap fallback with scissoring enabled. | Eric Anholt | 2008-11-24 | 1 | -6/+0 |
| | | | | | | | | | | The blit bitmap code already handles scissoring. This is a 15-100% speedup on blender benchmark.blend thanks to avoiding fallbacks. Bug #17951. | ||||
* | | i915: Don't overwrite i915's Viewport function from generic code. | Eric Anholt | 2008-11-24 | 4 | -3/+12 |
| | | | | | | | | Instead, have i965 and i915 both call the generic function from their Viewport. | ||||
* | | mesa: Bring in new mesa sub-statetracker. | José Fonseca | 2008-11-21 | 26 | -0/+4453 |
| | | | | | | | | Some code cleanup is still in order. | ||||
* | | Merge commit 'origin/master' into gallium-0.2 | Alan Hourihane | 2008-11-20 | 13 | -355/+687 |
|\| | |||||
| * | mesa: fix shadow sampling unit issue. | Xiang, Haihao | 2008-11-20 | 1 | -1/+6 |
| | | | | | | | | | | texture comparison logic is bypassed if the currently bound texture is not a depth/depth_stencil texture. | ||||
| * | intel: fix i830 comment + backwards VB offsets. | airlied | 2008-11-20 | 2 | -3/+3 |
| | | | | | | | | According to Keith the docs have these offsets the other way around | ||||
| * | intel: fix i8xx vbo enable bit | airlied | 2008-11-20 | 1 | -1/+1 |
| | | |||||
| * | intel: add lots of i830 engine to intel_decode debug | airlied | 2008-11-20 | 1 | -20/+110 |
| | | |||||
| * | mesa: minor comment reformattting | Brian Paul | 2008-11-19 | 1 | -16/+13 |
| | | |||||
| * | mesa: glsl compiler debug code | Brian Paul | 2008-11-19 | 1 | -141/+151 |
| | | | | | | | | RETURN0 macro reports file/line before returning zero. | ||||
| * | mesa: rework GLSL array code generation | Brian Paul | 2008-11-19 | 5 | -160/+371 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now express arrays in terms of indirect addressing. For example: dst = a[i]; becomes: MOV dst, TEMP[1 + TEMP[2].y]; At instruction-emit time indirect addressing is converted into ARL/ ADDR-relative form: ARL ADDR.x, TEMP[2].y; MOV dst, TEMP[1 + ADDR.x]; This fixes a number of array-related issues. Arrays of arrays and complex array/struct nesting works now. There may be some regressions, but more work is coming. | ||||
| * | mesa: don't realloc instruction buffer so often | Brian Paul | 2008-11-19 | 1 | -13/+22 |
| | | |||||
| * | mesa: updated comment | Brian Paul | 2008-11-19 | 1 | -0/+2 |
| | | |||||
| * | mesa: clamp luminance if needed. | Xiang, Haihao | 2008-11-19 | 2 | -2/+10 |
| | | | | | | | | | | This fixes glReadPixels(GL_LUMINANCE, GL_FLOAT)/glGetTexImage(GL_LUMINANCE, GL_FLOAT) issue on fixed-point color buffers. | ||||
* | | add SRGB formats | Alan Hourihane | 2008-11-19 | 1 | -0/+26 |
| | | |||||
* | | Merge commit 'origin/master' into gallium-0.2 | Keith Whitwell | 2008-11-15 | 16 | -498/+647 |
|\| | | | | | | | | | | | Conflicts: src/mesa/shader/prog_print.c | ||||
| * | mesa: no longer need Writemask field in GLSL IR nodes | Brian Paul | 2008-11-13 | 4 | -69/+23 |
| | | | | | | | | The Swizzle and Size fields carry all the info we need now. | ||||
| * | mesa: revamp GLSL instruction emit code | Brian Paul | 2008-11-13 | 1 | -244/+381 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a step toward better array handling code. In particular, when more than one operand of an instruction uses indirect addressing, we'll need some temporary instructions and registers. By converting IR storage to instruction operands all in one place (emit_instruction()) we can be smarter about this. Also, somewhat better handling of dst register swizzle/writemask handling. This results in tighter writemasks on some instructions which is good for SOA execution. And, cleaner instruction commenting with inst_comment(). Next: remove some more dead code and additional clean-ups... | ||||
| * | mesa: make writemask_string() non-static | Brian Paul | 2008-11-13 | 2 | -4/+7 |
| | | |||||
| * | mesa: remove some do-nothing GLSL code | Brian Paul | 2008-11-13 | 1 | -16/+0 |
| | | |||||
| * | mesa: fix accidental regression in GLSL built-in texture matrix lookup | Brian Paul | 2008-11-13 | 1 | -0/+1 |
| | | | | | | | | Was broken by commit 9aca9a4b72b2a7b378e50bd88f9c3324d07375ec. |