Home
last modified time | relevance | path

Searched refs:builtin_to_glsl (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/third_party/externals/spirv-cross/
Dspirv_hlsl.cpp612 …statement(types[to_declare - 1], " ", builtin_to_glsl(builtin, StorageClassOutput), semantic_index, in emit_builtin_outputs_in_struct()
628 …statement(types[to_declare - 1], " ", builtin_to_glsl(builtin, StorageClassOutput), semantic_index, in emit_builtin_outputs_in_struct()
647 statement(type, " ", builtin_to_glsl(builtin, StorageClassOutput), " : ", semantic, ";"); in emit_builtin_outputs_in_struct()
742 … statement(types[to_declare - 1], " ", builtin_to_glsl(builtin, StorageClassInput), semantic_index, in emit_builtin_inputs_in_struct()
758 … statement(types[to_declare - 1], " ", builtin_to_glsl(builtin, StorageClassInput), semantic_index, in emit_builtin_inputs_in_struct()
775 statement(type, " ", builtin_to_glsl(builtin, StorageClassInput), " : ", semantic, ";"); in emit_builtin_inputs_in_struct()
960 std::string CompilerHLSL::builtin_to_glsl(spv::BuiltIn builtin, spv::StorageClass storage) in builtin_to_glsl() function in CompilerHLSL
989 return CompilerGLSL::builtin_to_glsl(builtin, storage); in builtin_to_glsl()
1129 …statement("static ", type, " ", builtin_to_glsl(builtin, storage), "[", array_size, "]", init_expr… in emit_builtin_variables()
1131 statement("static ", type, " ", builtin_to_glsl(builtin, storage), init_expr, ";"); in emit_builtin_variables()
[all …]
Dspirv_hlsl.hpp240 std::string builtin_to_glsl(spv::BuiltIn builtin, spv::StorageClass storage) override;
Dspirv_msl.cpp2327 set_name(var.self, builtin_to_glsl(builtin, StorageClassFunction)); in add_composite_variable_to_interface_block()
2339 flatten_from_ib_mbr_name = builtin_to_glsl(BuiltInClipDistance, StorageClassOutput); in add_composite_variable_to_interface_block()
2545 flatten_from_ib_mbr_name = builtin_to_glsl(BuiltInClipDistance, StorageClassOutput); in add_composite_member_variable_to_interface_block()
2854 string var_name = builtin_to_glsl(builtin, StorageClassFunction); in add_tess_level_input_to_interface_block()
2971 return builtin_to_glsl(BuiltInInvocationId, StorageClassInput); in to_tesc_invocation_id()
3134 set_name(var_id, builtin_to_glsl(builtin, StorageClassOutput)); in add_variable_to_interface_block()
3172 set_member_name(var_type.self, mbr_idx, builtin_to_glsl( in add_variable_to_interface_block()
3354 set_name(var_id, builtin_to_glsl(bi_type, StorageClassFunction)); in add_interface_block()
6627 statement("constant uint3 ", builtin_to_glsl(BuiltInWorkgroupSize, StorageClassWorkgroup), in emit_specialization_constants_and_structs()
11461 statement(builtin_to_glsl(BuiltInTessLevelOuter, StorageClassOutput), "[", i, "] = ", in entry_point_args_builtin()
[all …]
Dspirv_msl.hpp748 std::string builtin_to_glsl(spv::BuiltIn builtin, spv::StorageClass storage) override;
Dspirv_glsl.hpp383 virtual std::string builtin_to_glsl(spv::BuiltIn builtin, spv::StorageClass storage);
Dspirv_glsl.cpp3681 … set<SPIRExpression>(ids + 1, builtin_to_glsl(BuiltInInvocationId, StorageClassInput), ids, true); in emit_output_variable_initializer()
3703 …statement(chain, " = ", lut_name, "[", builtin_to_glsl(BuiltInInvocationId, StorageClassInput), "]… in emit_output_variable_initializer()
4594 return builtin_to_glsl(dec.builtin_type, StorageClassGeneric); in to_expression()
4630 return builtin_to_glsl(dec.builtin_type, var.storage); in to_expression()
8188 string CompilerGLSL::builtin_to_glsl(BuiltIn builtin, StorageClass storage) in builtin_to_glsl() function in CompilerGLSL
8758 expr += builtin_to_glsl(builtin, type->storage); in access_chain_internal()
8761 expr = builtin_to_glsl(builtin, type->storage); in access_chain_internal()