/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fSynchronizationTests.cpp | 142 STORAGE_BUFFER = 0, enumerator 229 if (m_storage == STORAGE_BUFFER) in init() 317 …m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, (std::string((m_storage == STORAGE_BUFFER) ? ("buffer… in iterate() 342 if (m_storage == STORAGE_BUFFER && !m_aliasingStorages) in runCompute() 347 else if (m_storage == STORAGE_BUFFER && m_aliasingStorages) in runCompute() 440 else if (m_storage == STORAGE_BUFFER) in genBarrierSource() 491 if (m_storage == STORAGE_BUFFER) in genShaderSource() 548 if (m_storage == STORAGE_BUFFER && m_useAtomic) in genShaderMainBlock() 550 else if (m_storage == STORAGE_BUFFER && !m_useAtomic) in genShaderMainBlock() 570 if (m_storage == STORAGE_BUFFER && m_useAtomic) in genShaderMainBlock() [all …]
|
D | es31fDrawElementsBaseVertexTests.cpp | 147 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in genBasicSpec() 158 spec.attribs[1].storage = gls::DrawTestSpec::STORAGE_BUFFER; in genBasicSpec() 517 spec.indexStorage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 585 spec.indexStorage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 667 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 704 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 715 spec.attribs[1].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 752 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 764 spec.attribs[1].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 777 spec.attribs[2].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() [all …]
|
D | es31fProgramInterfaceDefinitionUtil.cpp | 405 …(interface.storage == glu::STORAGE_BUFFER && (interface.memoryAccessQualifierFlags & glu::MEMORYAC… in isReadableInterface() 412 …(interface.storage == glu::STORAGE_BUFFER && (interface.memoryAccessQualifierFlags & glu::MEMORYAC… in isWritableInterface() 471 else if (storage == glu::STORAGE_BUFFER) in writeVariableReadAccumulateExpression() 630 else if (storage == glu::STORAGE_BUFFER) in writeVariableWriteExpression() 1286 const bool isTopLevelBufferVariable = (interfaceBlock.storage == glu::STORAGE_BUFFER); in getProgramInterfaceBlockMemberResourceList() 1315 …storage = (interface == PROGRAMINTERFACE_UNIFORM) ? (glu::STORAGE_UNIFORM) : (glu::STORAGE_BUFFER); in getProgramInterfaceResourceList() 1344 …e = (interface == PROGRAMINTERFACE_UNIFORM_BLOCK) ? (glu::STORAGE_UNIFORM) : (glu::STORAGE_BUFFER); in getProgramInterfaceResourceList() 1764 retVal.numShaderStorageBlocks = getNumShaderBlocks(shader, glu::STORAGE_BUFFER); in getShaderResourceUsage() 1876 … = de::max(retVal.shaderStorageBufferMaxBinding, getMaxBufferBinding(shader, glu::STORAGE_BUFFER)); in getCombinedProgramResourceUsage() 1877 …xSize = de::max(retVal.shaderStorageBufferMaxSize, getBufferMaxSize(shader, glu::STORAGE_BUFFER)); in getCombinedProgramResourceUsage() [all …]
|
D | es31fDrawTests.cpp | 200 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in genBasicSpec() 211 spec.attribs[1].storage = gls::DrawTestSpec::STORAGE_BUFFER; in genBasicSpec() 283 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 320 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 331 spec.attribs[1].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 368 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 380 spec.attribs[1].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 393 spec.attribs[2].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 430 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 458 spec.attribs[1].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() [all …]
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fDrawTests.cpp | 89 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in genBasicSpec() 100 spec.attribs[1].storage = gls::DrawTestSpec::STORAGE_BUFFER; in genBasicSpec() 162 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 197 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 208 spec.attribs[1].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 243 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 269 spec.attribs[1].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 324 { gls::DrawTestSpec::STORAGE_BUFFER, gls::DrawTestSpec::INDEXTYPE_BYTE, true, { 0, 1, -1 } }, in init() 325 { gls::DrawTestSpec::STORAGE_BUFFER, gls::DrawTestSpec::INDEXTYPE_SHORT, true, { 0, 2, -1 } }, in init() 470 … m_method, primitive[ndx], gls::DrawTestSpec::INDEXTYPE_SHORT, gls::DrawTestSpec::STORAGE_BUFFER)); in init() [all …]
|
D | es2fVertexArrayTest.cpp | 90 Array::STORAGE_BUFFER, in init() 141 Array::Storage storages[] = {Array::STORAGE_USER, Array::STORAGE_BUFFER}; in init() 156 …const bool bufferAligned = (storages[storageNdx] == Array::STORAGE_BUFFER) && (stride % Array::inp… in init() 231 Array::STORAGE_BUFFER, in init() 299 Array::STORAGE_BUFFER, in init() 618 Array::Storage storages[] = {Array::STORAGE_USER, Array::STORAGE_BUFFER}; in addStorageCases()
|
/third_party/vk-gl-cts/modules/gles2/stress/ |
D | es2sVertexArrayTests.cpp | 91 Array::STORAGE_BUFFER, in init() 142 Array::Storage storages[] = {Array::STORAGE_BUFFER}; in init() 157 …const bool bufferUnaligned = (storages[storageNdx] == Array::STORAGE_BUFFER) && (stride % Array::i… in init() 232 Array::STORAGE_BUFFER, in init() 300 Array::STORAGE_BUFFER, in init()
|
D | es2sDrawTests.cpp | 62 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in genBasicSpec() 73 spec.attribs[1].storage = gls::DrawTestSpec::STORAGE_BUFFER; in genBasicSpec() 117 { gls::DrawTestSpec::STORAGE_BUFFER, gls::DrawTestSpec::INDEXTYPE_SHORT, false, { 1, 3, -1 } }, in init() 264 gls::DrawTestSpec::STORAGE_BUFFER, in init()
|
D | es2sSpecialFloatTests.cpp | 511 STORAGE_BUFFER = 0, enumerator 564 if (m_storage == STORAGE_BUFFER) in init() 644 if (m_storage == STORAGE_BUFFER) in iterate() 664 if (m_storage == STORAGE_BUFFER) in iterate() 1723 …, "special attribute values in a buffer", VertexAttributeCase::STORAGE_BUFFER, VertexAttribu… in init() 1735 …, "special attribute values in a buffer", VertexAttributeCase::STORAGE_BUFFER, VertexAttribu… in init()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fDrawTests.cpp | 120 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in genBasicSpec() 131 spec.attribs[1].storage = gls::DrawTestSpec::STORAGE_BUFFER; in genBasicSpec() 198 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 233 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 244 spec.attribs[1].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 279 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 291 spec.attribs[1].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 304 spec.attribs[2].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 339 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() 367 spec.attribs[1].storage = gls::DrawTestSpec::STORAGE_BUFFER; in init() [all …]
|
D | es3fVertexArrayTest.cpp | 89 Array::STORAGE_BUFFER, in init() 170 Array::Storage storages[] = {Array::STORAGE_USER, Array::STORAGE_BUFFER}; in init() 185 …const bool bufferUnaligned = (storages[storageNdx] == Array::STORAGE_BUFFER) && (stride % alignmen… in init() 297 Array::STORAGE_BUFFER, in init() 398 Array::STORAGE_BUFFER, in init() 831 Array::Storage storages[] = {Array::STORAGE_USER, Array::STORAGE_BUFFER}; in addStorageCases()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/ |
D | vktProtectedMemBufferValidator.cpp | 59 if (bufferType == STORAGE_BUFFER) in generateShaderBufferString() 186 case STORAGE_BUFFER: return vk::VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; in getDescriptorType()
|
D | vktProtectedMemBufferValidator.hpp | 75 STORAGE_BUFFER, enumerator 96 , m_bufferType (STORAGE_BUFFER) in BufferValidator() 166 } else if (m_bufferType == STORAGE_BUFFER) in printReferenceInfo() 254 case STORAGE_BUFFER: in validateBuffer()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemBufferValidator.cpp | 59 if (bufferType == STORAGE_BUFFER) in generateShaderBufferString() 186 case STORAGE_BUFFER: return vk::VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; in getDescriptorType()
|
D | vktProtectedMemBufferValidator.hpp | 75 STORAGE_BUFFER, enumerator 96 , m_bufferType (STORAGE_BUFFER) in BufferValidator() 166 } else if (m_bufferType == STORAGE_BUFFER) in printReferenceInfo() 254 case STORAGE_BUFFER: in validateBuffer()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/ |
D | vktMeshShaderSyncTests.cpp | 118 STORAGE_BUFFER, enumerator 128 case ResourceType::STORAGE_BUFFER: return VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; in resourceTypeToDescriptor() 249 …HOST: return (resType == ResourceType::UNIFORM_BUFFER || resType == ResourceType::STORAGE_BUFFER); in canWriteTo() 252 …case Stage::MESH: return (resType == ResourceType::STORAGE_BUFFER || resType == ResourceType::STO… in canWriteTo() 264 …HOST: return (resType == ResourceType::UNIFORM_BUFFER || resType == ResourceType::STORAGE_BUFFER); in canReadFrom() 336 case ResourceType::STORAGE_BUFFER: flags |= VK_BUFFER_USAGE_STORAGE_BUFFER_BIT; break; in resourceBufferUsageFlags() 387 …case ResourceType::STORAGE_BUFFER: decl << storagePrefix << "buffer StorageBuffer { uint value; } … in getResourceDecl() 424 case ResourceType::STORAGE_BUFFER: statement << "sb.value"; break; in getReadStatement() 441 case ResourceType::STORAGE_BUFFER: statement << "sb.value = " << valueName; break; in getWriteStatement() 777 case ResourceType::STORAGE_BUFFER: in iterate() [all …]
|
D | vktMeshShaderSyncTestsEXT.cpp | 119 STORAGE_BUFFER, enumerator 129 case ResourceType::STORAGE_BUFFER: return VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; in resourceTypeToDescriptor() 251 …HOST: return (resType == ResourceType::UNIFORM_BUFFER || resType == ResourceType::STORAGE_BUFFER); in canWriteTo() 255 …case Stage::FRAG: return (resType == ResourceType::STORAGE_BUFFER || resType == ResourceType::STO… in canWriteTo() 267 …HOST: return (resType == ResourceType::UNIFORM_BUFFER || resType == ResourceType::STORAGE_BUFFER); in canReadFrom() 339 case ResourceType::STORAGE_BUFFER: flags |= VK_BUFFER_USAGE_STORAGE_BUFFER_BIT; break; in resourceBufferUsageFlags() 413 …case ResourceType::STORAGE_BUFFER: decl << storagePrefix << "buffer StorageBuffer { uint value; } … in getResourceDecl() 450 case ResourceType::STORAGE_BUFFER: statement << "sb.value"; break; in getReadStatement() 467 case ResourceType::STORAGE_BUFFER: statement << "sb.value = " << valueName; break; in getWriteStatement() 904 case ResourceType::STORAGE_BUFFER: in iterate() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/ |
D | vktMeshShaderSyncTests.cpp | 118 STORAGE_BUFFER, enumerator 128 case ResourceType::STORAGE_BUFFER: return VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; in resourceTypeToDescriptor() 249 …HOST: return (resType == ResourceType::UNIFORM_BUFFER || resType == ResourceType::STORAGE_BUFFER); in canWriteTo() 252 …case Stage::MESH: return (resType == ResourceType::STORAGE_BUFFER || resType == ResourceType::STO… in canWriteTo() 264 …HOST: return (resType == ResourceType::UNIFORM_BUFFER || resType == ResourceType::STORAGE_BUFFER); in canReadFrom() 336 case ResourceType::STORAGE_BUFFER: flags |= VK_BUFFER_USAGE_STORAGE_BUFFER_BIT; break; in resourceBufferUsageFlags() 387 …case ResourceType::STORAGE_BUFFER: decl << storagePrefix << "buffer StorageBuffer { uint value; } … in getResourceDecl() 424 case ResourceType::STORAGE_BUFFER: statement << "sb.value"; break; in getReadStatement() 441 case ResourceType::STORAGE_BUFFER: statement << "sb.value = " << valueName; break; in getWriteStatement() 777 case ResourceType::STORAGE_BUFFER: in iterate() [all …]
|
D | vktMeshShaderSyncTestsEXT.cpp | 119 STORAGE_BUFFER, enumerator 129 case ResourceType::STORAGE_BUFFER: return VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; in resourceTypeToDescriptor() 251 …HOST: return (resType == ResourceType::UNIFORM_BUFFER || resType == ResourceType::STORAGE_BUFFER); in canWriteTo() 255 …case Stage::FRAG: return (resType == ResourceType::STORAGE_BUFFER || resType == ResourceType::STO… in canWriteTo() 267 …HOST: return (resType == ResourceType::UNIFORM_BUFFER || resType == ResourceType::STORAGE_BUFFER); in canReadFrom() 339 case ResourceType::STORAGE_BUFFER: flags |= VK_BUFFER_USAGE_STORAGE_BUFFER_BIT; break; in resourceBufferUsageFlags() 413 …case ResourceType::STORAGE_BUFFER: decl << storagePrefix << "buffer StorageBuffer { uint value; } … in getResourceDecl() 450 case ResourceType::STORAGE_BUFFER: statement << "sb.value"; break; in getReadStatement() 467 case ResourceType::STORAGE_BUFFER: statement << "sb.value = " << valueName; break; in getWriteStatement() 904 case ResourceType::STORAGE_BUFFER: in iterate() [all …]
|
/third_party/vk-gl-cts/modules/gles3/stress/ |
D | es3sVertexArrayTests.cpp | 92 Array::STORAGE_BUFFER, in init() 173 Array::Storage storages[] = {Array::STORAGE_USER, Array::STORAGE_BUFFER}; in init() 188 …const bool bufferUnaligned = (storages[storageNdx] == Array::STORAGE_BUFFER) && (stride % alignmen… in init() 300 Array::STORAGE_BUFFER, in init() 401 Array::STORAGE_BUFFER, in init()
|
D | es3sDrawTests.cpp | 243 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in genBasicSpec() 254 spec.attribs[1].storage = gls::DrawTestSpec::STORAGE_BUFFER; in genBasicSpec() 298 { gls::DrawTestSpec::STORAGE_BUFFER, gls::DrawTestSpec::INDEXTYPE_SHORT, false, { 1, 3, -1 } }, in init() 299 { gls::DrawTestSpec::STORAGE_BUFFER, gls::DrawTestSpec::INDEXTYPE_INT, false, { 2, 3, -1 } }, in init() 464 gls::DrawTestSpec::STORAGE_BUFFER, in init()
|
D | es3sSpecialFloatTests.cpp | 523 STORAGE_BUFFER = 0, enumerator 576 if (m_storage == STORAGE_BUFFER) in init() 656 if (m_storage == STORAGE_BUFFER) in iterate() 676 if (m_storage == STORAGE_BUFFER) in iterate() 2094 …, "special attribute values in a buffer", VertexAttributeCase::STORAGE_BUFFER, VertexAttribu… in init() 2110 …, "special attribute values in a buffer", VertexAttributeCase::STORAGE_BUFFER, VertexAttribu… in init()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | BindGroupLayoutVk.cpp | 121 STORAGE_BUFFER, in ComputePoolSizes() enumerator 134 return STORAGE_BUFFER; in ComputePoolSizes()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsVertexArrayTests.cpp | 401 if (m_storage == STORAGE_BUFFER) in ContextArray() 410 if (m_storage == STORAGE_BUFFER) in ~ContextArray() 431 if (m_storage == STORAGE_BUFFER) in data() 455 if (m_storage == STORAGE_BUFFER) in subdata() 486 else if (m_storage == STORAGE_BUFFER) in bindIndexArray() 494 if (m_storage == STORAGE_BUFFER) in glBind() 2103 if (m_spec.arrays[i].storage == Array::STORAGE_BUFFER) in isUnalignedBufferOffsetTest() 2124 if (m_spec.arrays[i].storage == Array::STORAGE_BUFFER) in isUnalignedBufferStrideTest()
|
D | glsDrawTest.hpp | 124 STORAGE_BUFFER, enumerator
|