summaryrefslogtreecommitdiff
path: root/src/mesa/shader/prog_print.c
AgeCommit message (Collapse)Author
2010-02-25mesa: added cases for texture array targetsBrian Paul
2010-02-19mesa: Silence compiler format warning.Vinson Lee
2010-02-19mesa: restore _mesa_snprintf() - it's needed for WindowsBrian Paul
This reverts part of commit 298be2b028263b2c343a707662c6fbfa18293cb2
2010-02-19mesa: casts to silence new warnings from printf()Brian Paul
2010-02-19Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg
2010-02-19Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg
2010-02-01mesa: added _mesa_print_vp/p_inputs() functions (debug aids)Brian Paul
2009-12-22mesa: fix binary() function, printf format stringBrian Paul
Need to use the constant 1ULL and 0xllx format string. This fixes incorrect results and a NULL pointer/parameter bug.
2009-11-17Merge 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-10-13mesa: don't print pointer in _mesa_fprint_parameter_list()Brian Paul
2009-10-12mesa: print program Id when printingBrian Paul
2009-08-27Merge branch 'mesa_7_5_branch'Brian Paul
2009-08-27mesa: direct program debug output to stderr instead of stdoutmarvin24
2009-08-25mesa: print some program fields in binary tooBrian Paul
2009-08-18Merge branch 'master' into asm-shader-rework-1Ian Romanick
Conflicts: src/mesa/shader/arbprogparse.c
2009-08-14mesa: also pass the GPU program to _mesa_append_uniforms_to_file()Brian Paul
We want the post-link program at this points.
2009-08-14mesa: new _mesa_append_uniforms_to_file() debug/logging functionBrian Paul
2009-08-04mesa: log the shader checksumBrian Paul
2009-07-27r300/compiler: Add rc_print_programNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-24ARB prog: _mesa_print_program output should go to same place as _mesa_printfIan Romanick
2009-05-11mesa: better handling/printing of driver-specific opcodes, register filesBrian Paul
Drivers such as i965 define extra instruction opcodes and register files. Improve the program printing code to handle those opcodes/files better.
2009-05-04mesa: also print program params/constants when dumping shaders to diskBrian Paul
2009-04-21mesa: print parameter list dirty state flag maskBrian Paul
2009-04-14mesa: merge the prog_src_register::NegateBase and NegateAbs fieldsBrian Paul
There's really no need for two negation fields. This came from the GL_NV_fragment_program extension. The new, unified Negate bitfield applies after the absolute value step.
2009-03-17mesa: update/fix doxygen commentsVinson Lee
2009-03-10mesa: fix dumb sizeof() vs. strlen() mix-upBrian Paul
2009-03-07mesa: gl_register_file enum typedefBrian Paul
2009-03-05mesa: when printing src regs, use |reg| for absolute valueBrian Paul
And check opcode number to avoid crashing on driver-private opcodes.
2009-02-27mesa: update fragResults array in arb_output_attrib_string()Brian Paul
Plus add some comments.
2009-02-20mesa: add TexShadow field to prog_instructionBrian Paul
If the instruction is TEX/TXP/TXL/etc the TexShadow field will be true if the instruction is a texture fetch with shadow compare.
2009-02-17mesa: when printing/dumping instruction, include relative addressing infoBrian Paul
Not all cases were handled before.
2009-02-11mesa: Use the stdio wrappers.José Fonseca
snprint symbol does not exist in Windows.
2009-02-09mesa: merge gallium-0.2 into gallium-master-mergeBrian Paul
Merge commit 'origin/gallium-0.2' into gallium-master-merge Conflicts: Makefile docs/relnotes-7.4.html docs/relnotes.html src/mesa/drivers/dri/i965/brw_wm.h src/mesa/main/imports.c src/mesa/main/mtypes.h src/mesa/main/texcompress.c src/mesa/main/texenvprogram.c src/mesa/main/version.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_save_draw.c
2009-02-06mesa: tweak output of _mesa_write_shader_to_file()Brian Paul
Enclose GPU code in comments to the file can be re-fed back into GLSL compiler.
2009-02-02mesa: make _mesa_fprint_program_opt() non-staticBrian Paul
2009-01-22glsl: new _mesa_write_shader_to_file() functionBrian Paul
Used to log a shader to a file. Includes shader source code, the info log and generated GPU instructions.
2009-01-09mesa: additional case in file_string()Brian Paul
2009-01-07mesa: additional case in file_string()Brian Paul
2008-11-24mesa: rename program parameter flags to match other Mesa conventionsBrian Paul
2008-11-24mesa: added PROG_PARAM_ bits for invariant, flat/linear interpolationBrian Paul
Plus, update the print/debug code.
2008-11-24mesa: rename program parameter flags to match other Mesa conventionsBrian Paul
2008-11-24mesa: added PROG_PARAM_ bits for invariant, flat/linear interpolationBrian Paul
Plus, update the print/debug code.
2008-11-15Merge commit 'origin/master' into gallium-0.2Keith Whitwell
Conflicts: src/mesa/shader/prog_print.c
2008-11-13mesa: make writemask_string() non-staticBrian Paul
2008-11-13mesa: tweak program register printing for RelAddr caseBrian Paul
2008-11-11Merge commit 'origin/master' into gallium-0.2Brian Paul
Conflicts: src/mesa/shader/prog_execute.c src/mesa/shader/slang/library/slang_vertex_builtin_gc.h
2008-11-11mesa: allow relative indexing into all register files and indirect dst ↵Brian Paul
register indexing
2008-09-18mesa: prefix a bunch of #include lines with "main/".Brian Paul
This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
2008-09-04mesa: fix minor mem leakBrian Paul
2008-07-29mesa: glsl: various writemask/swizzle improvements and clean-upsBrian Paul