summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2009-08-26Merge branch 'mesa_7_5_branch'Brian Paul
2009-08-26i965: init the tex_units_used fieldBrian Paul
2009-08-26i965: fix incorrect tex unit in emit_tex() and emit_txb()Brian Paul
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 Paul
2009-08-26glsl: asst. clean-ups in set_program_uniform()Brian Paul
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 Paul
2009-08-26i965: added texture unit sanity checkBrian Paul
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 Paul
We'll use this for debug/sanity checking.
2009-08-26i965: clean up texture target switchesBrian Paul
2009-08-26mesa: var renaming, new assertionBrian Paul
2009-08-26mesa: additional instruction field size assertionsBrian Paul
2009-08-26Merge branch 'mesa_7_5_branch'Brian Paul
2009-08-26glsl: fix bug in sampler array indexingBrian Paul
Need to add the 'offset' parameter when indexing the parameter array. Before, if we were setting arrays of samplers, we were actually only setting the 0th sampler's value. Because of how progs/glsl/samplers.c is constructed, this wasn't showing up as a failure in the samplers_array output.
2009-08-26r600: fix two sided stencilAlex Deucher
2009-08-26r600: add missing radeon_cs_space_set_flush callAlex Deucher
fixes crash in etracer reported by kdekorte on IRC
2009-08-26r600: make reloc_chunk size dynamicAlex Deucher
2009-08-26r600: fix memory leakAlex Deucher
2009-08-26r300: r4xx and rs4xx also have lte discard regsAlex Deucher
2009-08-26r600: Update vertex fetch shader if necessaryCooper Yuan
2009-08-26radeon/r100/r200: actually init the OQ support properlyDave Airlie
2009-08-26radeon/r200: OQ support for r200 in theory.Dave Airlie
this is an untested port of the r100 OQ code
2009-08-26radeon: add r100 OQ support with kms.Dave Airlie
This adds OQ support for the r100 chipsets, it requires KMS unless someone wants to make a kernel patch to add support for OQ regs.
2009-08-25mesa: validate shader before drawing (for debugging, disabled)Brian Paul
2009-08-25glsl: update a texture/sampler commentBrian Paul
2009-08-25glsl: implement shader sampler validationBrian Paul
Shader validation should fail if there are two samplers of different types which reference the same texture unit. For example, if a cubemap sampler and a 2D sampler both reference texture unit 0, that's invalid.
2009-08-25mesa: use gl_texture_index type for gl_program::SamplerTargetsBrian Paul
2009-08-25i965: add some texture unit/target assertionsBrian Paul
2009-08-25mesa: print some program fields in binary tooBrian Paul
2009-08-26r200: Add scissor to state atom list.Pauli Nieminen
Scissors are jsut one of states that we have to emit so it should be in state list
2009-08-25radeon/r600: Fix remaining warnings when building 64 bit binary.Pauli Nieminen
2009-08-25r200: Addd missing parameter to debug output.Pauli Nieminen
2009-08-25r200: Fix commit size prediction.Pauli Nieminen
Scissor are emited for every primitive so fix that in prediction.
2009-08-25radeon: Fix all compiler warnings.Pauli Nieminen
2009-08-25mesa: remove -I$(TOP)/src/gallium/drivers from sources.makBrian Paul
Core Mesa and the state tracker do not depend on any gallium drivers.
2009-08-25Revert "glapi: Fix a possible race in getting current context/dispatch."Brian Paul
This reverts commit 17090cf3efb0db8fa01b502a9c0df27cbd1a67da. We're reverting this because it causes ABI breakage with the X server. Maybe re-attempt with another patch.
2009-08-25Revert "glx: Make drawables persistent untill they are changed by ↵Pauli Nieminen
glXMakeCurrent" This commit was not mean to end in to master yet. It is still queston if this right design to fix the problem. This reverts commit 45e3be3c07f543f3f2869ba7750ba4695cd25122.
2009-08-25Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into ↵Pauli Nieminen
r600_state_predict
2009-08-25r300: fix condition logicMaciej Cencora
The s3tc extensions are properly enabled now, when force_s3tc_enable option is set in driconf.
2009-08-25r300: set proper CS section sizeMaciej Cencora
2009-08-25radeon/r200/r300/r600: Warn if we emit more than prediction was.Pauli Nieminen
Prediction code making too small prediction may cause space check aserttion failure later in rendering. So warning about any failure to predict correctly should be fixed.
2009-08-24r300: add support for getting Z pipe info from drmAlex Deucher
Needed for occulsion queries on rv530 chips Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-08-24r600: code cleanupAlex Deucher
2009-08-25radeon: fix fbo size calculation to after pitchDave Airlie
2009-08-24ARB prog: Set error instead of falling through with incorrect valueBrian Paul
If a fragment program only parameter was queried of a vertex program (e.g., GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB) no error would be set and a random value would be returned. This caused 'glxinfo -l' to show the same values for GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB, GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB as for GL_MAX_PROGRAM_ENV_PARAMETERS_ARB. This is confusing and incorrect. (cherry picked from master, commit 4bccd693a72a0b42dffc849034263a68e779ca91)
2009-08-24ARB prog: Set error instead of falling through with incorrect valueIan Romanick
If a fragment program only parameter was queried of a vertex program (e.g., GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB) no error would be set and a random value would be returned. This caused 'glxinfo -l' to show the same values for GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB, GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB as for GL_MAX_PROGRAM_ENV_PARAMETERS_ARB. This is confusing and incorrect.
2009-08-24vbo: fix divide by zero exceptionBrian Paul
Fixes bug 23489.
2009-08-24glsl: Silence gcc uninitialized variable warning.Vinson Lee
2009-08-24st/mesa: flush bitmap cache if Z value changesBrian Paul
When adding a new bitmap to the cache we have to check if the Z value is changing and flush first if it is. This is a modified version of a patch from Justin Dou <justin.dou@intel.com>
2009-08-24ARB prog parser: Regenerate parser from previous commitIan Romanick
2009-08-24ARB prog parser: use correct context limitsBrian Paul