Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/gpu/vk/
DGrVkPipelineStateBuilder.cpp159 VkShaderModule shaderModules[kGrShaderTypeCount] = { VK_NULL_HANDLE, in finalize() local
220 numShaderStages = this->loadShadersFromCache(*cached, shaderModules, shaderStageInfo); in finalize()
247 &shaderModules[kVertex_GrShaderType], in finalize()
256 &shaderModules[kFragment_GrShaderType], in finalize()
266 &shaderModules[kGeometry_GrShaderType], in finalize()
277 if (shaderModules[i]) { in finalize()
279 shaderModules[i], nullptr)); in finalize()
306 if (shaderModules[i]) { in finalize()
307 GR_VK_CALL(fGpu->vkInterface(), DestroyShaderModule(fGpu->device(), shaderModules[i], in finalize()
/third_party/skia/src/gpu/vk/
DGrVkPipelineStateBuilder.cpp170 VkShaderModule shaderModules[kGrShaderTypeCount] = { VK_NULL_HANDLE, in finalize() local
221 numShaderStages = this->loadShadersFromCache(&reader, shaderModules, shaderStageInfo); in finalize()
246 &shaderModules[kVertex_GrShaderType], in finalize()
254 &shaderModules[kFragment_GrShaderType], in finalize()
262 if (shaderModules[i]) { in finalize()
264 shaderModules[i], nullptr)); in finalize()
332 if (shaderModules[i]) { in finalize()
333 GR_VK_CALL(fGpu->vkInterface(), DestroyShaderModule(fGpu->device(), shaderModules[i], in finalize()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiPipelineTests.cpp1124 std::vector<Move<VkShaderModule>> shaderModules; in pipelineLayoutLifetimeTest() local
1129shaderModules.push_back(createShaderModule(vk, device, context.getBinaryCollection().get("vertex")… in pipelineLayoutLifetimeTest()
1130shaderModules.push_back(createShaderModule(vk, device, context.getBinaryCollection().get("fragment… in pipelineLayoutLifetimeTest()
1139 shaderModules[0].get(), // VkShaderModule shader; in pipelineLayoutLifetimeTest()
1148 shaderModules[1].get(), // VkShaderModule shader; in pipelineLayoutLifetimeTest()
1158shaderModules.push_back(createShaderModule(vk, device, context.getBinaryCollection().get("compute"… in pipelineLayoutLifetimeTest()
1166 shaderModules[0].get(), // VkShaderModule shader; in pipelineLayoutLifetimeTest()
1658 std::vector<Move<VkShaderModule>> shaderModules; in pipelineInvalidPointersUnusedStructsTest() local
1663shaderModules.push_back(createShaderModule(vk, device, context.getBinaryCollection().get("vertex")… in pipelineInvalidPointersUnusedStructsTest()
1664shaderModules.push_back(createShaderModule(vk, device, context.getBinaryCollection().get("fragment… in pipelineInvalidPointersUnusedStructsTest()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util/
DvktDrawUtil.cpp520 …object->shaderModules[shaderNdx] = createShaderModule(vk, device, *vulkanProgram.shaders[shaderNdx… in registerDrawObject()
527 vertShader = *object->shaderModules[shaderNdx]; in registerDrawObject()
530 tessControlShader = *object->shaderModules[shaderNdx]; in registerDrawObject()
533 tessEvalShader = *object->shaderModules[shaderNdx]; in registerDrawObject()
536 geomShader = *object->shaderModules[shaderNdx]; in registerDrawObject()
540 fragShader = *object->shaderModules[shaderNdx]; in registerDrawObject()
DvktDrawUtil.hpp154 vk::refdetails::Move<vk::VkShaderModule> shaderModules[MAX_NUM_SHADER_MODULES]; member
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DDevice.cpp55 ContentLessObjectCache<ShaderModuleBase> shaderModules; member
235 auto iter = mCaches->shaderModules.find(&blueprint); in GetOrCreateShaderModule()
236 if (iter != mCaches->shaderModules.end()) { in GetOrCreateShaderModule()
243 mCaches->shaderModules.insert(backendObj); in GetOrCreateShaderModule()
248 size_t removedCount = mCaches->shaderModules.erase(obj); in UncacheShaderModule()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmCrossStageInterfaceTests.cpp173 map<VkShaderStageFlagBits, ShaderModuleSP>& shaderModules,
420 map<VkShaderStageFlagBits, ShaderModuleSP>& shaderModules, in makeGraphicsPipeline() argument
497 …const VkShaderModule vertShader = shaderFlags & VK_SHADER_STAGE_VERTEX_BIT ? **shaderModules[VK_… in makeGraphicsPipeline()
498 …olShader = shaderFlags & VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT ? **shaderModules[VK_SHADER_STAG… in makeGraphicsPipeline()
499 …ader = shaderFlags & VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT ? **shaderModules[VK_SHADER_STAG… in makeGraphicsPipeline()
500 …const VkShaderModule geomShader = shaderFlags & VK_SHADER_STAGE_GEOMETRY_BIT ? **shaderModules[V… in makeGraphicsPipeline()
501 …const VkShaderModule fragShader = shaderFlags & VK_SHADER_STAGE_FRAGMENT_BIT ? **shaderModules[V… in makeGraphicsPipeline()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/
DvktRayQueryCullRayFlagsTests.cpp222 std::vector<de::SharedPtr<Move<VkShaderModule>>>& shaderModules, in registerShaderModule() argument
234shaderModules.push_back(makeVkSharedPtr(createShaderModule(vkd, device, context.getBinaryCollectio… in registerShaderModule()
242 shaderModules.back()->get(), // shader in registerShaderModule()
336 std::vector<de::SharedPtr<Move<VkShaderModule> > > shaderModules; member in vkt::RayQuery::__anond76e9e610111::GraphicsConfiguration
345 shaderModules.clear(); in ~GraphicsConfiguration()
390 …registerShaderModule(vkd, device, context, shaderModules, shaderCreateInfos, VK_SHADER_STAGE_VERTE… in initConfiguration()
391 …tescX = registerShaderModule(vkd, device, context, shaderModules, shaderCreateInfos, VK_SHADER_STA… in initConfiguration()
392 …teseX = registerShaderModule(vkd, device, context, shaderModules, shaderCreateInfos, VK_SHADER_STA… in initConfiguration()
393 …registerShaderModule(vkd, device, context, shaderModules, shaderCreateInfos, VK_SHADER_STAGE_GEOME… in initConfiguration()
394 …fragX = registerShaderModule(vkd, device, context, shaderModules, shaderCreateInfos, VK_SHADER_STA… in initConfiguration()
DvktRayQueryTraversalControlTests.cpp182 std::vector<de::SharedPtr<Move<VkShaderModule>>>& shaderModules, in registerShaderModule() argument
194shaderModules.push_back(makeVkSharedPtr(createShaderModule(vkd, device, context.getBinaryCollectio… in registerShaderModule()
202 shaderModules.back()->get(), // shader in registerShaderModule()
255 std::vector<de::SharedPtr<Move<VkShaderModule> > > shaderModules; member in vkt::RayQuery::__anonb2111d8d0111::GraphicsConfiguration
264 shaderModules.clear(); in ~GraphicsConfiguration()
309 …registerShaderModule(vkd, device, context, shaderModules, shaderCreateInfos, VK_SHADER_STAGE_VERTE… in initConfiguration()
310 …tescX = registerShaderModule(vkd, device, context, shaderModules, shaderCreateInfos, VK_SHADER_STA… in initConfiguration()
311 …teseX = registerShaderModule(vkd, device, context, shaderModules, shaderCreateInfos, VK_SHADER_STA… in initConfiguration()
312 …registerShaderModule(vkd, device, context, shaderModules, shaderCreateInfos, VK_SHADER_STAGE_GEOME… in initConfiguration()
313 …fragX = registerShaderModule(vkd, device, context, shaderModules, shaderCreateInfos, VK_SHADER_STA… in initConfiguration()
DvktRayQueryAccelerationStructuresTests.cpp265 std::vector<de::SharedPtr<Move<VkShaderModule>>>& shaderModules, in registerShaderModule() argument
277shaderModules.push_back(makeVkSharedPtr(createShaderModule(vkd, device, context.getBinaryCollectio… in registerShaderModule()
285 shaderModules.back()->get(), // shader in registerShaderModule()
351 std::vector<de::SharedPtr<Move<VkShaderModule> > > shaderModules; member in vkt::RayQuery::__anond22362260111::GraphicsConfiguration
360 shaderModules.clear(); in ~GraphicsConfiguration()
403 …registerShaderModule(vkd, device, context, shaderModules, shaderCreateInfos, VK_SHADER_STAGE_VERTE… in initConfiguration()
404 …tescX = registerShaderModule(vkd, device, context, shaderModules, shaderCreateInfos, VK_SHADER_STA… in initConfiguration()
405 …teseX = registerShaderModule(vkd, device, context, shaderModules, shaderCreateInfos, VK_SHADER_STA… in initConfiguration()
406 …registerShaderModule(vkd, device, context, shaderModules, shaderCreateInfos, VK_SHADER_STAGE_GEOME… in initConfiguration()
407 …fragX = registerShaderModule(vkd, device, context, shaderModules, shaderCreateInfos, VK_SHADER_STA… in initConfiguration()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationInternallySynchronizedObjectsTests.cpp778 ShaderModuleVector shaderModules; in addShaderModules() local
779 shaderModules.resize(m_shadersExecutions.size() + 1); in addShaderModules()
784shaderModules[shaderNdx] = SharedPtr<Unique<VkShaderModule> > (new Unique<VkShaderModule>(createSh… in addShaderModules()
786shaderModules[m_shadersExecutions.size()] = SharedPtr<Unique<VkShaderModule> > (new Unique<VkShade… in addShaderModules()
787 return shaderModules; in addShaderModules()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DDevice.cpp72 ASSERT(shaderModules.empty()); in ~Caches()
81 ContentLessObjectCache<ShaderModuleBase> shaderModules; member
844 auto iter = mCaches->shaderModules.find(&blueprint); in GetOrCreateShaderModule()
845 if (iter != mCaches->shaderModules.end()) { in GetOrCreateShaderModule()
860 mCaches->shaderModules.insert(result.Get()); in GetOrCreateShaderModule()
868 size_t removedCount = mCaches->shaderModules.erase(obj); in UncacheShaderModule()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrStorageImageWriteTests.cpp225 std::vector<de::SharedPtr<vk::Unique<vk::VkShaderModule>>> shaderModules; in testStorageImageWrite() local
252 shaderModules.push_back(shaderModule); in testStorageImageWrite()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesImageSparseResidency.cpp601 std::vector<de::SharedPtr<vk::Unique<vk::VkShaderModule>>> shaderModules; in iterate() local
622 shaderModules.push_back(shaderModule); in iterate()