Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-01-05 | ARB prog parser: add allowSwizzle param to initialize_symbol_from_const() | Brian Paul | |
We need to disable constant consolidation when building an array of constants which might be indexed indirectly. Fixes regression in piglit vpfp-generic vp-arl-constant-array.vpfp test caused by earlier constant consolidation patch. | |||
2010-01-05 | mesa: whitespace changes and comments | Brian Paul | |
2010-01-05 | mesa: change constant search behaviour in _mesa_add_unnamed_constant() | Brian Paul | |
Only search for an existing, matching constant if swizzleOut is non-null. We need to be able to disable constant consolidation when building an array of constants which will be indexed indirectly. | |||
2010-01-04 | Merge branch 'mesa_7_7_branch' | Brian Paul | |
Conflicts: docs/relnotes.html src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/r300/r300_cs.h src/mesa/drivers/dri/i965/brw_wm_surface_state.c src/mesa/main/enums.c | |||
2010-01-04 | glsl: use varName variable in _slang_gen_assignment() | Brian Paul | |
2010-01-01 | ARB prog parser: Silence unused variable warnings. | Vinson Lee | |
2009-12-31 | Merge branch 'mesa_7_7_branch' | Brian Paul | |
Conflicts: configs/darwin src/gallium/auxiliary/util/u_clear.h src/gallium/state_trackers/xorg/xorg_exa_tgsi.c src/mesa/drivers/dri/i965/brw_draw_upload.c | |||
2009-12-29 | glsl: added uniform initializer check | Brian Paul | |
GLSL 1.10 disallows initializers for uniforms but GLSL 1.20 and later allows them. This patch uses the #version directive to allow/disallow uniform initializers. This addresses bug 25807, but piglit also needs to be fixed to specify the GLSL version in the shader. | |||
2009-12-29 | ARB prog parser: use _mesa_add_unnamed_constant() to use fewer constant slots | Brian Paul | |
This function will search the constant parameters in an effort to re-use constant slots. For example, {1,2,3,4} and {4,1,1,2} can be stored in one constant slot and accessed with different swizzles. The swizzle info must be propogated though the parsing code in a few places. Fixes Piglit "vpfp-generic tests/shaders/generic/big-param.vpfp" failure. | |||
2009-12-28 | mesa: remove gratuitous stores I added in remove_instructions. | Eric Anholt | |
2009-12-27 | Merge branch 'mesa_7_6_branch' into mesa_7_7_branch | Brian Paul | |
Conflicts: src/gallium/auxiliary/util/u_network.c src/gallium/auxiliary/util/u_network.h src/gallium/drivers/i915/i915_state.c src/gallium/drivers/trace/tr_rbug.c src/gallium/state_trackers/vega/bezier.c src/gallium/state_trackers/vega/vg_context.c src/gallium/state_trackers/xorg/xorg_crtc.c src/gallium/state_trackers/xorg/xorg_driver.c src/gallium/winsys/xlib/xlib_brw_context.c src/mesa/main/mtypes.h | |||
2009-12-27 | Merge branch 'mesa_7_7_branch' | Brian Paul | |
2009-12-23 | glsl: Initialize member a_obj of struct slang_operation. | Vinson Lee | |
2009-12-22 | mesa: Fix a NULL deref in glDeleteFragmentShaderATI(badname); | Eric Anholt | |
Fixes piglit ati-fs-bad-delete. Caught by clang. | |||
2009-12-22 | mesa: adjust OPCODE_IF/ELSE BranchTarget fields to point to ELSE/ENDIF instr. | Brian Paul | |
This is a little more logical. Suggested in bug report 25654. | |||
2009-12-22 | mesa: adjust BRK/CONT BranchTarget to always point to ENDLOOP instruction | Brian Paul | |
To be more consistant. | |||
2009-12-22 | mesa: added some assertions in BNGLOOP/ENDLOOP cases | Brian Paul | |
2009-12-22 | mesa: fix binary() function, printf format string | Brian Paul | |
Need to use the constant 1ULL and 0xllx format string. This fixes incorrect results and a NULL pointer/parameter bug. | |||
2009-12-21 | glsl: assorted clean-ups in slang_compile.c | Brian Paul | |
2009-12-21 | mesa: Include <unistd.h> only when one is available. | Michal Krol | |
(cherry picked from commit 970823978c2f7d2cf0757aa6ddbd6289b34c476f) | |||
2009-12-21 | Merge branch 'mesa_7_7_branch' | Brian Paul | |
Conflicts: src/mesa/main/version.h src/mesa/state_tracker/st_atom_shader.c | |||
2009-12-21 | Merge branch 'mesa_7_6_branch' into mesa_7_7_branch | Brian Paul | |
Conflicts: configure.ac progs/demos/morph3d.c progs/demos/textures.c progs/glsl/shtest.c progs/glsl/texaaline.c progs/tests/packedpixels.c progs/xdemos/corender.c src/mesa/main/version.h | |||
2009-12-20 | slang: Update after glsl cl interface changes. | Michal Krol | |
2009-12-20 | slang: Add gitignore for autogenerated files. | Michal Krol | |
2009-12-20 | slang: Update after glsl pp changes. | Michal Krol | |
2009-12-18 | glsl: clear out shader code before compiling | Brian Paul | |
When we start compiling a shader, first free the existing gl_program. This (mostly) fixes the piglit glsl-reload-source test. Without this change, we were actually appending the new GPU code onto the previous program. | |||
2009-12-16 | mesa: remove //-style comments | Brian Paul | |
2009-12-12 | glsl: Initialize member label of struct slang_operation to NULL. | Vinson Lee | |
2009-12-12 | Remove grammar module -- no dependencies left. | Michal Krol | |
2009-12-12 | slang: Delete a file that is now autogenerated. | Michal Krol | |
This file has been modified in master and removed in feature branch. This gave a merge conflict I couldn't resolve by removing and git adding it to index. | |||
2009-12-12 | Merge branch 'master' into glsl-pp-rework-2 | Michal Krol | |
Conflicts: progs/perf/drawoverhead.c progs/perf/teximage.c progs/perf/vbo.c progs/perf/vertexrate.c src/mesa/shader/slang/library/slang_common_builtin_gc.h | |||
2009-12-11 | Merge branch 'mesa_7_7_branch' | Brian Paul | |
Conflicts: src/gallium/state_trackers/xorg/xorg_xv.c src/mesa/drivers/dri/intel/intel_span.c | |||
2009-12-11 | Merge branch 'mesa_7_6_branch' into mesa_7_7_branch | Brian Paul | |
2009-12-11 | mesa: remove unnecessary loop in _mesa_remove_output_reads() | Brian Paul | |
2009-12-11 | Merge branch 'mesa_7_6_branch' into mesa_7_7_branch | Brian Paul | |
2009-12-11 | mesa: check dst reg in _mesa_find_free_register() | Brian Paul | |
If a register was only being used as a destination (as will happen when generated condition-codes) we missed its use. So we'd errantly return a register index that was really in-use, not free. Fixes bug 25579. | |||
2009-12-10 | mesa: Initialize variable in MatchInstruction. | Vinson Lee | |
2009-12-10 | mesa: Assign _mesa_lookup_parameter_index return value to GLint. | Vinson Lee | |
2009-12-10 | glsl: Increase size of array in_slang_lookup_constant from 4 to 16. | Vinson Lee | |
For some cases, _mesa_GetIntegerv reads up to params[15]. | |||
2009-12-10 | glsl: Fix array out-of-bounds access by _slang_lookup_constant. | Vinson Lee | |
2009-12-10 | scons: Get GLSL code building correctly when cross compiling. | José Fonseca | |
This is quite messy. GLSL code has to be built twice: one for the host OS, another for the target OS. | |||
2009-12-10 | slang: Predefine ES symbols for FEATURE_es2_glsl. | Michal Krol | |
2009-12-10 | slang: Explicitly enable ARB_draw_buffers and ARB_texture_rectangle. | Michal Krol | |
They are no longer built into the glsl preprocessor. | |||
2009-12-10 | Build mesa glsl with make. | michal | |
Still don't know how to add glsl to mesa dependencies. | |||
2009-12-09 | glsl: Remove unused member x from struct slang_operation. | Vinson Lee | |
2009-12-07 | mesa: fix shader prog_execute strict aliasing violations | Roland Scheidegger | |
use unions instead of pointer casts. | |||
2009-11-25 | slang/library: Don't need the *_gc.h files, they are autogenerated now. | Michal Krol | |
2009-11-25 | scons: Autogenerate GLSL builtin library *_gc.h from *.gc files. | Michal Krol | |
2009-11-24 | slang: Fix allocation size. | Michal Krol | |
We don't need 16K+ to store a single pointer. | |||
2009-11-23 | Merge commit 'origin/mesa_7_7_branch' | Maciej Cencora | |