/external/mesa3d/src/compiler/glsl/ |
D | ir_expression_operation.py | 86 bool_type = type("bool", "b", "GLSL_TYPE_BOOL") variable 88 all_types = (uint_type, int_type, float_type, double_type, uint64_type, int64_type, bool_type) 417 operation("logic_not", 1, printable_name="!", source_types=(bool_type,), c_expression="!{src0}"), 436 …operation("f2b", 1, source_types=(float_type,), dest_type=bool_type, c_expression="{src0} != 0.0F … 438 …operation("b2f", 1, source_types=(bool_type,), dest_type=float_type, c_expression="{src0} ? 1.0F :… 440 …operation("i2b", 1, source_types=(uint_type, int_type), dest_type=bool_type, c_expression="{src0} … 442 … operation("b2i", 1, source_types=(bool_type,), dest_type=int_type, c_expression="{src0} ? 1 : 0"), 462 …operation("d2b", 1, source_types=(double_type,), dest_type=bool_type, c_expression="{src0} != 0.0"… 485 …operation("i642b", 1, source_types=(int64_type,), dest_type=bool_type, c_expression="{src0} != 0"), 492 operation("b2i64", 1, source_types=(bool_type,), dest_type=int64_type, c_expression="{src0}"), [all …]
|
D | lower_if_to_cond_assign.cpp | 196 glsl_type::bool_type, in move_block_to_cond_assign() 205 glsl_type::bool_type, in move_block_to_cond_assign() 278 new(mem_ctx) ir_variable(glsl_type::bool_type, in visit_leave() 305 new(mem_ctx) ir_variable(glsl_type::bool_type, in visit_leave()
|
D | lower_discard.cpp | 178 ir_variable *temp = new(mem_ctx) ir_variable(glsl_type::bool_type, in visit_leave()
|
D | lower_jumps.cpp | 191 …this->execute_flag = new(this->signature) ir_variable(glsl_type::bool_type, "execute_flag", ir_var… in get_execute_flag() 202 …this->break_flag = new(this->signature) ir_variable(glsl_type::bool_type, "break_flag", ir_var_tem… in get_break_flag() 231 …this->return_flag = new(this->signature) ir_variable(glsl_type::bool_type, "return_flag", ir_var_t… in get_return_flag()
|
D | lower_discard_flow.cpp | 145 ir_variable *var = new(mem_ctx) ir_variable(glsl_type::bool_type, in lower_discard_flow()
|
D | lower_vector_insert.cpp | 121 factory.make_temp(glsl_type::bool_type, "index_condition"); in handle_rvalue()
|
D | loop_analysis.cpp | 159 ? new(mem_ctx) ir_expression(op, glsl_type::bool_type, to, add) in calculate_iterations() 160 : new(mem_ctx) ir_expression(op, glsl_type::bool_type, add, to); in calculate_iterations()
|
D | ir_builder_print_visitor.cpp | 101 ir->type == glsl_type::bool_type) in is_simple_operand() 353 ir->type == glsl_type::bool_type) { in visit()
|
D | ir_validate.cpp | 142 if (ir->condition && ir->condition->type != glsl_type::bool_type) { in visit_enter() 156 if (ir->condition->type != glsl_type::bool_type) { in visit_enter() 671 assert(ir->type == glsl_type::bool_type); in visit_leave()
|
D | builtin_functions.cpp | 1560 _mix_sel(v130, glsl_type::float_type, glsl_type::bool_type), in create_builtins() 1565 _mix_sel(fp64, glsl_type::double_type, glsl_type::bool_type), in create_builtins() 1570 _mix_sel(shader_integer_mix, glsl_type::int_type, glsl_type::bool_type), in create_builtins() 1575 _mix_sel(shader_integer_mix, glsl_type::uint_type, glsl_type::bool_type), in create_builtins() 1580 _mix_sel(shader_integer_mix, glsl_type::bool_type, glsl_type::bool_type), in create_builtins() 1585 _mix_sel(int64, glsl_type::int64_t_type, glsl_type::bool_type), in create_builtins() 1590 _mix_sel(int64, glsl_type::uint64_t_type, glsl_type::bool_type), in create_builtins() 5024 MAKE_SIG(glsl_type::bool_type, always_available, 1, v); in _any() 5036 MAKE_SIG(glsl_type::bool_type, always_available, 1, v); in _all() 5378 const glsl_type *return_type = glsl_type::bool_type; in _textureSamplesIdentical() [all …]
|
D | ast_to_hir.cpp | 715 return glsl_type::bool_type; in relational_result_type() 1552 assert(result->type == glsl_type::bool_type); in do_hir() 1593 ir_variable *const tmp = new(ctx) ir_variable(glsl_type::bool_type, in do_hir() 1627 ir_variable *const tmp = new(ctx) ir_variable(glsl_type::bool_type, in do_hir() 1663 result = new(ctx) ir_expression(operations[this->oper], glsl_type::bool_type, in do_hir() 1671 result = new(ctx) ir_expression(operations[this->oper], glsl_type::bool_type, in do_hir() 6431 new(ctx) ir_variable(glsl_type::bool_type, in hir() 6444 new(ctx) ir_variable(glsl_type::bool_type, in hir() 6456 new(ctx) ir_variable(glsl_type::bool_type, in hir()
|
D | ir.cpp | 445 this->type = glsl_type::bool_type; in ir_expression() 1490 assert(type == glsl_type::bool_type); in set_sampler()
|
D | builtin_int64.h | 491 ir_variable *const r0060 = new(mem_ctx) ir_variable(glsl_type::bool_type, "negate", ir_var_auto); in idiv64() 955 ir_variable *const r00C3 = new(mem_ctx) ir_variable(glsl_type::bool_type, "negate", ir_var_auto); in imod64()
|
D | builtin_variables.cpp | 445 bool_t(glsl_type::bool_type), int_t(glsl_type::int_type), in builtin_variable_generator()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | merge_return_pass.cpp | 414 analysis::Bool bool_type; in BreakFromConstruct() local 415 uint32_t bool_id = context()->get_type_mgr()->GetId(&bool_type); in BreakFromConstruct() 450 const analysis::Bool* bool_type = in RecordReturned() local 455 const_mgr->GetConstant(bool_type, {true}); in RecordReturned() 528 analysis::Bool* bool_type = type_mgr->GetType(bool_id)->AsBool(); in AddReturnFlag() local 531 const_mgr->GetConstant(bool_type, {false}); in AddReturnFlag()
|
D | ir_builder.h | 273 analysis::Bool bool_type; in AddULessThan() local 274 uint32_t type = GetContext()->get_type_mgr()->GetId(&bool_type); in AddULessThan() 287 analysis::Bool bool_type; in AddSLessThan() local 288 uint32_t type = GetContext()->get_type_mgr()->GetId(&bool_type); in AddSLessThan()
|
D | const_folding_rules.cpp | 771 const analysis::Type* bool_type = in FoldFClampFeedingCompare() local 774 const_mgr->GetConstant(bool_type, {static_cast<uint32_t>(result)}); in FoldFClampFeedingCompare()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | merge_return_pass.cpp | 428 analysis::Bool bool_type; in BreakFromConstruct() local 429 uint32_t bool_id = context()->get_type_mgr()->GetId(&bool_type); in BreakFromConstruct() 466 const analysis::Bool* bool_type = in RecordReturned() local 471 const_mgr->GetConstant(bool_type, {true}); in RecordReturned() 544 analysis::Bool* bool_type = type_mgr->GetType(bool_id)->AsBool(); in AddReturnFlag() local 547 const_mgr->GetConstant(bool_type, {false}); in AddReturnFlag()
|
D | ir_builder.h | 273 analysis::Bool bool_type; in AddULessThan() local 274 uint32_t type = GetContext()->get_type_mgr()->GetId(&bool_type); in AddULessThan() 287 analysis::Bool bool_type; in AddSLessThan() local 288 uint32_t type = GetContext()->get_type_mgr()->GetId(&bool_type); in AddSLessThan()
|
D | const_folding_rules.cpp | 771 const analysis::Type* bool_type = in FoldFClampFeedingCompare() local 774 const_mgr->GetConstant(bool_type, {static_cast<uint32_t>(result)}); in FoldFClampFeedingCompare()
|
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/ |
D | structured_loop_to_selection_reduction_opportunity.cpp | 221 const analysis::Bool* bool_type = in ChangeLoopToSelection() local 224 auto true_const = const_mgr->GetConstant(bool_type, {true}); in ChangeLoopToSelection()
|
/external/deqp-deps/SPIRV-Tools/source/reduce/ |
D | structured_loop_to_selection_reduction_opportunity.cpp | 219 const analysis::Bool* bool_type = in ChangeLoopToSelection() local 222 auto true_const = const_mgr->GetConstant(bool_type, {true}); in ChangeLoopToSelection()
|
/external/mesa3d/src/compiler/ |
D | nir_types.cpp | 345 return glsl_type::bool_type; in glsl_bool_type()
|
D | glsl_types.cpp | 358 return bool_type; in get_base_type() 394 return bool_type; in get_scalar_type() 566 bool_type, bvec2_type, bvec3_type, bvec4_type in bvec()
|
/external/flatbuffers/src/ |
D | idl_gen_general.cpp | 38 std::string bool_type; member 865 code += lang_.bool_type + struct_def.name; in GenStruct() 1238 code += struct_def.fixed ? "void " : lang_.bool_type; in GenStruct()
|