/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/ |
H A D | vktProtectedMemBufferValidator.cpp | 57 const char* generateShaderBufferString (TestType testType, BufferType bufferType) in generateShaderBufferString() argument 59 if (bufferType == STORAGE_BUFFER) in generateShaderBufferString() 62 DE_ASSERT(bufferType == SAMPLER_BUFFER); in generateShaderBufferString() 75 void initBufferValidatorPrograms (vk::SourceCollections& programCollection, TestType testType, BufferType bufferType) in initBufferValidatorPrograms() argument 157 tcu::StringTemplate validatorShaderTemplate(bufferType == SAMPLER_BUFFER ? validatorShaderTemplateSamplerBuffer : validatorShaderTemplateStorageBuffer); in initBufferValidatorPrograms() 161 validatorParams["BUFFER_TYPE"] = generateShaderBufferString(testType, bufferType); in initBufferValidatorPrograms() 182 vk::VkDescriptorType getDescriptorType (BufferType bufferType) in getDescriptorType() argument 184 switch (bufferType) in getDescriptorType()
|
H A D | vktProtectedMemBufferValidator.hpp | 78 void initBufferValidatorPrograms (vk::SourceCollections& programCollection, TestType testType, BufferType bufferType); 79 vk::VkDescriptorType getDescriptorType (BufferType bufferType);
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/ |
H A D | vktProtectedMemBufferValidator.cpp | 57 const char* generateShaderBufferString (TestType testType, BufferType bufferType) in generateShaderBufferString() argument 59 if (bufferType == STORAGE_BUFFER) in generateShaderBufferString() 62 DE_ASSERT(bufferType == SAMPLER_BUFFER); in generateShaderBufferString() 75 void initBufferValidatorPrograms (vk::SourceCollections& programCollection, TestType testType, BufferType bufferType) in initBufferValidatorPrograms() argument 157 tcu::StringTemplate validatorShaderTemplate(bufferType == SAMPLER_BUFFER ? validatorShaderTemplateSamplerBuffer : validatorShaderTemplateStorageBuffer); in initBufferValidatorPrograms() 161 validatorParams["BUFFER_TYPE"] = generateShaderBufferString(testType, bufferType); in initBufferValidatorPrograms() 182 vk::VkDescriptorType getDescriptorType (BufferType bufferType) in getDescriptorType() argument 184 switch (bufferType) in getDescriptorType()
|
H A D | vktProtectedMemBufferValidator.hpp | 78 void initBufferValidatorPrograms (vk::SourceCollections& programCollection, TestType testType, BufferType bufferType); 79 vk::VkDescriptorType getDescriptorType (BufferType bufferType);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
H A D | vktSpvAsmEmptyStructTests.cpp | 203 for (const auto& bufferType : bufferTypes) in addCopyingComputeGroup() 207 std::string name = copyingMethod.name + "_" + bufferType.name; in addCopyingComputeGroup() 211 { "OFFSET_1", de::toString(bufferType.offsets[1]) }, in addCopyingComputeGroup() 212 { "OFFSET_2", de::toString(bufferType.offsets[2]) }, in addCopyingComputeGroup() 213 { "OFFSET_3", de::toString(bufferType.offsets[3]) }, in addCopyingComputeGroup() 214 { "VARIABLES", bufferType.spirvVariables }, in addCopyingComputeGroup() 217 { "COPYING_METHOD", bufferType.spirvCopyObject + copyingMethod.spirvCopyCode }, in addCopyingComputeGroup() 224 spec.inputs.push_back (Resource(BufferSp(new Int32Buffer(bufferType.input)), bufferType.descriptorType)); in addCopyingComputeGroup() 225 spec.outputs.push_back(Resource(BufferSp(new Int32Buffer(bufferType in addCopyingComputeGroup() [all...] |
H A D | vktSpvAsmVariablePointersTests.cpp | 364 const string bufferType = isSingleInputBuffer ? "single_buffer" : "two_buffers"; 380 string name = "reads_opselect_" + bufferType; 404 string name = "reads_opfunctioncall_" + bufferType; 428 string name = "reads_opphi_" + bufferType; 460 string name = "reads_opcopyobject_" + bufferType; 491 std::string name = "stores_" + string(de::toLower(storageClass)) + "_" + bufferType; 520 std::string name = "reads_opptraccesschain_" + bufferType; 556 std::string name = "writes_" + bufferType; 588 std::string name = "workgroup_" + bufferType; 972 const string bufferType 1579 const string bufferType = isSingleInputBuffer ? "single_buffer" : "two_buffers"; global() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
H A D | vktSpvAsmEmptyStructTests.cpp | 203 for (const auto& bufferType : bufferTypes) in addCopyingComputeGroup() 207 std::string name = copyingMethod.name + "_" + bufferType.name; in addCopyingComputeGroup() 211 { "OFFSET_1", de::toString(bufferType.offsets[1]) }, in addCopyingComputeGroup() 212 { "OFFSET_2", de::toString(bufferType.offsets[2]) }, in addCopyingComputeGroup() 213 { "OFFSET_3", de::toString(bufferType.offsets[3]) }, in addCopyingComputeGroup() 214 { "VARIABLES", bufferType.spirvVariables }, in addCopyingComputeGroup() 217 { "COPYING_METHOD", bufferType.spirvCopyObject + copyingMethod.spirvCopyCode }, in addCopyingComputeGroup() 224 spec.inputs.push_back (Resource(BufferSp(new Int32Buffer(bufferType.input)), bufferType.descriptorType)); in addCopyingComputeGroup() 225 spec.outputs.push_back(Resource(BufferSp(new Int32Buffer(bufferType in addCopyingComputeGroup() [all...] |
H A D | vktSpvAsmVariablePointersTests.cpp | 364 const string bufferType = isSingleInputBuffer ? "single_buffer" : "two_buffers"; 380 string name = "reads_opselect_" + bufferType; 404 string name = "reads_opfunctioncall_" + bufferType; 428 string name = "reads_opphi_" + bufferType; 460 string name = "reads_opcopyobject_" + bufferType; 491 std::string name = "stores_" + string(de::toLower(storageClass)) + "_" + bufferType; 521 std::string name = "reads_opptraccesschain_" + bufferType; 557 std::string name = "writes_" + bufferType; 589 std::string name = "workgroup_" + bufferType; 973 const string bufferType 1580 const string bufferType = isSingleInputBuffer ? "single_buffer" : "two_buffers"; global() local [all...] |
/third_party/skia/src/gpu/vk/ |
H A D | GrVkBuffer.cpp | 23 GrGpuBufferType bufferType, in GrVkBuffer() 28 : GrGpuBuffer(gpu, sizeInBytes, bufferType, accessPattern) in GrVkBuffer() 34 SkASSERT(bufferType != GrGpuBufferType::kUniform || uniformDescriptorSet); in GrVkBuffer() 72 GrGpuBufferType bufferType, 94 switch (bufferType) { 149 if (bufferType == GrGpuBufferType::kUniform) { 157 return sk_sp<GrVkBuffer>(new GrVkBuffer(gpu, size, bufferType, accessPattern, buffer, alloc, 164 GrGpuBufferType bufferType, 177 switch (bufferType) { 220 return sk_sp<GrVkBuffer>(new GrVkBuffer(gpu, bufferSize, bufferType, accessPatter 21 GrVkBuffer(GrVkGpu* gpu, size_t sizeInBytes, GrGpuBufferType bufferType, GrAccessPattern accessPattern, VkBuffer buffer, const GrVkAlloc& alloc, const GrVkDescriptorSet* uniformDescriptorSet) GrVkBuffer() argument 70 Make(GrVkGpu* gpu, size_t size, GrGpuBufferType bufferType, GrAccessPattern accessPattern) global() argument 161 MakeFromOHNativeBuffer(GrVkGpu* gpu, OH_NativeBuffer *nativeBuffer, size_t bufferSize, GrGpuBufferType bufferType, GrAccessPattern accessPattern) global() argument [all...] |
H A D | GrVkBuffer.h | 21 GrGpuBufferType bufferType, 27 GrGpuBufferType bufferType, 48 GrGpuBufferType bufferType,
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/postmortem/ |
H A D | vktPostmortemUseAfterFreeTests.cpp | 132 const BufferType bufferType); 147 const BufferType bufferType); 172 const BufferType bufferType) in UseAfterFreeTestCase() 174 , m_bufferType (bufferType) in UseAfterFreeTestCase() 257 const BufferType bufferType) in UseAfterFreeTestInstance() 259 , m_bufferType(bufferType) in UseAfterFreeTestInstance() 167 UseAfterFreeTestCase(tcu::TestContext& testCtx, const std::string& name, const deUint32 numValues, const tcu::IVec3& localSize, const tcu::IVec3& workSize, const BufferType bufferType) UseAfterFreeTestCase() argument 253 UseAfterFreeTestInstance(Context& context, const deUint32 numValues, const tcu::IVec3& localSize, const tcu::IVec3& workSize, const BufferType bufferType) UseAfterFreeTestInstance() argument
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/postmortem/ |
H A D | vktPostmortemUseAfterFreeTests.cpp | 135 const BufferType bufferType); 150 const BufferType bufferType); 176 const BufferType bufferType) in UseAfterFreeTestCase() 178 , m_bufferType (bufferType) in UseAfterFreeTestCase() 263 const BufferType bufferType) in UseAfterFreeTestInstance() 265 , m_bufferType(bufferType) in UseAfterFreeTestInstance() 170 UseAfterFreeTestCase(tcu::TestContext& testCtx, const std::string& name, const std::string& description, const deUint32 numValues, const tcu::IVec3& localSize, const tcu::IVec3& workSize, const BufferType bufferType) UseAfterFreeTestCase() argument 259 UseAfterFreeTestInstance(Context& context, const deUint32 numValues, const tcu::IVec3& localSize, const tcu::IVec3& workSize, const BufferType bufferType) UseAfterFreeTestInstance() argument
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
H A D | vktRenderPassDepthStencilWriteConditionsTests.cpp | 97 DepthStencilWriteConditionsInstance (Context& context, const BufferType& bufferType, const VkFormat& m_bufferFormat); 104 DepthStencilWriteConditionsInstance::DepthStencilWriteConditionsInstance (Context& context, const BufferType& bufferType, const VkFormat& bufferFormat) in DepthStencilWriteConditionsInstance() argument 105 : TestInstance (context), m_bufferType(bufferType), m_bufferFormat(bufferFormat) in DepthStencilWriteConditionsInstance() 360 const BufferType bufferType, 377 const BufferType bufferType, in DepthStencilWriteConditionsTest() 382 , m_bufferType(bufferType) in DepthStencilWriteConditionsTest() 375 DepthStencilWriteConditionsTest(tcu::TestContext& testCtx, const std::string& name, const BufferType bufferType, const DiscardType discardType, const MutationMode mutationMode, const VkFormat bufferFormat) DepthStencilWriteConditionsTest() argument
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
H A D | vktRenderPassDepthStencilWriteConditionsTests.cpp | 97 DepthStencilWriteConditionsInstance (Context& context, const BufferType& bufferType, const VkFormat& m_bufferFormat); 104 DepthStencilWriteConditionsInstance::DepthStencilWriteConditionsInstance (Context& context, const BufferType& bufferType, const VkFormat& bufferFormat) in DepthStencilWriteConditionsInstance() argument 105 : TestInstance (context), m_bufferType(bufferType), m_bufferFormat(bufferFormat) in DepthStencilWriteConditionsInstance() 361 const BufferType bufferType, 379 const BufferType bufferType, in DepthStencilWriteConditionsTest() 384 , m_bufferType(bufferType) in DepthStencilWriteConditionsTest() 376 DepthStencilWriteConditionsTest(tcu::TestContext& testCtx, const std::string& name, const std::string& description, const BufferType bufferType, const DiscardType discardType, const MutationMode mutationMode, const VkFormat bufferFormat) DepthStencilWriteConditionsTest() argument
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fTransformFeedbackTests.cpp | 1317 PositionCase (Context& context, const char* name, const char* desc, deUint32 bufferType, deUint32 primitiveType) 1318 : TransformFeedbackCase(context, name, desc, bufferType, primitiveType) 1327 PointSizeCase (Context& context, const char* name, const char* desc, deUint32 bufferType, deUint32 primitiveType) 1328 : TransformFeedbackCase(context, name, desc, bufferType, primitiveType) 1337 BasicTypeCase (Context& context, const char* name, const char* desc, deUint32 bufferType, deUint32 primitiveType, glu::DataType type, glu::Precision precision, Interpolation interpolation) 1338 : TransformFeedbackCase(context, name, desc, bufferType, primitiveType) 1351 BasicArrayCase (Context& context, const char* name, const char* desc, deUint32 bufferType, deUint32 primitiveType, glu::DataType type, glu::Precision precision, Interpolation interpolation) 1352 : TransformFeedbackCase(context, name, desc, bufferType, primitiveType) 1376 ArrayElementCase (Context& context, const char* name, const char* desc, deUint32 bufferType, deUint32 primitiveType, glu::DataType type, glu::Precision precision, Interpolation interpolation) 1377 : TransformFeedbackCase(context, name, desc, bufferType, primitiveTyp [all...] |
/third_party/skia/experimental/graphite/src/ |
H A D | Buffer.h | 37 BufferType bufferType() const { return fType; } in bufferType() function in skgpu::Buffer
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Stream.cpp | 132 EGLenum bufferType = attributes.getAsInt(EGL_COLOR_BUFFER_TYPE, EGL_RGB_BUFFER); in createConsumerGLTextureExternal() local 133 if (bufferType == EGL_RGB_BUFFER) in createConsumerGLTextureExternal()
|
H A D | Framebuffer.h | 482 void markBufferInitialized(GLenum bufferType, GLint bufferIndex); 484 GLenum bufferType, 492 bool partialBufferClearNeedsInit(const Context *context, GLenum bufferType);
|
H A D | Framebuffer.cpp | 2450 void Framebuffer::markBufferInitialized(GLenum bufferType, GLint bufferIndex) in markBufferInitialized() argument 2452 switch (bufferType) in markBufferInitialized() 2513 GLenum bufferType, 2523 switch (bufferType) 2575 bool Framebuffer::partialBufferClearNeedsInit(const Context *context, GLenum bufferType) 2582 switch (bufferType)
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/utils/ |
H A D | WGPUHelpers.cpp | 88 wgpu::BufferBindingType bufferType, in BindingLayoutEntryInitializationHelper() 93 buffer.type = bufferType; in BindingLayoutEntryInitializationHelper() 85 BindingLayoutEntryInitializationHelper( uint32_t entryBinding, wgpu::ShaderStage entryVisibility, wgpu::BufferBindingType bufferType, bool bufferHasDynamicOffset, uint64_t bufferMinBindingSize) BindingLayoutEntryInitializationHelper() argument
|
H A D | WGPUHelpers.h | 58 wgpu::BufferBindingType bufferType,
|
/third_party/skia/src/gpu/gl/ |
H A D | GrGLBuffer.cpp | 56 inline static GrGLenum gr_to_gl_access_pattern(GrGpuBufferType bufferType, in gr_to_gl_access_pattern() argument 103 return usageType(bufferType, accessPattern); in gr_to_gl_access_pattern()
|
/third_party/skia/src/gpu/ |
H A D | GrBufferAllocPool.h | 81 * @param bufferType The type of buffers to create. 86 GrBufferAllocPool(GrGpu* gpu, GrGpuBufferType bufferType, sk_sp<CpuBufferCache> cpuBufferCache);
|
H A D | GrBufferAllocPool.cpp | 88 GrBufferAllocPool::GrBufferAllocPool(GrGpu* gpu, GrGpuBufferType bufferType, in GrBufferAllocPool() argument 93 , fBufferType(bufferType) {} in GrBufferAllocPool()
|
/third_party/skia/third_party/externals/dawn/src/utils/ |
H A D | WGPUHelpers.cpp | 254 wgpu::BufferBindingType bufferType, in BindingLayoutEntryInitializationHelper() 259 buffer.type = bufferType; in BindingLayoutEntryInitializationHelper() 251 BindingLayoutEntryInitializationHelper( uint32_t entryBinding, wgpu::ShaderStage entryVisibility, wgpu::BufferBindingType bufferType, bool bufferHasDynamicOffset, uint64_t bufferMinBindingSize) BindingLayoutEntryInitializationHelper() argument
|