Home
last modified time | relevance | path

Searched refs:enclose_expression (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/third_party/externals/spirv-cross/
Dspirv_glsl.cpp2852 auto e = enclose_expression(expr) + "."; in remap_swizzle()
4261 string CompilerGLSL::enclose_expression(const string &expr) in enclose_expression() function in CompilerGLSL
4316 return join(enclose_expression(expr), ".value"); in dereference_expression()
4330 return enclose_expression(expr.substr(2, expr.size() - 3)); in address_of_expression()
4339 return join('&', enclose_expression(expr)); in address_of_expression()
4345 return enclose_expression(to_expression(id, register_expression_read)); in to_enclosed_expression()
8638 expr += enclose_expression(to_array_size(*type, j - 1)); in access_chain_internal()
8719 expr += enclose_expression(to_array_size(parent_type, j - 1)); in access_chain_internal()
10034 expr = enclose_expression(expr + vector_swizzle(type.vecsize, 0)); in emit_instruction()
10775 enclose_expression(to_unpacked_row_major_matrix_expression(ops[2]))); in emit_instruction()
[all …]
Dspirv_msl.cpp4491 lhs = join("(device ", type_to_glsl(type), "&)", enclose_expression(lhs)); in emit_store_statement()
4540 return enclose_expression(expr_str) + swizzle_lut[type.vecsize - 1]; in unpack_expression_type()
4546 return enclose_expression(expr_str) + swizzle_lut[type.vecsize - 1]; in unpack_expression_type()
7421 expr = join("((", addr_space, " ", type_to_glsl(type), "*)&", enclose_expression(expr), ")"); in prepare_access_chain_for_scalar_access()
8213 …join("spvFMulMatrixMatrix(", enclose_expression(to_unpacked_row_major_matrix_expression(ops[3])), … in emit_instruction()
8214 enclose_expression(to_unpacked_row_major_matrix_expression(ops[2])), ")"); in emit_instruction()
9515 tex_coords = enclose_expression(tex_coords) + ".x"; in to_function_args()
9535 tex_coords = enclose_expression(tex_coords) + ".x"; in to_function_args()
9571 tex_coords = enclose_expression(tex_coords) + ".xy"; in to_function_args()
9583 tex_coords = enclose_expression(tex_coords) + ".xyz"; in to_function_args()
[all …]
Dspirv_glsl.hpp730 std::string enclose_expression(const std::string &expr);
Dspirv_hlsl.cpp4114 ret = enclose_expression(ret); in write_access_chain_value()
4425 value_expr = join("-", enclose_expression(value_expr)); in emit_atomic()