Home
last modified time | relevance | path

Searched refs:kSigned (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/src/sksl/ir/
DSkSLType.h99 kSigned, enumerator
249 case NumberKind::kSigned: in isNumber()
268 return this->numberKind() == NumberKind::kSigned; in isSigned()
283 case NumberKind::kSigned: in isInteger()
DSkSLType.cpp557 case Type::NumberKind::kSigned: in applyPrecisionQualifiers()
/third_party/skia/src/sksl/
DSkSLBuiltinTypes.cpp32 "int", "i", Type::NumberKind::kSigned, /*priority=*/7, /*bitWidth=*/32)) in BuiltinTypes()
42 "short", "s", Type::NumberKind::kSigned, /*priority=*/4, /*bitWidth=*/16)) in BuiltinTypes()
/third_party/flutter/skia/third_party/externals/spirv-tools/test/val/
Dval_id_test.cpp536 enum Signed { kSigned, kUnsigned }; enumerator
548 ss << " %t = OpTypeInt " << width << (isSigned == kSigned ? " 1" : " 0"); in MakeArrayLength()
585 Val(CompileSuccessfully(MakeArrayLength("1", kSigned, width)))); in TEST_P()
589 Val(CompileSuccessfully(MakeArrayLength("2", kSigned, width)))); in TEST_P()
593 Val(CompileSuccessfully(MakeArrayLength("55", kSigned, width)))); in TEST_P()
599 Val(CompileSuccessfully(MakeArrayLength("0x7" + fpad, kSigned, width)))); in TEST_P()
608 Val(CompileSuccessfully(MakeArrayLength("0", kSigned, width)), in TEST_P()
620 Val(CompileSuccessfully(MakeArrayLength("-1", kSigned, width)), in TEST_P()
624 Val(CompileSuccessfully(MakeArrayLength("-2", kSigned, width)), in TEST_P()
628 Val(CompileSuccessfully(MakeArrayLength("-123", kSigned, width)), in TEST_P()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_id_test.cpp789 enum Signed { kSigned, kUnsigned }; enumerator
816 ss << " %t = OpTypeInt " << width << (isSigned == kSigned ? " 1" : " 0"); in MakeArrayLength()
866 Val(CompileSuccessfully(MakeArrayLength("1", kSigned, width)))); in TEST_P()
870 Val(CompileSuccessfully(MakeArrayLength("2", kSigned, width)))); in TEST_P()
874 Val(CompileSuccessfully(MakeArrayLength("55", kSigned, width)))); in TEST_P()
880 Val(CompileSuccessfully(MakeArrayLength("0x7" + fpad, kSigned, width)))) in TEST_P()
881 << MakeArrayLength("0x7" + fpad, kSigned, width); in TEST_P()
887 Val(CompileSuccessfully(MakeArrayLength("0", kSigned, width)), in TEST_P()
899 Val(CompileSuccessfully(MakeArrayLength("-1", kSigned, width)), in TEST_P()
903 Val(CompileSuccessfully(MakeArrayLength("-2", kSigned, width)), in TEST_P()
[all …]
/third_party/spirv-tools/test/val/
Dval_id_test.cpp789 enum Signed { kSigned, kUnsigned }; enumerator
816 ss << " %t = OpTypeInt " << width << (isSigned == kSigned ? " 1" : " 0"); in MakeArrayLength()
866 Val(CompileSuccessfully(MakeArrayLength("1", kSigned, width)))); in TEST_P()
870 Val(CompileSuccessfully(MakeArrayLength("2", kSigned, width)))); in TEST_P()
874 Val(CompileSuccessfully(MakeArrayLength("55", kSigned, width)))); in TEST_P()
880 Val(CompileSuccessfully(MakeArrayLength("0x7" + fpad, kSigned, width)))) in TEST_P()
881 << MakeArrayLength("0x7" + fpad, kSigned, width); in TEST_P()
887 Val(CompileSuccessfully(MakeArrayLength("0", kSigned, width)), in TEST_P()
899 Val(CompileSuccessfully(MakeArrayLength("-1", kSigned, width)), in TEST_P()
903 Val(CompileSuccessfully(MakeArrayLength("-2", kSigned, width)), in TEST_P()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/val/
Dval_id_test.cpp789 enum Signed { kSigned, kUnsigned }; enumerator
816 ss << " %t = OpTypeInt " << width << (isSigned == kSigned ? " 1" : " 0"); in MakeArrayLength()
866 Val(CompileSuccessfully(MakeArrayLength("1", kSigned, width)))); in TEST_P()
870 Val(CompileSuccessfully(MakeArrayLength("2", kSigned, width)))); in TEST_P()
874 Val(CompileSuccessfully(MakeArrayLength("55", kSigned, width)))); in TEST_P()
880 Val(CompileSuccessfully(MakeArrayLength("0x7" + fpad, kSigned, width)))) in TEST_P()
881 << MakeArrayLength("0x7" + fpad, kSigned, width); in TEST_P()
887 Val(CompileSuccessfully(MakeArrayLength("0", kSigned, width)), in TEST_P()
899 Val(CompileSuccessfully(MakeArrayLength("-1", kSigned, width)), in TEST_P()
903 Val(CompileSuccessfully(MakeArrayLength("-2", kSigned, width)), in TEST_P()
[all …]
/third_party/flutter/skia/src/sksl/
DSkSLByteCodeGenerator.cpp120 kSigned, enumerator
134 return TypeCategory::kSigned; in type_category()
573 case TypeCategory::kSigned: in writeTypedInstruction()
771 SkASSERT(outCategory == TypeCategory::kSigned || in writeConstructor()
775 if (inCategory == TypeCategory::kSigned) { in writeConstructor()
/third_party/skia/src/sksl/codegen/
DSkSLVMCodeGenerator.cpp313 case Type::NumberKind::kSigned: o->writeText("int"); break; in dump()
772 if (srcKind == Type::NumberKind::kSigned) { in writeTypeConversion()
788 case Type::NumberKind::kSigned: in writeTypeConversion()
806 if (srcKind == Type::NumberKind::kSigned) { in writeTypeConversion()
1416 case Type::NumberKind::kSigned: in writePrefixExpression()
1429 case Type::NumberKind::kSigned: in writePrefixExpression()
1458 case Type::NumberKind::kSigned: in writePostfixExpression()
/third_party/skia/tools/viewer/
DParticlesSlide.cpp368 case NumberKind::kSigned: dataType = ImGuiDataType_S32; break; in draw()