Home
last modified time | relevance | path

Searched refs:kUInt (Results 1 – 25 of 70) sorted by relevance

123

/external/deqp-deps/amber/src/
Dtype_parser_test.cc81 {FormatComponentType::kA, FormatMode::kUInt, 2}, in TEST_F()
82 {FormatComponentType::kB, FormatMode::kUInt, 10}, in TEST_F()
83 {FormatComponentType::kG, FormatMode::kUInt, 10}, in TEST_F()
84 {FormatComponentType::kR, FormatMode::kUInt, 10}, in TEST_F()
141 {FormatComponentType::kA, FormatMode::kUInt, 2}, in TEST_F()
142 {FormatComponentType::kR, FormatMode::kUInt, 10}, in TEST_F()
143 {FormatComponentType::kG, FormatMode::kUInt, 10}, in TEST_F()
144 {FormatComponentType::kB, FormatMode::kUInt, 10}, in TEST_F()
211 {FormatComponentType::kA, FormatMode::kUInt, 8}, in TEST_F()
212 {FormatComponentType::kB, FormatMode::kUInt, 8}, in TEST_F()
[all …]
Dtype_test.cc224 EXPECT_TRUE(Type::IsInt(FormatMode::kUInt)); in TEST_F()
236 EXPECT_FALSE(Type::IsSignedInt(FormatMode::kUInt)); in TEST_F()
248 EXPECT_TRUE(Type::IsUnsignedInt(FormatMode::kUInt)); in TEST_F()
260 EXPECT_FALSE(Type::IsFloat(FormatMode::kUInt)); in TEST_F()
272 EXPECT_FALSE(Type::IsInt8(FormatMode::kUInt, 8)); in TEST_F()
284 EXPECT_FALSE(Type::IsInt16(FormatMode::kUInt, 16)); in TEST_F()
296 EXPECT_FALSE(Type::IsInt32(FormatMode::kUInt, 32)); in TEST_F()
308 EXPECT_FALSE(Type::IsInt64(FormatMode::kUInt, 64)); in TEST_F()
320 EXPECT_TRUE(Type::IsUint8(FormatMode::kUInt, 8)); in TEST_F()
332 EXPECT_TRUE(Type::IsUint16(FormatMode::kUInt, 16)); in TEST_F()
[all …]
Dformat_test.cc271 EXPECT_EQ(FormatMode::kUInt, segs[0].GetFormatMode()); in TEST_F()
285 EXPECT_EQ(FormatMode::kUInt, segs[0].GetFormatMode()); in TEST_F()
287 EXPECT_EQ(FormatMode::kUInt, segs[1].GetFormatMode()); in TEST_F()
301 EXPECT_EQ(FormatMode::kUInt, segs[0].GetFormatMode()); in TEST_F()
303 EXPECT_EQ(FormatMode::kUInt, segs[1].GetFormatMode()); in TEST_F()
305 EXPECT_EQ(FormatMode::kUInt, segs[2].GetFormatMode()); in TEST_F()
321 EXPECT_EQ(FormatMode::kUInt, segs[0].GetFormatMode()); in TEST_F()
323 EXPECT_EQ(FormatMode::kUInt, segs[1].GetFormatMode()); in TEST_F()
325 EXPECT_EQ(FormatMode::kUInt, segs[2].GetFormatMode()); in TEST_F()
460 EXPECT_EQ(FormatMode::kUInt, segs[1].GetFormatMode()); in TEST_F()
[all …]
Dtype_parser.cc104 mode_ = FormatMode::kUInt; in ProcessChunk()
466 mode = type.is_signed ? FormatMode::kSInt : FormatMode::kUInt; in ParseGlslFormat()
509 else if (mode == FormatMode::kUInt) in ParseGlslFormat()
Dtype.cc60 return MakeUnique<Number>(FormatMode::kUInt, bits); in Uint()
Dformat_data.h30 kUInt, enumerator
/external/deqp-deps/amber/src/vkscript/
Ddatum_type_parser_test.cc80 DatumTypeData{"uint", FormatMode::kUInt, 32, 1, 1},
82 DatumTypeData{"uint8_t", FormatMode::kUInt, 8, 1, 1},
84 DatumTypeData{"uint16_t", FormatMode::kUInt, 16, 1, 1},
86 DatumTypeData{"uint64_t", FormatMode::kUInt, 64, 1, 1},
98 DatumTypeData{"uvec2", FormatMode::kUInt, 32, 1, 2},
99 DatumTypeData{"uvec3", FormatMode::kUInt, 32, 1, 3},
100 DatumTypeData{"uvec4", FormatMode::kUInt, 32, 1, 4},
104 DatumTypeData{"u8vec2", FormatMode::kUInt, 8, 1, 2},
105 DatumTypeData{"u8vec3", FormatMode::kUInt, 8, 1, 3},
106 DatumTypeData{"u8vec4", FormatMode::kUInt, 8, 1, 4},
[all …]
Ddatum_type_parser.cc59 mode = FormatMode::kUInt; in Parse()
/external/OpenCL-CTS/test_common/harness/
Dconversions.cpp51 case kUInt: in print_type_to_string()
426 case kUInt: in convert_explicit_value()
466 SIMPLE_CAST_CASE(char, kUInt, uint) in convert_explicit_value()
498 SIMPLE_CAST_CASE(uchar, kUInt, uint) in convert_explicit_value()
530 SIMPLE_CAST_CASE(uchar, kUInt, uint) in convert_explicit_value()
562 SIMPLE_CAST_CASE(short, kUInt, uint) in convert_explicit_value()
594 SIMPLE_CAST_CASE(ushort, kUInt, uint) in convert_explicit_value()
626 SIMPLE_CAST_CASE(ushort, kUInt, uint) in convert_explicit_value()
658 DOWN_CAST_CASE(int, kUInt, uint, saturate) in convert_explicit_value()
674 case kUInt: in convert_explicit_value()
[all …]
Dconversions.h40 kUInt, enumerator
/external/OpenCL-CTS/test_conformance/gles/
Dhelpers.cpp64 return kUInt; in get_read_kernel_type()
97 return kUInt; in get_write_kernel_type()
124 if(type != kUInt) return "convert_uint4"; in get_write_conversion()
202 case kUInt: in convert_to_expected()
262 case kUInt: in convert_to_expected()
309 else if( inType == kUInt ) in convert_to_expected()
343 UPSCALE_FLOAT_CASE( kUInt, uint, 4294967295.f ) in convert_to_expected()
Dtest_buffers.cpp65 TYPE_CASE( kUInt, uint, 0x0fffffff, 0 ) in gen_input_data()
119 INC_CASE( kUInt, uint ) in get_incremented_value()
308 …ExplicitType vecType[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kFloat, kNu… in test_buffers()
355 …ExplicitType vecType[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kFloat, kNu… in test_buffers_getinfo()
/external/OpenCL-CTS/test_conformance/integer_ops/
Dtest_integers.cpp228 …ExplicitType types[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kNumExplicitT… in test_single_param_integer_fn()
280 case kUInt: in verify_integer_clz()
323 case kUInt: in verify_integer_clz()
373 case kUInt: in verify_integer_ctz()
416 case kUInt: in verify_integer_ctz()
454 OP_CASE( op, kUInt, uint ) \
511 OP_CASE_GUARD( op, kUInt, uint ) \
570 case kUInt: in patchup_divide_results()
777 …ExplicitType types[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kNumExplicitT… in test_two_param_integer_fn()
803 …ExplicitType types[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kNumExplicitT… in test_two_param_unmatched_integer_fn()
[all …]
Dtest_upsample.cpp225 ExplicitType typesToTest[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kNumExplicitTypes }; in test_integer_upsample()
226 … ExplicitType baseTypes[] = { kUChar, kUChar, kUShort, kUShort, kUInt, kUInt, kNumExplicitTypes }; in test_integer_upsample()
227 ExplicitType outTypes[] = { kShort, kUShort, kInt, kUInt, kLong, kULong, kNumExplicitTypes }; in test_integer_upsample()
Dtest_int_basic_ops.cpp144 kUInt,
228 case kUInt: in perThreadDataInit()
652 case kUInt: in test_integer_ops()
716 case kUInt: in test_integer_ops()
1058 return run_test_math(deviceID, context, queue, num_elements, kUInt, LONG_MATH_SHIFT_SIZE); in test_uint_math()
1061 return run_test_logic(deviceID, context, queue, num_elements, kUInt, LONG_MATH_SHIFT_SIZE); in test_uint_logic()
1064 return run_test_shift(deviceID, context, queue, num_elements, kUInt, LONG_MATH_SHIFT_SIZE); in test_uint_shift()
1067 return run_test_compare(deviceID, context, queue, num_elements, kUInt, LONG_MATH_SHIFT_SIZE); in test_uint_compare()
1070 return run_test_math(deviceID, context, queue, num_elements, kUInt, QUICK_MATH_SHIFT_SIZE); in test_quick_uint_math()
1073 return run_test_logic(deviceID, context, queue, num_elements, kUInt, QUICK_MATH_SHIFT_SIZE); in test_quick_uint_logic()
[all …]
/external/OpenCL-CTS/test_conformance/gl/
Dhelpers.cpp73 return kUInt; in get_read_kernel_type()
109 return kUInt; in get_write_kernel_type()
143 if(type != kUInt) return "convert_uint4"; in get_write_conversion()
228 case kUInt: in convert_to_expected()
288 case kUInt: in convert_to_expected()
335 else if( inType == kUInt ) in convert_to_expected()
391 UPSCALE_FLOAT_CASE( kUInt, uint, 4294967295.f ) in convert_to_expected()
Dcommon.h50 { GL_RGBA32UI_EXT, GL_RGBA_INTEGER_EXT, GL_UNSIGNED_INT, kUInt },
59 { GL_DEPTH24_STENCIL8, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8, kUInt },
Dtest_buffers.cpp62 TYPE_CASE( kUInt, uint, 0x0fffffff, 0 ) in gen_input_data()
116 INC_CASE( kUInt, uint ) in get_incremented_value()
301 …ExplicitType vecType[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kFloat, kNu… in test_buffers()
329 …ExplicitType vecType[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kFloat, kNu… in test_buffers_getinfo()
/external/deqp-deps/amber/src/amberscript/
Dparser_buffer_test.cc826 BufferData{"uint8", FormatMode::kUInt, 8, 1, 1, false},
827 BufferData{"uint16", FormatMode::kUInt, 16, 1, 1, false},
828 BufferData{"uint32", FormatMode::kUInt, 32, 1, 1, false},
829 BufferData{"uint64", FormatMode::kUInt, 64, 1, 1, false},
834 BufferData{"vec4<uint32>", FormatMode::kUInt, 32, 4, 1, false},
837 BufferData{"mat4x2<uint16>", FormatMode::kUInt, 16, 2, 4, false},
849 BufferData{"uint8[]", FormatMode::kUInt, 8, 1, 1, true},
850 BufferData{"uint16[]", FormatMode::kUInt, 16, 1, 1, true},
851 BufferData{"uint32[]", FormatMode::kUInt, 32, 1, 1, true},
852 BufferData{"uint64[]", FormatMode::kUInt, 64, 1, 1, true},
[all …]
/external/OpenCL-CTS/test_conformance/vectors/
Dglobals.cpp38 kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong,
/external/OpenCL-CTS/test_conformance/atomics/
Dtest_atomics.cpp100 case kUInt: in check_atomic_support()
137 bool isUnsigned = ( dataType == kULong ) || ( dataType == kUInt ); in test_atomic_function()
434 …ceID, context, queue, num_elements, programCore, testFns, extended, false, kUInt, matchGroupSize ); in test_atomic_function_set()
436 …iceID, context, queue, num_elements, programCore, testFns, extended, true, kUInt, matchGroupSize ); in test_atomic_function_set()
934 …ction( deviceID, context, queue, num_elements, atom_cmpxchg_core, set, false, false, kUInt, true ); in test_atomic_cmpxchg()
936 …nction( deviceID, context, queue, num_elements, atom_cmpxchg_core, set, false, true, kUInt, true ); in test_atomic_cmpxchg()
945 …ion( deviceID, context, queue, num_elements, atomic_cmpxchg_core, set, false, false, kUInt, true ); in test_atomic_cmpxchg()
947 …tion( deviceID, context, queue, num_elements, atomic_cmpxchg_core, set, false, true, kUInt, true ); in test_atomic_cmpxchg()
/external/OpenCL-CTS/test_conformance/relationals/
Dtest_relationals.cpp503 …ExplicitType vecType[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kFloat, kDo… in test_relational_bitselect()
587 …ExplicitType vecType[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kFloat, kDo… in test_relational_select_signed()
640 case kUInt: in select_unsigned_verify_fn()
660 case kUInt: in select_unsigned_verify_fn()
676 …ExplicitType vecType[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kFloat, kDo… in test_relational_select_unsigned()
677 ExplicitType testVecType[] = { kUChar, kUShort, kUInt, kULong, kNumExplicitTypes }; in test_relational_select_unsigned()
/external/OpenCL-CTS/test_conformance/basic/
Dtest_vec_type_hint.cpp45 …ExplicitType vecType[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kFloat, kDo… in test_vec_type_hint()
Dtest_local_kernel_scope.cpp89 generate_random_data( kUInt, testSize, randSeed, inputData ); in test_local_kernel_scope()
/external/OpenCL-CTS/test_conformance/api/
Dtest_mem_object_properties_queries.cpp206 generate_random_data(kUInt, size, init_generator, src_data.data()); in run_test_query_properties()
207 generate_random_data(kUInt, size, init_generator, dst_data.data()); in run_test_query_properties()

123