summaryrefslogtreecommitdiff
path: root/src/mesa/shader
AgeCommit message (Collapse)Author
2009-06-26glsl: added slang_oper_child_const()Brian Paul
2009-06-26glsl: use _slang_loop_contains_continue_or_break() to check for unrollingBrian Paul
The previous test failed for nested loops.
2009-06-26glsl: use new _slang_loop_contains_continue() helper functionBrian Paul
2009-06-26glsl: implement continue->break translation for do-while loopsBrian Paul
2009-06-26glsl: added slang_operation_literal_int/bool() helper functionsBrian Paul
2009-06-26glsl: don't allocate 0-length children array in slang_operation_copy()Brian Paul
2009-06-26glsl: remove debug code, misc clean-upBrian Paul
2009-06-26glsl: implement continue->break transformation for for-loopsBrian Paul
2009-06-26glsl: added slang_operation_add_children() and slang_oper_child() helpersBrian Paul
2009-06-26glsl: added slang_assemble_ctx::EmitContReturn field, initBrian Paul
2009-06-26glsl: don't unroll loops containing continue/breakBrian Paul
Just search the AST in _slang_can_unroll_for_loop().
2009-06-26Revert "slang: if/else/break & if/else/continue work for unrolled loops"Brian Paul
We should just check if the loop contains a continue/break in the _slang_can_unroll_for_loop() test function... This reverts commit 989856bde47d699d7e18798df4013fbf962e1d4b. Conflicts: src/mesa/shader/slang/slang_codegen.h
2009-06-26glsl: Added gl_shader_state::EmitContReturn fieldBrian Paul
This is the start of a glsl-continue-return feature branch to support a GLSL code generator option for 'continue' and 'return' statements. Some targets don't support CONT or RET statements so we'll need to try to generate code that does not use them...
2009-06-22mesa: rename MAX_VERTEX_ATTRIBS to MAX_VERTEX_GENERIC_ATTRIBSBrian Paul
Be clearer that this is the number of generic vertex program/shader attributes, not counting the legacy attributes (pos, normal, color, etc). (cherry picked from commit 4a95185c9f30c2de7a03bb1a0653f51b53b1111d)
2009-06-26Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: Makefile src/gallium/drivers/softpipe/sp_screen.c src/mesa/main/version.h
2009-06-17glsl: call _mesa_postprocess_program(), disabledBrian Paul
2009-06-17mesa: silence warningBrian Paul
2009-06-17mesa: added _mesa_postprocess_program() to aid shader debuggingBrian Paul
2009-06-10glsl: fix warnings, update comments, s/TRUE/GL_TRUE/Brian Paul
(cherry picked from master, commit 7fdd64ab29576e607434fb8c82ddfa61e8ea6aa8)
2009-06-10glsl: Handle continuation characters in preprocessor.Brian Paul
(cherry picked from master, commit cc22620e4b11425997f3bc1fc70f4c88cec22d2e)
2009-06-10glsl: fix warnings, update comments, s/TRUE/GL_TRUE/Brian Paul
2009-06-10glsl: Handle continuation characters in preprocessor.Michal Krol
2009-06-10glsl: Fix symbol replacement handling in preprocessor.Brian Paul
(cherry picked from master, commit d9617deb008b75f4a605a30408aeb1948139c33e)
2009-06-09glsl: Expand nested preprocessor macros.Brian Paul
(cherry picked from master, commit ef8caec29ae73bb2bbeb48f0578d839ef29348cd)
2009-06-09Merge branch 'mesa_7_5_branch'Jakob Bornecrantz
Conflicts: Makefile src/mesa/main/version.h src/mesa/shader/slang/slang_preprocess.c src/mesa/state_tracker/st_cb_bufferobjects.c
2009-06-10glsl: Fix symbol replacement handling in preprocessor.Michal Krol
2009-06-09glsl: Expand nested preprocessor macros.Michal Krol
2009-06-08glsl: Fix preprocessor define argument parsing for dead sections.Brian Paul
(cherry picked from master, commit 19a54d9f1055c366fd77026dd67007a8d5921f58)
2009-06-08glsl: Fix preprocessor define argument parsing for dead sections.Michal Krol
2009-06-08glsl: preprocessor debug code (disabled)Brian Paul
2009-06-08mesa: better error message for invalid texture unit indexBrian Paul
2009-06-03mesa: added NaN checking code (disabled)Brian Paul
2009-06-03mesa: check/prevent NaN for EX2/LG2Brian Paul
2009-05-22mesa: added some assertionsBrian Paul
2009-05-22mesa: remove MAX_VERTEX_PROGRAM_ATTRIBSBrian Paul
Use MAX_VERTEX_GENERIC_ATTRIBS instead. No need for two #defines for the same quantity.
2009-05-22mesa: rename MAX_VERTEX_ATTRIBS to MAX_VERTEX_GENERIC_ATTRIBSBrian Paul
Be clearer that this is the number of generic vertex program/shader attributes, not counting the legacy attributes (pos, normal, color, etc).
2009-05-21mesa: minor code simplification in _mesa_GetVertexAttrib*NV()Brian Paul
2009-05-21mesa: comment for _mesa_GetVertexAttribfvARB()Brian Paul
2009-05-21mesa: minor code simplification in _mesa_GetVertexAttribfvARB()Brian Paul
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-08glsl: check number of varying variables against the limitBrian Paul
Link fails if too many varying vars.
2009-05-08glsl: set vertex/fragment program Ids to aid with debuggingBrian Paul
2009-05-08mesa: more shader debug code (disabled)Brian Paul
2009-05-08mesa: more complete fix for transform_invarient glitchesKeith Whitwell
Add a new flag mvp_with_dp4 in the context, and use that to switch both ffvertex.c and programopt.c vertex transformation code to either DP4 or MUL/MAD implementations.
2009-05-06mesa: be smarter about allocating vert/frag program constantsBrian Paul
Try to re-use constants/literals more often to make best use of the constant buffer space. See bug 21354.
2009-05-05mesa: more complete fix for transform_invarient glitchesKeith Whitwell
Add a new flag mvp_with_dp4 in the context, and use that to switch both ffvertex.c and programopt.c vertex transformation code to either DP4 or MUL/MAD implementations.
2009-05-04mesa: also print program params/constants when dumping shaders to diskBrian Paul
2009-05-04mesa: remove some unfinished/devel codeBrian Paul
2009-05-01Merge branch 'const-buffer-changes'Brian Paul
Conflicts: src/mesa/drivers/dri/i965/brw_curbe.c src/mesa/drivers/dri/i965/brw_vs_emit.c src/mesa/drivers/dri/i965/brw_wm_glsl.c
2009-04-29mesa: added _mesa_check_soa_dependencies() functionBrian Paul
This function will check an instruction to see if there's data dependencies between the dst and src registers if executed in an SOA manner.