Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aras-p/glsl-optimizer
/ functions
Functions
1,941 in github.com/aras-p/glsl-optimizer
⨍
Functions
1,941
◇
Types & classes
790
↓ 2 callers
Function
yy_get_next_buffer
yy_get_next_buffer - try to read in a new buffer * * Returns a code representing an action: * EOB_ACT_LAST_MATCH - * EOB_ACT_CONTINUE_SCAN - conti
src/glsl/glcpp/glcpp-lex.c:1796
↓ 2 callers
Function
yy_symbol_print
(yyoutput, yytype, yyvaluep, yylocationp, parser)
src/glsl/glcpp/glcpp-parse.c:1186
↓ 2 callers
Function
yy_symbol_value_print
(yyoutput, yytype, yyvaluep, yylocationp, parser)
src/glsl/glcpp/glcpp-parse.c:1150
↓ 2 callers
Function
yysyntax_error
Copy into YYRESULT an error message about the unexpected token YYCHAR while in state YYSTATE. Return the number of bytes copied, including the
src/glsl/glsl_parser.cpp:3120
↓ 2 callers
Function
yysyntax_error
Copy into YYRESULT an error message about the unexpected token YYCHAR while in state YYSTATE. Return the number of bytes copied, including the
src/glsl/glcpp/glcpp-parse.c:1411
↓ 1 callers
Function
CheckMetal
tests/glsl_optimizer_tests.cpp:318
↓ 1 callers
Function
CleanupGL
tests/glsl_optimizer_tests.cpp:171
↓ 1 callers
Function
DOT2
Dot product of two 2-element vectors */
src/mesa/main/macros.h:739
↓ 1 callers
Function
DOT3
src/mesa/main/macros.h:745
↓ 1 callers
Function
EndsWith
tests/glsl_optimizer_tests.cpp:366
↓ 1 callers
Function
GetFiles
tests/glsl_optimizer_tests.cpp:373
↓ 1 callers
Function
INV_SQRTF
single-precision inverse square root */
src/mesa/main/imports.h:153
↓ 1 callers
Function
InitializeMetal
tests/glsl_optimizer_tests.cpp:185
↓ 1 callers
Function
InitializeOpenGL
tests/glsl_optimizer_tests.cpp:76
↓ 1 callers
Function
LEN_SQUARED_2FV
src/mesa/main/macros.h:764
↓ 1 callers
Function
MassageFragmentForGLES
tests/glsl_optimizer_tests.cpp:451
↓ 1 callers
Function
MassageVertexForGLES
tests/glsl_optimizer_tests.cpp:422
↓ 1 callers
Function
__read_expression
src/glsl/s_expression.cpp:98
↓ 1 callers
Function
_argument_list_create
src/glsl/glcpp/glcpp-parse.c:3121
↓ 1 callers
Function
_argument_list_member_at
src/glsl/glcpp/glcpp-parse.c:3167
↓ 1 callers
Function
_arguments_parse
Find a set of function-like macro arguments by looking for a * balanced set of parentheses. * * When called, 'node' should be the opening-parenthes
src/glsl/glcpp/glcpp-parse.c:3689
↓ 1 callers
Function
_glcpp_parser_evaluate_defined
Evaluate a DEFINED token node (based on subsequent tokens in the list). * * Note: This function must only be called when "node" is a DEFINED token,
src/glsl/glcpp/glcpp-parse.c:3795
↓ 1 callers
Function
_glcpp_parser_expand_function
This is a helper function that's essentially part of the * implementation of _glcpp_parser_expand_node. It shouldn't be called * except for by that
src/glsl/glcpp/glcpp-parse.c:3985
↓ 1 callers
Function
_glcpp_parser_expand_node
Compute the complete expansion of node, (and subsequent nodes after * 'node' in the case that 'node' is a function-like macro and * subsequent nodes
src/glsl/glcpp/glcpp-parse.c:4103
↓ 1 callers
Function
_glcpp_parser_print_expanded_token_list
src/glsl/glcpp/glcpp-parse.c:4323
↓ 1 callers
Function
_glcpp_parser_skip_stack_pop
src/glsl/glcpp/glcpp-parse.c:4608
↓ 1 callers
Function
_mesa_align_free
* Free memory which was allocated with either _mesa_align_malloc() * or _mesa_align_calloc(). * \param ptr pointer to the memory to be freed. * The
src/mesa/main/imports.c:171
↓ 1 callers
Function
_mesa_ast_array_index_to_hir
src/glsl/ast_array_index.cpp:112
↓ 1 callers
Function
_mesa_ast_field_selection_to_hir
src/glsl/hir_field_selection.cpp:29
↓ 1 callers
Function
_mesa_ast_set_aggregate_type
* Recurses through <type> and <expr> if <expr> is an aggregate initializer * and sets <expr>'s <constructor_type> field to <type>. Gives later functi
src/glsl/glsl_parser_extras.cpp:740
↓ 1 callers
Function
_mesa_ast_type_qualifier_print
src/glsl/glsl_parser_extras.cpp:793
↓ 1 callers
Function
_mesa_destroy_shader_compiler
* To be called at GL teardown time, this frees compiler datastructures. * * After calling this, any previously compiled shaders and shader * progra
src/glsl/glsl_parser_extras.cpp:1660
↓ 1 callers
Function
_mesa_destroy_shader_compiler_caches
* Releases compiler caches to trade off performance for memory. * * Intended to be used with glReleaseShaderCompiler(). */
src/glsl/glsl_parser_extras.cpp:1673
↓ 1 callers
Function
_mesa_float_to_half
* Convert a 4-byte float to a 2-byte half float. * * Not all float32 values can be represented exactly as a float16 value. We * round such intermed
src/mesa/main/imports.c:344
↓ 1 callers
Function
_mesa_glsl_compile_shader
src/glsl/glsl_parser_extras.cpp:1447
↓ 1 callers
Function
_mesa_glsl_find_builtin_function
src/glsl/builtin_functions.cpp:4659
↓ 1 callers
Function
_mesa_glsl_initialize_builtin_functions
* External API (exposing the built-in module to the rest of the compiler): * @{ */
src/glsl/builtin_functions.cpp:4643
↓ 1 callers
Function
_mesa_glsl_initialize_variables
src/glsl/builtin_variables.cpp:1079
↓ 1 callers
Function
_mesa_glsl_lexer__flush_buffer
Discard all buffered characters. On the next scan, YY_INPUT will be called. * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
src/glsl/glsl_lexer.cpp:3493
↓ 1 callers
Function
_mesa_glsl_lexer__scan_buffer
Setup the input buffer state to scan directly from a user-specified character buffer. * @param base the character buffer * @param size the size in b
src/glsl/glsl_lexer.cpp:3624
↓ 1 callers
Function
_mesa_glsl_lexer__scan_bytes
Setup the input buffer state to scan the given bytes. The next call to _mesa_glsl_lexer_lex() will * scan from a @e copy of @a bytes. * @param bytes
src/glsl/glsl_lexer.cpp:3674
↓ 1 callers
Function
_mesa_glsl_lexer__scan_string
Setup the input buffer state to scan a string. The next call to _mesa_glsl_lexer_lex() will * scan from a @e copy of @a str. * @param yystr a NUL-te
src/glsl/glsl_lexer.cpp:3661
↓ 1 callers
Function
_mesa_glsl_lexer__switch_to_buffer
Switch to a different input buffer. * @param new_buffer The new input buffer. * @param yyscanner The scanner object. */
src/glsl/glsl_lexer.cpp:3369
↓ 1 callers
Function
_mesa_glsl_lexer_lex_destroy
_mesa_glsl_lexer_lex_destroy is for both reentrant and non-reentrant scanners. */
src/glsl/glsl_lexer.cpp:3998
↓ 1 callers
Function
_mesa_glsl_lexer_lex_init_extra
src/glsl/glsl_lexer.cpp:3936
↓ 1 callers
Function
_mesa_glsl_lexer_pop_buffer_state
Removes and deletes the top of the stack, if present. * The next element becomes the new top. * @param yyscanner The scanner object. */
src/glsl/glsl_lexer.cpp:3554
↓ 1 callers
Function
_mesa_half_to_float
* Convert a 2-byte half float to a 4-byte float. * Based on code from: * http://www.opengl.org/discussion_boards/ubb/Forum3/HTML/008786.html */
src/mesa/main/imports.c:425
↓ 1 callers
Function
_mesa_hash_data
* Quick FNV-1 hash implementation based on: * http://www.isthe.com/chongo/tech/comp/fnv/ * * FNV-1 is not be the best hash out there -- Jenkins's l
src/util/hash_table.c:396
↓ 1 callers
Function
_mesa_hash_string
FNV-1 string hash implementation */
src/util/hash_table.c:412
↓ 1 callers
Function
_mesa_is_gles3
* Checks if the context is for GLES 3.x */
src/mesa/main/context.h:62
↓ 1 callers
Function
_mesa_new_shader
src/glsl/standalone_scaffolding.cpp:59
↓ 1 callers
Function
_mesa_reference_shader
src/glsl/standalone_scaffolding.cpp:38
↓ 1 callers
Function
_mesa_shader_debug
src/glsl/standalone_scaffolding.cpp:46
↓ 1 callers
Function
_mesa_symbol_table_add_global_symbol
src/mesa/program/symbol_table.c:316
↓ 1 callers
Function
_mesa_symbol_table_symbol_scope
* Determine the scope "distance" of a symbol from the current scope * * \return * A non-negative number for the number of scopes between the curren
src/mesa/program/symbol_table.c:201
↓ 1 callers
Function
_parser_active_list_contains
src/glsl/glcpp/glcpp-parse.c:4207
↓ 1 callers
Function
_parser_active_list_push
Push a new identifier onto the parser's active list. * * Here, 'marker' is the token node that appears in the list after the * expansion of 'identi
src/glsl/glcpp/glcpp-parse.c:4176
↓ 1 callers
Function
_string_list_contains
src/glsl/glcpp/glcpp-parse.c:3042
↓ 1 callers
Function
_string_list_create
src/glsl/glcpp/glcpp-parse.c:3011
↓ 1 callers
Function
_string_list_equal
src/glsl/glcpp/glcpp-parse.c:3096
↓ 1 callers
Function
_string_list_has_duplicate
Return duplicate string in list (if any), NULL otherwise. */
src/glsl/glcpp/glcpp-parse.c:3063
↓ 1 callers
Function
_token_list_equal_ignoring_space
src/glsl/glcpp/glcpp-parse.c:3317
↓ 1 callers
Function
_token_list_print
src/glsl/glcpp/glcpp-parse.c:3575
↓ 1 callers
Function
_token_paste
Return a new token (ralloc()ed off of 'token') formed by pasting * 'token' and 'other'. Note that this function may return 'token' or * 'other' dire
src/glsl/glcpp/glcpp-parse.c:3452
↓ 1 callers
Method
accept
src/glsl/ir_hv_accept.cpp:67
↓ 1 callers
Method
add_dimension
src/glsl/ast.h:324
↓ 1 callers
Method
add_global_function
src/glsl/glsl_symbol_table.cpp:198
↓ 1 callers
Method
add_interface
src/glsl/glsl_symbol_table.cpp:167
↓ 1 callers
Function
all_expression_operands_are_loop_constant
src/glsl/loop_analysis.cpp:702
↓ 1 callers
Function
apply_image_qualifier_to_variable
src/glsl/ast_to_hir.cpp:2383
↓ 1 callers
Function
as_if_skip_discard
src/glsl/ir_basic_block.cpp:34
↓ 1 callers
Method
as_jump
src/glsl/ir.h:145
↓ 1 callers
Method
assign_location
* Assign a location and stream ID for this tfeedback_decl object based on the * transform feedback candidate found by find_candidate. * * If an err
src/glsl/link_varyings.cpp:371
↓ 1 callers
Method
assign_locations
* Choose locations for all of the variable matches that were previously * passed to varying_matches::record(). */
src/glsl/link_varyings.cpp:887
↓ 1 callers
Function
bitcast_i2f
src/glsl/ir_builder.cpp:433
↓ 1 callers
Method
bitwise_assign_pack
* Make an ir_assignment from \c rhs to \c lhs, performing appropriate * bitcasts if necessary to match up types. * * This function is called when p
src/glsl/lower_packed_varyings.cpp:284
↓ 1 callers
Method
bitwise_assign_unpack
* Make an ir_assignment from \c rhs to \c lhs, performing appropriate * bitcasts if necessary to match up types. * * This function is called when u
src/glsl/lower_packed_varyings.cpp:318
↓ 1 callers
Function
borrow
src/glsl/ir_builder.cpp:244
↓ 1 callers
Function
calculate_iterations
src/glsl/loop_controls.cpp:95
↓ 1 callers
Function
calculate_shader_stats
src/glsl/ir_stats.cpp:57
↓ 1 callers
Function
can_inline
src/glsl/ir_function_can_inline.cpp:58
↓ 1 callers
Function
carry
src/glsl/ir_builder.cpp:239
↓ 1 callers
Function
check_against_input_limit
src/glsl/link_varyings.cpp:1545
↓ 1 callers
Function
check_against_output_limit
src/glsl/link_varyings.cpp:1506
↓ 1 callers
Function
check_atomic_counters_overlap
src/glsl/link_atomics.cpp:90
↓ 1 callers
Method
check_explicit_attrib_stream_allowed
src/glsl/glsl_parser_extras.h:125
↓ 1 callers
Method
check_explicit_uniform_location_allowed
src/glsl/glsl_parser_extras.h:170
↓ 1 callers
Function
check_explicit_uniform_locations
* Check and reserve all explicit uniform locations, called before * any optimizations happen to handle also inactive uniforms and * inactive array e
src/glsl/linker.cpp:2442
↓ 1 callers
Function
check_image_resources
* Validate shader image resources. */
src/glsl/linker.cpp:2332
↓ 1 callers
Function
check_resources
* Validate the resources used by a program versus the implementation limits */
src/glsl/linker.cpp:2255
↓ 1 callers
Function
choose_best_inexact_overload
src/glsl/ir_function.cpp:256
↓ 1 callers
Method
clone
src/glsl/ir.h:2364
↓ 1 callers
Function
combine_range
Combines two ranges by doing an element-wise min() / max() depending on the * operation. */
src/glsl/opt_minmax.cpp:221
↓ 1 callers
Function
compileShader
contrib/glslopt/Main.cpp:78
↓ 1 callers
Function
compile_shader
src/glsl/main.cpp:288
↓ 1 callers
Function
compression
src/glsl/opt_rebalance_tree.cpp:101
↓ 1 callers
Method
compute_packing_class
* Compute the "packing class" of the given varying. This is an unsigned * integer with the property that two variables in the same packing class can
src/glsl/link_varyings.cpp:949
↓ 1 callers
Method
compute_packing_order
* Compute the "packing order" of the given varying. This is a sort key we * use to determine when to attempt to pack the given varying relative to
src/glsl/link_varyings.cpp:980
↓ 1 callers
Method
condition_to_hir
src/glsl/ast_to_hir.cpp:4906
↓ 1 callers
Function
constant_record_constructor
* Try to convert a record constructor to a constant expression */
src/glsl/ast_function.cpp:968
← previous
next →
601–700 of 1,941, ranked by callers