Home
last modified time | relevance | path

Searched refs:shaderData (Results 1 – 14 of 14) sorted by relevance

/third_party/skia/tests/
DSkSLES2ConformanceTest.cpp40 sk_sp<SkData> shaderData = GetResourceAsData(testFile); in test_expect_fail() local
41 if (!shaderData) { in test_expect_fail()
46 SkString shaderString{reinterpret_cast<const char*>(shaderData->bytes()), shaderData->size()}; in test_expect_fail()
57 sk_sp<SkData> shaderData = GetResourceAsData(testFile); in test_expect_pass() local
58 if (!shaderData) { in test_expect_pass()
63 SkString shaderString{reinterpret_cast<const char*>(shaderData->bytes()), shaderData->size()}; in test_expect_pass()
DSkSLTest.cpp54 sk_sp<SkData> shaderData = GetResourceAsData(resourcePath.c_str()); in test_one_permutation() local
55 if (!shaderData) { in test_one_permutation()
60 SkString shaderString{reinterpret_cast<const char*>(shaderData->bytes()), shaderData->size()}; in test_one_permutation()
/third_party/skia/third_party/externals/dawn/examples/
DAnimometer.cpp50 static std::vector<ShaderData> shaderData; variable
132 shaderData.resize(kNumTriangles); in init()
133 for (auto& data : shaderData) { in init()
155 for (auto& data : shaderData) { in frame()
158 queue.WriteBuffer(ubo, 0, shaderData.data(), kNumTriangles * sizeof(ShaderData)); in frame()
/third_party/flutter/skia/third_party/externals/dawn/examples/
DAnimometer.cpp48 static std::vector<ShaderData> shaderData; variable
125 shaderData.resize(kNumTriangles); in init()
126 for (auto& data : shaderData) { in init()
149 for (auto& data : shaderData) { in frame()
152 ubo.SetSubData(0, kNumTriangles * sizeof(ShaderData), shaderData.data()); in frame()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcSeparableProgramsTransformFeedbackTests.cpp152 …SeparableProgramTFTestCase(deqp::Context& context, const char* name, PerStageData shaderData, GLin…
169 PerStageData shaderData, GLint expectedValue) in SeparableProgramTFTestCase() argument
170 : deqp::TestCase(context, name, ""), m_shaderData(shaderData), m_expectedValue(expectedValue) in SeparableProgramTFTestCase()
/third_party/vk-gl-cts/external/vulkancts/vkscpc/
Dvkscpc.cpp215 std::vector<deUint8> shaderData (fileSize); in importFilesForExternalCompiler() local
217 iFile.read(reinterpret_cast<char*>(shaderData.data()), fileSize); in importFilesForExternalCompiler()
227 reinterpret_cast<deUint32*>(shaderData.data()) // const deUint32* pCode; in importFilesForExternalCompiler()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
DvktRayTracingPipelineLibraryTests.cpp447 …ipeline>>& pipeline, const std::vector<std::tuple<std::string, VkShaderStageFlagBits>>& shaderData) in compileShaders() argument
452 for (deUint32 i=0; i< shaderData.size(); ++i) in compileShaders()
456 std::tie(shaderName, shaderStage) = shaderData[i]; in compileShaders()
466 const std::vector<std::tuple<std::string, VkShaderStageFlagBits>>& shaderData; member
472 compileShaders(csmd->deviceHelper, csmd->context, csmd->pipeline, csmd->shaderData); in compileShadersThread()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingPipelineLibraryTests.cpp447 …ipeline>>& pipeline, const std::vector<std::tuple<std::string, VkShaderStageFlagBits>>& shaderData) in compileShaders() argument
452 for (deUint32 i=0; i< shaderData.size(); ++i) in compileShaders()
456 std::tie(shaderName, shaderStage) = shaderData[i]; in compileShaders()
466 const std::vector<std::tuple<std::string, VkShaderStageFlagBits>>& shaderData; member
472 compileShaders(csmd->deviceHelper, csmd->context, csmd->pipeline, csmd->shaderData); in compileShadersThread()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DBlit11.h231 const ShaderData &shaderData,
252 const ShaderData &shaderData,
DBlit11.cpp1334 const ShaderData &shaderData, in addBlitShaderToMap() argument
1340 ANGLE_TRY(mRenderer->allocateResource(GetImplAs<Context11>(context), shaderData, &ps)); in addBlitShaderToMap()
1354 const ShaderData &shaderData, in addSwizzleShaderToMap() argument
1360 ANGLE_TRY(mRenderer->allocateResource(GetImplAs<Context11>(context), shaderData, &ps)); in addSwizzleShaderToMap()
DRenderer11.cpp2678 ShaderData shaderData(function, length); in loadExecutable() local
2686 ANGLE_TRY(allocateResource(context, shaderData, &vertexShader)); in loadExecutable()
2706 ANGLE_TRY(allocateResource(context, shaderData, &soDeclaration, &streamOutShader)); in loadExecutable()
2716 ANGLE_TRY(allocateResource(context, shaderData, &pixelShader)); in loadExecutable()
2723 ANGLE_TRY(allocateResource(context, shaderData, &geometryShader)); in loadExecutable()
2730 ANGLE_TRY(allocateResource(context, shaderData, &computeShader)); in loadExecutable()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DBlit11.h231 const ShaderData &shaderData,
252 const ShaderData &shaderData,
DBlit11.cpp1338 const ShaderData &shaderData, in addBlitShaderToMap() argument
1344 ANGLE_TRY(mRenderer->allocateResource(GetImplAs<Context11>(context), shaderData, &ps)); in addBlitShaderToMap()
1358 const ShaderData &shaderData, in addSwizzleShaderToMap() argument
1364 ANGLE_TRY(mRenderer->allocateResource(GetImplAs<Context11>(context), shaderData, &ps)); in addSwizzleShaderToMap()
DRenderer11.cpp2997 ShaderData shaderData(function, length); in loadExecutable() local
3005 ANGLE_TRY(allocateResource(context, shaderData, &vertexShader)); in loadExecutable()
3025 ANGLE_TRY(allocateResource(context, shaderData, &soDeclaration, &streamOutShader)); in loadExecutable()
3035 ANGLE_TRY(allocateResource(context, shaderData, &pixelShader)); in loadExecutable()
3042 ANGLE_TRY(allocateResource(context, shaderData, &geometryShader)); in loadExecutable()
3049 ANGLE_TRY(allocateResource(context, shaderData, &computeShader)); in loadExecutable()