summaryrefslogtreecommitdiffstats
path: root/src/mesa/slang
Commit message (Collapse)AuthorAgeFilesLines
* Remove remnants of the old glsl compiler.Eric Anholt2010-08-2050-28424/+0
|
* glsl: Clean up header file inclusion in slang_typeinfo.h.Vinson Lee2010-08-151-3/+1
| | | | | Remove imports.h, mtypes.h, and slang_vartable.h. Include glheader.h for GL symbols.
* glsl: Include missing header in slang_codegen.h.Vinson Lee2010-08-151-0/+1
| | | | Include slang_vartable.h for slang_var_table symbol.
* glsl: Include missing header in slang_compile_operation.h.Vinson Lee2010-08-151-0/+1
| | | | Include compiler.h for INLINE symbol.
* glsl: Clean up header file inclusion in slang_storage.h.Vinson Lee2010-08-151-1/+6
| | | | | | | | | | 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.
* glsl: Clean up header file inclusion in slang_mem.h.Vinson Lee2010-08-152-1/+2
| | | | | | | | | 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.
* glsl: Clean up header file inclusion in slang_ir.h.Vinson Lee2010-08-151-3/+3
| | | | | | Remove imports.h and slang_compile.h. Include glheader.h for GL symbols. Include slang_compile_variable.h for slang_variable symbol.
* glsl: Include missing header in slang_link.c.Vinson Lee2010-08-151-0/+1
| | | | Include slang_compile.h for _slang_compile function.
* glsl: Include missing headers in slang_builtin.c.Vinson Lee2010-08-151-1/+3
| | | | | Include slang_typeinfo.h for slang_type_specifier symbol. Include slang_compiler_struct.h for slang_struct_ symbol.
* glsl: Fix self inclusion in slang_compile_function.h.Vinson Lee2010-08-151-1/+0
| | | | | Fix self inclusion introduced by commit 4fef77c7c5455b983daa93cacf90d2b3baa3967e.
* glsl: Include missing header in slang_ir.h.Vinson Lee2010-08-151-0/+1
| | | | Include prog_instruction.h for gl_inst_opcode symbol.
* glsl: Clean up header file inclusion in slang_link.h.Vinson Lee2010-08-151-1/+1
| | | | | Remove slang_compile.h. Include mtypes.h for GLcontext symbol.
* glsl: Clean up header file inclusion in slang_label.h.Vinson Lee2010-08-152-3/+4
| | | | | | Move mtypes.h and prog_instruction.h to slang_label.c. Remove imports.h. Include glheader.h from GL symbols.
* glsl: Clean up header file inclusion in slang_emit.h.Vinson Lee2010-08-141-4/+2
| | | | | | | | 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.
* glsl: Clean up header file inclusion in slang_compile.h.Vinson Lee2010-08-141-5/+6
| | | | | | | | 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.
* glsl: Include missing headers in slang_compile_struct.h.Vinson Lee2010-08-141-0/+3
| | | | | Include glheader.h for GL symbols. Include slang_utility.h for slang_atom symbol.
* glsl: Include missing headers in slang_print.h.Vinson Lee2010-08-141-0/+6
| | | | | | | | 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.
* glsl: Include missing headers in slang_compile_function.hVinson Lee2010-08-141-0/+9
| | | | | | | | | | 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.
* glsl: Include missing headers in slang_compiler_operation.h.Vinson Lee2010-08-141-0/+4
| | | | | | Include glheader.h for GL symbols. Include slang_compile_variable.h for slang_variable_scope symbol. Include slang_utility.h for slang_atom symbol.
* glsl: Include missing headers in slang_simplify.h.Vinson Lee2010-08-141-0/+7
| | | | | | | | | 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.
* glsl: Include missing header in slang_utility.h.Vinson Lee2010-08-141-0/+2
| | | | Include glheader.h for GL symbols.
* glsl: Include missing headers in slang_vartable.h.Vinson Lee2010-08-141-0/+3
| | | | | Include glheader.h for GL symbols. Include slang_utility.h for slang_atom symbol.
* glsl: Include missing header in slang_log.h.Vinson Lee2010-08-141-0/+2
| | | | Include glheader.h for GLboolean symbol.
* glsl: Include missing headers in slang_compile_variable.h.Vinson Lee2010-08-141-1/+3
| | | | | | Include glheader.h for GL symbols. Include slang_typeinfo.h for slang_fully_specified_type symbol. Include slang_utility.h for slang_atom symbol.
* glsl: Clean up header file inclusion in slang_codegen.h.Vinson Lee2010-08-141-1/+5
| | | | | | | | 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.
* glsl: Clean up header file inclusion in slang_builtin.h.Vinson Lee2010-08-141-2/+2
| | | | | | Remove prog_parameter.h and slang_utility.h. Include glheader.h for GL symbols. Include mtypes.h for gl_*_result symbols.
* glsl: Include missing header in slang_compile.c.Vinson Lee2010-08-141-0/+1
| | | | Include sl_pp_purify.h for sl_pp_purify_options symbol.
* glsl: print to stderr like other program printing codeBrian Paul2010-08-121-8/+8
|
* glsl: fix atan(0, -1)Brian Paul2010-08-051-1/+1
| | | | | | Fixes fd.o bug 29388 NOTE: this is a candidate for the 7.8 branch.
* mesa: added gl_program::IndirectRegisterFiles fieldBrian Paul2010-07-301-0/+7
| | | | | | | | 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.
* glsl: remove invalid _mesa_problem() callBrian Paul2010-07-221-0/+2
| | | | Fixes fd.o bug 29206.
* Add missing initialization of inOutFlags pointer.Carl Worth2010-07-211-1/+1
| | | | | | This quiets a compiler warning, (and ensures a segmentation fault rather than memory corruption if this variable is written through before being initialized elsewhere).
* mesa: add comments and change Index2D to just Index2Zack Rusin2010-07-134-14/+16
|
* Revert "mesa: temporarily enable printing of Mesa's GPU instructions"Zack Rusin2010-07-101-1/+1
| | | | This reverts commit 7b8726a99da961fe0ace7c7ee567f82217715fe4.
* mesa: get the translation from mesa 2d regs to tgsi workingZack Rusin2010-07-102-4/+16
| | | | first working version of arb_geometry_shader4
* mesa: initial support for emitting 2D registers from slangZack Rusin2010-07-096-40/+98
|
* mesa: temporarily enable printing of Mesa's GPU instructionsZack Rusin2010-07-091-1/+1
|
* glsl: fix indirect addressing of gl_TextureMatrix[] arraysBrian Paul2010-07-081-1/+31
| | | | | | | | | 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.
* glsl: fix 'if ((x=foo()) > 1.0)' bugBrian Paul2010-07-081-1/+5
| | | | | | | | | 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.
* slang: fix typosZack Rusin2010-07-081-2/+2
|
* slang: add some comments related to geometry shadersZack Rusin2010-07-082-0/+15
|
* gs: inject const int gl_VerticesIn at link timeZack Rusin2010-07-084-6/+38
|
* glsl: use Elements() in arrays instead of sentinal valuesBrian Paul2010-07-071-20/+20
| | | | | | 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.
* mesa: add geometry shader fields to gl_shader_programBrian Paul2010-07-021-1/+6
| | | | | | | 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.
* mesa: initial support for ARB_geometry_shader4Zack Rusin2010-06-2813-46/+382
| | | | | | laying down the foundation for everything and implementing most of the stuff. linking, gl_VerticesIn and multidimensional inputs are left.
* mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul2010-06-1012-46/+46
|
* mesa: move shader/slang/* sources to main/slang/*Brian Paul2010-06-1049-0/+27869
Reduce the source tree depth a bit.