Home
last modified time | relevance | path

Searched refs:specializationInfo (Results 1 – 23 of 23) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkSpecializationInfo.cpp23 SpecializationInfo::SpecializationInfo(const VkSpecializationInfo *specializationInfo) in SpecializationInfo() argument
25 if(specializationInfo && specializationInfo->mapEntryCount > 0) in SpecializationInfo()
27 info.mapEntryCount = specializationInfo->mapEntryCount; in SpecializationInfo()
28 size_t entriesSize = specializationInfo->mapEntryCount * sizeof(VkSpecializationMapEntry); in SpecializationInfo()
30 memcpy(mapEntries, specializationInfo->pMapEntries, entriesSize); in SpecializationInfo()
33 info.dataSize = specializationInfo->dataSize; in SpecializationInfo()
34 void *data = sw::allocateUninitialized(specializationInfo->dataSize); in SpecializationInfo()
35 memcpy(data, specializationInfo->pData, specializationInfo->dataSize); in SpecializationInfo()
DVkPipelineCache.cpp22 const VkSpecializationInfo *specializationInfo, in SpirvBinaryKey() argument
25 , specializationInfo(specializationInfo) in SpirvBinaryKey()
48 return (specializationInfo < other.specializationInfo); in operator <()
DVkSpecializationInfo.hpp26 SpecializationInfo(const VkSpecializationInfo *specializationInfo);
31 bool operator<(const SpecializationInfo &specializationInfo) const;
DVkPipelineCache.hpp61 const VkSpecializationInfo *specializationInfo,
67 const VkSpecializationInfo *getSpecializationInfo() const { return specializationInfo.get(); } in getSpecializationInfo()
72 const vk::SpecializationInfo specializationInfo; member
DVkPipeline.cpp39 const VkSpecializationInfo *specializationInfo = key.getSpecializationInfo(); in optimizeSpirv() local
58 if(specializationInfo) in optimizeSpirv()
61 const uint8_t *specializationData = static_cast<const uint8_t *>(specializationInfo->pData); in optimizeSpirv()
63 for(uint32_t i = 0; i < specializationInfo->mapEntryCount; i++) in optimizeSpirv()
65 const VkSpecializationMapEntry &entry = specializationInfo->pMapEntries[i]; in optimizeSpirv()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DUtilsVulkan.cpp203 VkSpecializationInfo* specializationInfo, in GetVkSpecializationInfo() argument
206 ASSERT(specializationInfo); in GetVkSpecializationInfo()
250 specializationInfo->mapEntryCount = static_cast<uint32_t>(specializationMapEntries->size()); in GetVkSpecializationInfo()
251 specializationInfo->pMapEntries = specializationMapEntries->data(); in GetVkSpecializationInfo()
252 specializationInfo->dataSize = in GetVkSpecializationInfo()
254 specializationInfo->pData = specializationDataEntries->data(); in GetVkSpecializationInfo()
256 return specializationInfo; in GetVkSpecializationInfo()
DComputePipelineVk.cpp58 VkSpecializationInfo specializationInfo{}; in Initialize() local
60 GetVkSpecializationInfo(computeStage, &specializationInfo, &specializationDataEntries, in Initialize()
DUtilsVulkan.h120 VkSpecializationInfo* specializationInfo,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesShaderIntrinsicsStorage.cpp484 const VkSpecializationInfo specializationInfo = in recordCommands() local
493 …omputePipeline(deviceInterface, getDevice(), *pipelineLayout, *shaderModule, &specializationInfo)); in recordCommands()
DvktSparseResourcesTestsUtil.hpp175 const vk::VkSpecializationInfo* specializationInfo = 0);
DvktSparseResourcesTestsUtil.cpp321 const VkSpecializationInfo* specializationInfo) in makeComputePipeline() argument
331 specializationInfo, // const VkSpecializationInfo* pSpecializationInfo; in makeComputePipeline()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingBuiltinTests.cpp196 const VkSpecializationInfo* specializationInfo);
1561 const VkSpecializationInfo* specializationInfo) in makePipeline() argument
1567 …eateShaderModule(vkd, device, collection.get("rgen"), 0), m_raygenShaderGroup, specializationInfo); in makePipeline()
1568 … createShaderModule(vkd, device, collection.get("ahit"), 0), m_hitShaderGroup, specializationInfo); in makePipeline()
1569 … createShaderModule(vkd, device, collection.get("chit"), 0), m_hitShaderGroup, specializationInfo); in makePipeline()
1570 …createShaderModule(vkd, device, collection.get("miss"), 0), m_missShaderGroup, specializationInfo); in makePipeline()
1571 … createShaderModule(vkd, device, collection.get("sect"), 0), m_hitShaderGroup, specializationInfo); in makePipeline()
1572 …teShaderModule(vkd, device, collection.get("call"), 0), m_callableShaderGroup, specializationInfo); in makePipeline()
1677 …const VkSpecializationInfo* specializationInfo = (m_data.useSpecConstants ? &specConstantHel… in runTest() local
1678 …ipeline> pipeline = makePipeline(rayTracingPipeline, *pipelineLayout, specializationInfo); in runTest()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkObjUtil.cpp44 const VkSpecializationInfo* specializationInfo) in makeComputePipeline() argument
54 specializationInfo, // const VkSpecializationInfo* pSpecializationInfo; in makeComputePipeline()
DvkObjUtil.hpp38 const VkSpecializationInfo* specializationInfo);
DvkRayTracingUtil.hpp795 const VkSpecializationInfo* specializationInfo = nullptr,
807 const VkSpecializationInfo* specializationInfo = nullptr,
DvkRayTracingUtil.cpp2531 const VkSpecializationInfo* specializationInfo, in addShader() argument
2535 …addShader(shaderStage, makeVkSharedPtr(shaderModule), group, specializationInfo, pipelineShaderSta… in addShader()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_cache_utils.cpp296 const VkSpecializationInfo &specializationInfo, in SetPipelineShaderStageInfo() argument
304 shaderStage->pSpecializationInfo = &specializationInfo; in SetPipelineShaderStageInfo()
1723 VkSpecializationInfo specializationInfo = {}; in initializePipeline() local
1727 InitializeSpecializationInfo(specConsts, &specializationEntries, &specializationInfo); in initializePipeline()
1735 specializationInfo, &vertexStage); in initializePipeline()
1745 tessControlModule.getHandle(), specializationInfo, in initializePipeline()
1757 tessEvaluationModule.getHandle(), specializationInfo, in initializePipeline()
1769 specializationInfo, &geometryStage); in initializePipeline()
1783 specializationInfo, &fragmentStage); in initializePipeline()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrStorageImageWriteTests.cpp124 const VkSpecializationInfo* specializationInfo) in makeComputePipeline() argument
134 specializationInfo, // const VkSpecializationInfo* pSpecializationInfo; in makeComputePipeline()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSamplerBorderSwizzleTests.cpp887 const VkSpecializationInfo specializationInfo = in iterate() local
903 &specializationInfo, // const VkSpecializationInfo* pSpecializationInfo; in iterate()
DvktPipelineVertexInputTests.cpp1081 const VkSpecializationInfo specializationInfo = in VertexInputInstance() local
1100 &specializationInfo // const VkSpecializationInfo* pSpecializationInfo; in VertexInputInstance()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiPipelineTests.cpp1374 const vk::VkSpecializationInfo specializationInfo = in destroyEarlyTest() local
1390 &specializationInfo, // const VkSpecializationInfo* pSpecializationInfo; in destroyEarlyTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/
DvktComputeBasicComputeShaderTests.cpp3603 const vk::VkSpecializationInfo specializationInfo = in iterate() local
3636 &specializationInfo, // const VkSpecializationInfo* pSpecializationInfo; in iterate()
/third_party/vulkan-headers/include/vulkan/
Dvulkan_hash.hpp2228 …std::size_t operator()( VULKAN_HPP_NAMESPACE::SpecializationInfo const & specializationInfo ) cons… in operator ()()
2231 VULKAN_HPP_HASH_COMBINE( seed, specializationInfo.mapEntryCount ); in operator ()()
2232 VULKAN_HPP_HASH_COMBINE( seed, specializationInfo.pMapEntries ); in operator ()()
2233 VULKAN_HPP_HASH_COMBINE( seed, specializationInfo.dataSize ); in operator ()()
2234 VULKAN_HPP_HASH_COMBINE( seed, specializationInfo.pData ); in operator ()()