summaryrefslogtreecommitdiff
path: root/src/mesa/slang
AgeCommit message (Collapse)Author
2010-08-15glsl: Clean up header file inclusion in slang_typeinfo.h.Vinson Lee
Remove imports.h, mtypes.h, and slang_vartable.h. Include glheader.h for GL symbols.
2010-08-15glsl: Include missing header in slang_codegen.h.Vinson Lee
Include slang_vartable.h for slang_var_table symbol.
2010-08-15glsl: Include missing header in slang_compile_operation.h.Vinson Lee
Include compiler.h for INLINE symbol.
2010-08-15glsl: Clean up header file inclusion in slang_storage.h.Vinson Lee
Remove slang_compile.h. Include glheader.h for GL symbols. Include slang_compile_function.h for slang_function_scope symbol. Include slang_compile_struct.h for slang_struct_scope symbol. Include slang_compile_variable.h for slang_variable_scope symbol. Include slang_typeinfo.h for slang_type_specifier symbol. Include slang_utility.h for slang_atom_pool symbol.
2010-08-15glsl: Clean up header file inclusion in slang_mem.h.Vinson Lee
slang_mem.h Remove imports.h. Include glheader.h for GL symbols. slang_label.c Include imports.h now that slang_mem.c does not include it.
2010-08-15glsl: Clean up header file inclusion in slang_ir.h.Vinson Lee
Remove imports.h and slang_compile.h. Include glheader.h for GL symbols. Include slang_compile_variable.h for slang_variable symbol.
2010-08-15glsl: Include missing header in slang_link.c.Vinson Lee
Include slang_compile.h for _slang_compile function.
2010-08-15glsl: Include missing headers in slang_builtin.c.Vinson Lee
Include slang_typeinfo.h for slang_type_specifier symbol. Include slang_compiler_struct.h for slang_struct_ symbol.
2010-08-15glsl: Fix self inclusion in slang_compile_function.h.Vinson Lee
Fix self inclusion introduced by commit 4fef77c7c5455b983daa93cacf90d2b3baa3967e.
2010-08-15glsl: Include missing header in slang_ir.h.Vinson Lee
Include prog_instruction.h for gl_inst_opcode symbol.
2010-08-15glsl: Clean up header file inclusion in slang_link.h.Vinson Lee
Remove slang_compile.h. Include mtypes.h for GLcontext symbol.
2010-08-15glsl: Clean up header file inclusion in slang_label.h.Vinson Lee
Move mtypes.h and prog_instruction.h to slang_label.c. Remove imports.h. Include glheader.h from GL symbols.
2010-08-14glsl: Clean up header file inclusion in slang_emit.h.Vinson Lee
Remove imports.h. Remove mtypes.h. Remove slang_compile.h. Include glheader.h for GL symbols. Include slang_vartable.h for slang_var_table symbol.
2010-08-14glsl: Clean up header file inclusion in slang_compile.h.Vinson Lee
Remove imports.h. Remove slang_typeinfo.h. Remove slang_compile_operation.h. Include glheader.h for GL symbols. Include slang_utility.h for slang_atom_pool symbol.
2010-08-14glsl: Include missing headers in slang_compile_struct.h.Vinson Lee
Include glheader.h for GL symbols. Include slang_utility.h for slang_atom symbol.
2010-08-14glsl: Include missing headers in slang_print.h.Vinson Lee
Include glheader.h for GL symbols. Include slang_compile_function.h for slang_function symbol. Include slang_compile_operation.h for slang_operation symbol. Include slang_compile_variable.h for slang_variable and slang_variable_scope symbols. Include slang_typeinfo.h for slang_type_qualifer and slang_fully_specified_type symbols.
2010-08-14glsl: Include missing headers in slang_compile_function.hVinson Lee
Include glheader.h for GL symbols. Include slang_compile_function.h for slang_function symbol. Include slang_compile_operation.h for slang_operation symbol. Include slang_compile_variable.h for slang_variable and slang_variable_scope symbols. Include slang_log.h for slang_info_log symbols. Include slang_utility.h for slang_atom and slang_atom_pool symbols.
2010-08-14glsl: Include missing headers in slang_compiler_operation.h.Vinson Lee
Include glheader.h for GL symbols. Include slang_compile_variable.h for slang_variable_scope symbol. Include slang_utility.h for slang_atom symbol.
2010-08-14glsl: Include missing headers in slang_simplify.h.Vinson Lee
Include glheader.h for GL symbols. Include slang_compile.h for slang_name_space symbol. Include slang_compile_function.h for slang_function symbol. Include slang_compile_operation.h for slang_operation symbol. Include slang_log.h for slang_info_log symbol. Include slang_utility.h for slang_atom_pool symbol.
2010-08-14glsl: Include missing header in slang_utility.h.Vinson Lee
Include glheader.h for GL symbols.
2010-08-14glsl: Include missing headers in slang_vartable.h.Vinson Lee
Include glheader.h for GL symbols. Include slang_utility.h for slang_atom symbol.
2010-08-14glsl: Include missing header in slang_log.h.Vinson Lee
Include glheader.h for GLboolean symbol.
2010-08-14glsl: Include missing headers in slang_compile_variable.h.Vinson Lee
Include glheader.h for GL symbols. Include slang_typeinfo.h for slang_fully_specified_type symbol. Include slang_utility.h for slang_atom symbol.
2010-08-14glsl: Clean up header file inclusion in slang_codegen.h.Vinson Lee
Remove mtypes.h. Include glheader.h for GL symbols. Include slang_compile_variable.h for slang_variable symbol. Include slang_typeinfo.h for slang_type_specifier symbol. Include slang_utility.h for slang_atom_pool symbol.
2010-08-14glsl: Clean up header file inclusion in slang_builtin.h.Vinson Lee
Remove prog_parameter.h and slang_utility.h. Include glheader.h for GL symbols. Include mtypes.h for gl_*_result symbols.
2010-08-14glsl: Include missing header in slang_compile.c.Vinson Lee
Include sl_pp_purify.h for sl_pp_purify_options symbol.
2010-08-12glsl: print to stderr like other program printing codeBrian Paul
2010-08-05glsl: fix atan(0, -1)Brian Paul
Fixes fd.o bug 29388 NOTE: this is a candidate for the 7.8 branch.
2010-07-30mesa: added gl_program::IndirectRegisterFiles fieldBrian Paul
Now drivers, etc. can know which register files are accessed with indirect addressing. Before we just checked gl_program::NumAddressRegs but didn't know if that was the constant buffer, temp regs, or what. The only user of this new field so far will be the gallium state tracker.
2010-07-22glsl: remove invalid _mesa_problem() callBrian Paul
Fixes fd.o bug 29206.
2010-07-21Add missing initialization of inOutFlags pointer.Carl Worth
This quiets a compiler warning, (and ensures a segmentation fault rather than memory corruption if this variable is written through before being initialized elsewhere).
2010-07-13mesa: add comments and change Index2D to just Index2Zack Rusin
2010-07-10Revert "mesa: temporarily enable printing of Mesa's GPU instructions"Zack Rusin
This reverts commit 7b8726a99da961fe0ace7c7ee567f82217715fe4.
2010-07-10mesa: get the translation from mesa 2d regs to tgsi workingZack Rusin
first working version of arb_geometry_shader4
2010-07-09mesa: initial support for emitting 2D registers from slangZack Rusin
2010-07-09mesa: temporarily enable printing of Mesa's GPU instructionsZack Rusin
2010-07-08glsl: fix indirect addressing of gl_TextureMatrix[] arraysBrian Paul
The code to emit an array of OpenGL state vars lacked the code to handle the gl_TextureMatrix[] array. Fixes fd.o bug 28967 NOTE: this is a candidate for the 7.8 branch.
2010-07-08glsl: fix 'if ((x=foo()) > 1.0)' bugBrian Paul
Fixes fd.o bug 27216. May also be the root cause of fd.o bug 28950. We weren't propogating the storage info for the x=foo() expression up through the IR tree to the inequality expression. NOTE: This is a candidate for the Mesa 7.8 branch.
2010-07-08slang: fix typosZack Rusin
2010-07-08slang: add some comments related to geometry shadersZack Rusin
2010-07-08gs: inject const int gl_VerticesIn at link timeZack Rusin
2010-07-07glsl: use Elements() in arrays instead of sentinal valuesBrian Paul
The _slang_*_output_name() functions had one too many loop iterations because of the sentinal end-of-list values in the vertOutput array. Just use Elements() everywhere.
2010-07-02mesa: add geometry shader fields to gl_shader_programBrian Paul
These 3 fields are per shader-program. Copy them into the geometry program at link time for convenient access later. Also, add some missing glGetProgramiv() queries.
2010-06-28mesa: initial support for ARB_geometry_shader4Zack Rusin
laying down the foundation for everything and implementing most of the stuff. linking, gl_VerticesIn and multidimensional inputs are left.
2010-06-10mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul
2010-06-10mesa: move shader/slang/* sources to main/slang/*Brian Paul
Reduce the source tree depth a bit.