Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-21 | glsl: assorted clean-ups in slang_compile.c | Brian Paul | |
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 | |
2009-11-23 | slang: Fix order of parameters to sl_pp_tokenise(). | Michal Krol | |
2009-11-23 | slang: Check return value from emit_instruction(). | Michal Krol | |
2009-11-23 | slang: Be more robust with memory in concat_shaders(). | Michal Krol | |
2009-11-21 | slang: No need to purify source text for tokeniser. | Michal Krol | |
2009-11-19 | mesa: Remove gratuitous padding in prog_dst_register. | Eric Anholt | |
The padding was there to indicate the amount of space left from the number of expected bytes in the struct minus allocated bits. But uint bitfields get packed so that they don't cross uint boundaries, and we ended up allocating an extra dword to hold the pad field! | |||
2009-11-20 | mesa: Fix NULL deref in optimizer when NumInstructions == 0. | Eric Anholt | |
Bug #24984. | |||
2009-11-17 | Merge branch 'outputswritten64' | Ian Romanick | |
Add a GLbitfield64 type and several macros to operate on 64-bit fields. The OutputsWritten field of gl_program is changed to use that type. This results in a fair amount of fallout in drivers that use programs. No changes are strictly necessary at this point as all bits used are below the 32-bit boundary. Fairly soon several bits will be added for clip distances written by a vertex shader. This will cause several bits used for varyings to be pushed above the 32-bit boundary. This will affect any drivers that support GLSL. At this point, only the i965 driver has been modified to support this eventuality. I did this as a "squash" merge. There were several places through the outputswritten64 branch where things were broken. I foresee this causing difficulties later for bisecting. The history is still available in the branch. Conflicts: src/mesa/drivers/dri/i965/brw_wm.h | |||
2009-11-17 | mesa: fix assorted compiler warnings | Brian Paul | |
2009-11-13 | mesa: Improve the eliminate-move-use to work across multiple instructions. | Eric Anholt | |
This shaves more instructions off of the VS of my GL demo, but no performance difference this time at n=6. This also fixes a regression that was in this path, which is now piglit's glsl-vs-mov-after-deref. | |||
2009-11-13 | slang: Report syntax parser errors. | Michal Krol | |
2009-11-13 | slang: Regenerate .gc files. | Michal Krol | |
2009-11-13 | slang: Get rid of the old syntax file and utilities. | Michal Krol | |
2009-11-13 | slang: Plug in the new syntax parser. | Michal Krol | |
2009-11-10 | Merge remote branch 'origin/mesa_7_6_branch' | Eric Anholt | |
2009-11-10 | slang: Fix return value check. | Michal Krol | |