D | spirv_hlsl.cpp | 612 …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 …]
|