summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-09-04Merge branch 'master' into glsl-pp-rework-1glsl-pp-rework-1Michal Krol1151-56263/+135603
2009-09-04glsl: Handle file tokens in apps/process.Michal Krol1-0/+4
2009-09-04glsl: Handle file numbering.Michal Krol5-3/+25
2009-09-04glsl: Actually respect the hash-line directive.Michal Krol1-0/+2
2009-09-04glsl: Handle line tokens in apps/process.Michal Krol1-0/+4
2009-09-04glsl: Correctly handle line numbering.Michal Krol8-7/+81
2009-09-04glsl: Preserve newline inside comment blocks.Michal Krol1-31/+58
2009-09-04glsl: Implement predefinded macros.Michal Krol1-0/+41
The values are hardcoded: __LINE__ = 1, __FILE__ = 0 and __VERSION__ = 110.
2009-09-04glsl: Implement `line' preprocessor directive.Michal Krol4-1/+108
2009-09-04glsl: Output endof token after processing a directive.Michal Krol1-6/+7
Some directives may output tokens as a result of their operation.
2009-09-04glsl: Handle extension tokens in apps/proces.Michal Krol1-0/+16
2009-09-04glsl: Implement `extension' preprocessor directive.Michal Krol5-0/+147
No extensions supported.
2009-09-04glsl: Handle pragma tokens in apps/process.Michal Krol1-0/+8
2009-09-04glsl: Implement `pragma' preprocessor directive.Michal Krol5-0/+122
Handle `optimize(on|off)' and `debug(on|off)' pragmas.
2009-09-04tgsi: Document differencies between vs_1_1 and vs_2_0 for EXPP and LOGP.Michal Krol1-2/+12
2009-09-04glsl: Print out error message in apps/process.Michal Krol1-7/+10
2009-09-04glsl: Implement `error' preprocessor directive.Michal Krol6-0/+278
2009-08-27radeon: fix scissor calcs.Dave Airlie1-15/+20
For non-FBOs we need to invert, for FBOs the scissors are non-inverted. no matter what we need to clamp them to the buffer sizes.
2009-08-26i965: Increase assmebly shader program parameter limitsIan Romanick1-2/+2
Increase the number of native program parameters to the same values exposed by GLSL.
2009-08-26ARB prog: Change handling of program parameter limitsIan Romanick4-28/+80
Several changes are made to program parameter limits. Several of the non-NATIVE limits are set higher. All of the NATIVE limits are set to zero in the core Mesa code. Each driver must set the actual value in its context creation routine. If the NATIVE value remains zero, this indicates that hardware shaders may not be supported. Each of the preceeding changes matches the bahavior of Apple's shader assembler, so it seems safe. Finally, we limit the value of MaxEnvParams to be no greater than MaxNativeAttribs. At least one case has been found where an application does the wrong thing if MaxNativeAttribs < MaxEnvParams. See also bugzilla #23490.
2009-08-27radeon: fix max indx/vertex emission due to state checkerDave Airlie2-2/+4
2009-08-26mesa: gitignoreYounes Manton2-0/+2
2009-08-26nv04: Handle more Z formats.Younes Manton1-0/+4
Based on the patch from Luo Jinghua.
2009-08-27r300/compiler: Fix vertex program MAD emitNicolai Hähnle1-6/+46
Only use the macro variant of MAD when absolutely necessary. Apparently it cannot deal with relative addressing. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-08-27r300/compiler: Fix bug in rc_find_free_temporaryNicolai Hähnle1-2/+8
Find used temporaries even if they are only written to in dead code. This fixes a bug in the NQSSADCE stage. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-08-26egl: Remove Xdpy from EGLDisplay.Chia-I Wu2-11/+0
It is not used anymore. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-26egl_glx: Make fbconfigs and visuals per display.Chia-I Wu1-114/+135
This is to allow a driver to drive multiple displays. Remove the use of _EGL_PLATFORM_X and obsolete code along the way. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-26egl_softpipe: Make winsys and pipe screen per display.Chia-I Wu2-27/+77
This is to allow a driver to drive multiple displays. Remove the use of _EGL_PLATFORM_X along the way. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-26EGL_i915: Make struct drm_device per display.Chia-I Wu4-43/+55
This is to allow a driver to drive multiple displays. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-27Merge branch 'fix_r300_swtcl' into push_masterPauli Nieminen6-26/+84
2009-08-27radeon: Fix loop en condition so debug output doesn't flood meaningless values.Pauli Nieminen1-1/+1
2009-08-27radeon: Make RADEON_CMDBUF more fine grained.Pauli Nieminen1-2/+8
2009-08-27radeon/r200/r300: Fix swtcl flushing not to invalidate dma region.Pauli Nieminen5-23/+75
We were check command buffer sizes too alte so allocated dma regions were freed before relocations so space checking failed.
2009-08-26Merge branch 'mesa_7_5_branch'Brian Paul2-4/+16
2009-08-26i965: init the tex_units_used fieldBrian Paul1-0/+1
2009-08-26i965: fix incorrect tex unit in emit_tex() and emit_txb()Brian Paul1-2/+4
The instructions we're translating already went through the brw_wm_pass_fp() function which does the sampler->texture unit mapping. We were applying the sample->unit mapping a second time in the GLSL texture emitters. Often, this made no difference but other times it could lead to accessing an invalid texture and could cause a GPU lockup.
2009-08-26i965: clean-up tex target switchesBrian Paul1-2/+10
2009-08-26glsl: asst. clean-ups in set_program_uniform()Brian Paul1-14/+7
Remove redunant type check for samplers (assert instead). Move some local vars. Update comments.
2009-08-26glsl: signal that the program needs to be re-translated when samplers changeBrian Paul1-4/+15
2009-08-26progs/glsl: asst. changes in shtest.cBrian Paul1-3/+16
2009-08-26i965: added texture unit sanity checkBrian Paul1-0/+13
Check that all the textures needed by the current fragment program actually exist and are valid.
2009-08-26i965: keep track of which texture units the fragment shader accessesBrian Paul2-3/+18
We'll use this for debug/sanity checking.
2009-08-26docs: document sampler array bug fixBrian Paul1-0/+1
2009-08-26i965: clean up texture target switchesBrian Paul1-2/+10
2009-08-26mesa: var renaming, new assertionBrian Paul1-4/+5
2009-08-26mesa: additional instruction field size assertionsBrian Paul1-0/+6
2009-08-26Merge branch 'mesa_7_5_branch'Brian Paul4-7/+24
2009-08-26progs/glsl: handle window resizes in texaaline.cBrian Paul1-8/+12
2009-08-26progs/glsl: add special Makefile rule for samplers_arrayBrian Paul1-1/+3
2009-08-26progs/glsl: change samplers.c to better test sampler/texture indexingBrian Paul1-4/+12
Now the left half is yellow and the right half is red, with the gradients going in opposite directions.