Searched refs:shader2 (Results 1 – 1 of 1) sorted by relevance
164 inline bool checkShader(const sk_sp<SkData>& shader1, const sk_sp<SkData>& shader2) { in checkShader() argument165 return nullptr != shader1 && nullptr != shader2 && shader1->size() == shader2->size() && in checkShader()166 0 == memcmp(shader1->data(), shader2->data(), shader1->size()); in checkShader()170 sk_sp<SkData> shader2 = SkData::MakeWithCString(program); in checkShader() local171 return checkShader(shader, shader2); in checkShader()180 sk_sp<SkData> shader2 = SkData::MakeWithCopy(program.data(), program.size() * sizeof(T)); in checkShader() local181 return checkShader(shader, shader2); in checkShader()411 constexpr char shader2[] = "someVS"; in RENDERTHREAD_TEST() local421 setShader(inVS, shader2 + std::to_string(saveIteration)); in RENDERTHREAD_TEST()438 ASSERT_TRUE(checkShader(outVS, shader2 + std::to_string(numIterations))); in RENDERTHREAD_TEST()