Home
last modified time | relevance | path

Searched refs:valueExpr (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/src/sksl/ir/
DSkSLSwitchStatement.cpp58 const std::unique_ptr<Expression>& valueExpr = sc->value(); in find_duplicate_case_values() local
61 if (!valueExpr) { in find_duplicate_case_values()
73 SkAssertResult(ConstantFolder::GetConstantInt(*valueExpr, &intValue)); in find_duplicate_case_values()
DSkSLType.cpp818 const Expression* valueExpr = ConstantFolder::GetConstantValueForVariable(expr); in checkForOutOfRangeLiteral() local
819 if (valueExpr->supportsConstantValues()) { in checkForOutOfRangeLiteral()
821 int numSlots = valueExpr->type().slotCount(); in checkForOutOfRangeLiteral()
823 skstd::optional<double> slotVal = valueExpr->getConstantValue(slot); in checkForOutOfRangeLiteral()
826 baseType.checkForOutOfRangeLiteral(context, *slotVal, valueExpr->fLine)) { in checkForOutOfRangeLiteral()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBufferTests.cpp760 …const std::string valueExpr = (aliased ? "ivec4(3*(ndx % nonAliasedSize) ^ 127, 0, 0, 0)" : "ive… in initProgramsDrawWithUBO() local
793 << " ok = ok && (ubo.data[ndx] == " + valueExpr + ");\n"; in initProgramsDrawWithUBO()
799 << " ok = ok && (ubo.data[ndx] == " << valueExpr << ");\n"; in initProgramsDrawWithUBO()
802 src << " ok = ok && (ubo.data[ndx] == " << valueExpr << ");\n"; in initProgramsDrawWithUBO()