Searched refs:union_field (Results 1 – 1 of 1) sorted by relevance
27 def __init__(self, c_type, union_field, glsl_type): argument29 self.union_field = union_field397 src0 = "op[0]->value.{0}[{1}]".format(types[0].union_field, indices[0])398 …src1 = "op[1]->value.{0}[{1}]".format(types[1].union_field, indices[1]) if len(types) >= 2 else "E…399 …src2 = "op[2]->value.{0}[{1}]".format(types[2].union_field, indices[2]) if len(types) >= 3 else "E…400 src3 = "op[3]->value.{0}[c]".format(types[3].union_field) if len(types) >= 4 else "ERROR"402 …expr = self.c_expression[types[0].union_field] if types[0].union_field in self.c_expression else s…