Home
last modified time | relevance | path

Searched refs:subconstants (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/spirv-cross/
Dspirv_common.hpp1259 if (!subconstants.empty()) in constant_is_null()
1281 subconstants.reserve(num_elements); in SPIRConstant()
1283 subconstants.push_back(elements[i]); in SPIRConstant()
1352 SmallVector<ConstantID> subconstants; member
Dspirv_cross_c.cpp2399 …static_assert(sizeof(spvc_constant_id) == sizeof(constant->subconstants.front()), "ID size is not … in spvc_constant_get_subconstants()
2400 *constituents = reinterpret_cast<spvc_constant_id *>(constant->subconstants.data()); in spvc_constant_get_subconstants()
2401 *count = constant->subconstants.size(); in spvc_constant_get_subconstants()
Dspirv_glsl.cpp3661 exprs.push_back(to_expression(get<SPIRConstant>(c.subconstants[j]).subconstants[i])); in emit_output_variable_initializer()
3709 statement(chain, " = ", to_expression(c.subconstants[i]), ";"); in emit_output_variable_initializer()
3733 uint32_t num_constants = uint32_t(c.subconstants.size()); in emit_output_variable_initializer()
3738 convert_to_string(this->get<SPIRConstant>(c.subconstants[i]).scalar_i32()), ";"); in emit_output_variable_initializer()
4883 else if (!c.subconstants.empty()) in constant_expression()
4910 for (auto &elem : c.subconstants) in constant_expression()
4918 if (&elem != &c.subconstants.back()) in constant_expression()
Dspirv_msl.cpp2818 this->get<SPIRConstant>(c->subconstants[mbr_idx])), ";"); in add_plain_member_variable_to_interface_block()
3128 initializer = c->subconstants[mbr_idx]; in add_variable_to_interface_block()
11462 "half(", to_expression(c->subconstants[i]), ");"); in entry_point_args_builtin()
11474 to_expression(c->subconstants[0]), ");"); in entry_point_args_builtin()
11483 "half(", to_expression(c->subconstants[i]), ");"); in entry_point_args_builtin()
Dspirv_hlsl.cpp1018 c->subconstants[i]; in emit_builtin_variables()