Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: Fix a NULL deref in glDeleteFragmentShaderATI(badname); | Eric Anholt | 2009-12-22 | 1 | -3/+5 |
| | | | | Fixes piglit ati-fs-bad-delete. Caught by clang. | ||||
* | mesa: adjust OPCODE_IF/ELSE BranchTarget fields to point to ELSE/ENDIF instr. | Brian Paul | 2009-12-22 | 2 | -7/+25 |
| | | | | This is a little more logical. Suggested in bug report 25654. | ||||
* | mesa: adjust BRK/CONT BranchTarget to always point to ENDLOOP instruction | Brian Paul | 2009-12-22 | 2 | -6/+20 |
| | | | | To be more consistant. | ||||
* | mesa: added some assertions in BNGLOOP/ENDLOOP cases | Brian Paul | 2009-12-22 | 1 | -0/+4 |
| | |||||
* | glsl: assorted clean-ups in slang_compile.c | Brian Paul | 2009-12-21 | 1 | -36/+9 |
| | |||||
* | Merge branch 'mesa_7_7_branch' | Brian Paul | 2009-12-21 | 2 | -11/+14 |
|\ | | | | | | | | | | | Conflicts: src/mesa/main/version.h src/mesa/state_tracker/st_atom_shader.c | ||||
| * | Merge branch 'mesa_7_6_branch' into mesa_7_7_branch | Brian Paul | 2009-12-21 | 1 | -11/+13 |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| | * | glsl: clear out shader code before compiling | Brian Paul | 2009-12-18 | 1 | -11/+13 |
| | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| | * | mesa: remove //-style comments | Brian Paul | 2009-12-16 | 1 | -1/+1 |
| | | | |||||
| * | | Merge branch 'mesa_7_6_branch' into mesa_7_7_branch | Ian Romanick | 2009-12-15 | 1 | -0/+1 |
| |\| | | | | | | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_quad_blend.c | ||||
| | * | glsl: Initialize member label of struct slang_operation to NULL. | Vinson Lee | 2009-12-12 | 1 | -0/+1 |
| | | | |||||
* | | | slang: Update after glsl cl interface changes. | Michal Krol | 2009-12-20 | 1 | -77/+0 |
| | | | |||||
* | | | slang: Add gitignore for autogenerated files. | Michal Krol | 2009-12-20 | 1 | -0/+1 |
| | | | |||||
* | | | slang: Update after glsl pp changes. | Michal Krol | 2009-12-20 | 1 | -22/+11 |
| | | | |||||
* | | | Remove grammar module -- no dependencies left. | Michal Krol | 2009-12-12 | 11 | -4319/+2 |
| | | | |||||
* | | | slang: Delete a file that is now autogenerated. | Michal Krol | 2009-12-12 | 1 | -880/+0 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | Merge branch 'master' into glsl-pp-rework-2 | Michal Krol | 2009-12-12 | 37 | -2407/+5019 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | | | Merge branch 'mesa_7_7_branch' | Brian Paul | 2009-12-11 | 6 | -19/+29 |
| |\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/state_trackers/xorg/xorg_xv.c src/mesa/drivers/dri/intel/intel_span.c | ||||
| | * | | Merge branch 'mesa_7_6_branch' into mesa_7_7_branch | Brian Paul | 2009-12-11 | 1 | -9/+5 |
| | |\| | |||||
| | | * | mesa: remove unnecessary loop in _mesa_remove_output_reads() | Brian Paul | 2009-12-11 | 1 | -9/+5 |
| | | | | |||||
| | * | | Merge branch 'mesa_7_6_branch' into mesa_7_7_branch | Brian Paul | 2009-12-11 | 5 | -10/+24 |
| | |\| | |||||
| | | * | mesa: check dst reg in _mesa_find_free_register() | Brian Paul | 2009-12-11 | 1 | -3/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| | | * | mesa: Initialize variable in MatchInstruction. | Vinson Lee | 2009-12-10 | 1 | -1/+7 |
| | | | | |||||
| | | * | mesa: Assign _mesa_lookup_parameter_index return value to GLint. | Vinson Lee | 2009-12-10 | 1 | -1/+1 |
| | | | | |||||
| | | * | glsl: Increase size of array in_slang_lookup_constant from 4 to 16. | Vinson Lee | 2009-12-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | For some cases, _mesa_GetIntegerv reads up to params[15]. | ||||
| | | * | glsl: Fix array out-of-bounds access by _slang_lookup_constant. | Vinson Lee | 2009-12-10 | 1 | -4/+5 |
| | | | | |||||
| | | * | glsl: Remove unused member x from struct slang_operation. | Vinson Lee | 2009-12-09 | 1 | -1/+0 |
| | | | | |||||
| * | | | mesa: fix shader prog_execute strict aliasing violations | Roland Scheidegger | 2009-12-07 | 1 | -18/+32 |
| | | | | | | | | | | | | | | | | use unions instead of pointer casts. | ||||
| * | | | slang: Fix allocation size. | Michal Krol | 2009-11-24 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | We don't need 16K+ to store a single pointer. | ||||
| * | | | Merge commit 'origin/mesa_7_7_branch' | Maciej Cencora | 2009-11-23 | 1 | -1/+1 |
| |\| | | |||||
| | * | | mesa: Fix NULL deref in optimizer when NumInstructions == 0. | Eric Anholt | 2009-11-20 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Bug #24984. | ||||
| * | | | slang: Check return value from emit_instruction(). | Michal Krol | 2009-11-23 | 1 | -6/+67 |
| | | | | |||||
| * | | | slang: Be more robust with memory in concat_shaders(). | Michal Krol | 2009-11-23 | 1 | -3/+19 |
| | | | | |||||
| * | | | mesa: Remove gratuitous padding in prog_dst_register. | Eric Anholt | 2009-11-19 | 1 | -1/+0 |
| |/ / | | | | | | | | | | | | | | | | | | | 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! | ||||
| * | | Merge branch 'outputswritten64' | Ian Romanick | 2009-11-17 | 5 | -19/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | | mesa: fix assorted compiler warnings | Brian Paul | 2009-11-17 | 2 | -2/+2 |
| | | | |||||
| * | | mesa: Improve the eliminate-move-use to work across multiple instructions. | Eric Anholt | 2009-11-13 | 1 | -41/+85 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | Merge remote branch 'origin/mesa_7_6_branch' | Eric Anholt | 2009-11-10 | 2 | -7/+66 |
| |\| | |||||
| | * | prog parse: Handle GL_VERTEX_PROGRAM_ARB in glLoadProgramNV | Ian Romanick | 2009-11-07 | 1 | -1/+13 |
| | | | |||||
| | * | prog parse: Handle GL_VERTEX_PROGRAM_NV in glProgramStringARB | Ian Romanick | 2009-11-07 | 1 | -1/+23 |
| | | | | | | | | | | | | | | | Handle both NV vertex programs and NV vertex state programs passed to glProgramStringARB. | ||||
| | * | prog parse: Handle GL_FRAGMENT_PROGRAM_ARB in glLoadProgramNV | Ian Romanick | 2009-11-07 | 1 | -0/+15 |
| | | | |||||
| | * | prog parse: Handle GL_FRAGMENT_PROGRAM_NV in glProgramStringARB | Ian Romanick | 2009-11-07 | 1 | -5/+15 |
| | | | |||||
| * | | slang: Fix return value check. | Michal Krol | 2009-11-10 | 1 | -1/+1 |
| | | | |||||
| * | | slang: Check OOM conditions for alloc_node_storage(). | Michal Krol | 2009-11-10 | 1 | -4/+15 |
| | | | |||||
| * | | slang: Check return value from new_instruction(). | Michal Krol | 2009-11-10 | 1 | -1/+3 |
| | | | |||||
| * | | slang: Fix signed/unsigned int handling in _slang_free_temp(). | Michal Krol | 2009-11-10 | 1 | -2/+2 |
| | | | |||||
| * | | slang: Handle OOM condition in new_instruction(). | Michal Krol | 2009-11-10 | 1 | -20/+81 |
| | | | |||||
| * | | mesa: move code after decl | brian | 2009-11-07 | 1 | -1/+2 |
| | | | | | | | | | | | | Fixes bug 24967. | ||||
| * | | mesa: Reduce the source channels considered in optimization passes. | Eric Anholt | 2009-11-06 | 1 | -1/+40 |
| | | | | | | | | | | | | | | | | | | | | | Depending on the writemask or the opcode, we can often trim the source channels considered used for dead code elimination. This saves actual instructions on 965 in the non-GLSL path for glean glsl1, and cleans up the writemasks of programs even further. | ||||
| * | | mesa: Fix remove_instructions to successfully remove when removeFlags[0]. | Eric Anholt | 2009-11-06 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | This fixes the dead code elimination to work on the particular code mentioned in the previous commit. |