/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fSynchronizationTests.cpp | 142 STORAGE_BUFFER = 0, enumerator 229 if (m_storage == STORAGE_BUFFER) 317 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, (std::string((m_storage == STORAGE_BUFFER) ? ("buffer") : ("image")) + " content verification failed").c_str()); 342 if (m_storage == STORAGE_BUFFER && !m_aliasingStorages) 347 else if (m_storage == STORAGE_BUFFER && m_aliasingStorages) 440 else if (m_storage == STORAGE_BUFFER) 491 if (m_storage == STORAGE_BUFFER) 548 if (m_storage == STORAGE_BUFFER && m_useAtomic) 550 else if (m_storage == STORAGE_BUFFER && !m_useAtomic) 570 if (m_storage == STORAGE_BUFFER [all...] |
H A 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...] |
H A D | es31fProgramInterfaceDefinitionUtil.cpp | 405 (interface.storage == glu::STORAGE_BUFFER && (interface.memoryAccessQualifierFlags & glu::MEMORYACCESSQUALIFIER_WRITEONLY_BIT) == 0); 412 (interface.storage == glu::STORAGE_BUFFER && (interface.memoryAccessQualifierFlags & glu::MEMORYACCESSQUALIFIER_READONLY_BIT) == 0); 471 else if (storage == glu::STORAGE_BUFFER) 630 else if (storage == glu::STORAGE_BUFFER) 1286 const bool isTopLevelBufferVariable = (interfaceBlock.storage == glu::STORAGE_BUFFER); 1315 const glu::Storage storage = (interface == PROGRAMINTERFACE_UNIFORM) ? (glu::STORAGE_UNIFORM) : (glu::STORAGE_BUFFER); 1344 const glu::Storage storage = (interface == PROGRAMINTERFACE_UNIFORM_BLOCK) ? (glu::STORAGE_UNIFORM) : (glu::STORAGE_BUFFER); 1764 retVal.numShaderStorageBlocks = getNumShaderBlocks(shader, glu::STORAGE_BUFFER); 1876 retVal.shaderStorageBufferMaxBinding = de::max(retVal.shaderStorageBufferMaxBinding, getMaxBufferBinding(shader, glu::STORAGE_BUFFER)); 1877 retVal.shaderStorageBufferMaxSize = de::max(retVal.shaderStorageBufferMaxSize, getBufferMaxSize(shader, glu::STORAGE_BUFFER)); [all...] |
H A 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/stress/ |
H A 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::inputTypeSize(inputTypes[inputTypeNdx])) != 0; in init() 232 Array::STORAGE_BUFFER, in init() 300 Array::STORAGE_BUFFER, in init()
|
H A 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()
|
H A D | es2sSpecialFloatTests.cpp | 511 STORAGE_BUFFER = 0, 564 if (m_storage == STORAGE_BUFFER) 644 if (m_storage == STORAGE_BUFFER) 664 if (m_storage == STORAGE_BUFFER) 1723 vertexGroup->addChild(new VertexAttributeCase (m_context, "attribute_buffer", "special attribute values in a buffer", VertexAttributeCase::STORAGE_BUFFER, VertexAttributeCase::TYPE_VERTEX)); 1735 fragmentGroup->addChild(new VertexAttributeCase (m_context, "attribute_buffer", "special attribute values in a buffer", VertexAttributeCase::STORAGE_BUFFER, VertexAttributeCase::TYPE_FRAGMENT));
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A 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 this->addChild(new AttributeGroup(m_context, name.c_str(), desc.c_str(), m_method, primitive[ndx], gls::DrawTestSpec::INDEXTYPE_SHORT, gls::DrawTestSpec::STORAGE_BUFFER)); in init() [all...] |
H A 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::inputTypeSize(inputTypes[inputTypeNdx])) == 0; 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/external/vulkancts/modules/vulkan/protected_memory/ |
H A D | vktProtectedMemBufferValidator.cpp | 59 if (bufferType == STORAGE_BUFFER) in generateShaderBufferString() 186 case STORAGE_BUFFER: return vk::VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; in getDescriptorType()
|
H A 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/protected_memory/ |
H A D | vktProtectedMemBufferValidator.cpp | 59 if (bufferType == STORAGE_BUFFER) in generateShaderBufferString() 186 case STORAGE_BUFFER: return vk::VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; in getDescriptorType()
|
H A 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/mesh_shader/ |
H A D | vktMeshShaderSyncTests.cpp | 118 STORAGE_BUFFER, member in vkt::MeshShader::__anon28129::ResourceType 128 case ResourceType::STORAGE_BUFFER: return VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; in resourceTypeToDescriptor() 249 case Stage::HOST: return (resType == ResourceType::UNIFORM_BUFFER || resType == ResourceType::STORAGE_BUFFER); in canWriteTo() 252 case Stage::MESH: return (resType == ResourceType::STORAGE_BUFFER || resType == ResourceType::STORAGE_IMAGE); in canWriteTo() 264 case Stage::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; } sb;"; break; 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...] |
H A D | vktMeshShaderSyncTestsEXT.cpp | 119 STORAGE_BUFFER, member in vkt::MeshShader::__anon28135::ResourceType 129 case ResourceType::STORAGE_BUFFER: return VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; in resourceTypeToDescriptor() 251 case Stage::HOST: return (resType == ResourceType::UNIFORM_BUFFER || resType == ResourceType::STORAGE_BUFFER); in canWriteTo() 255 case Stage::FRAG: return (resType == ResourceType::STORAGE_BUFFER || resType == ResourceType::STORAGE_IMAGE); in canWriteTo() 267 case Stage::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; } sb;"; break; 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_no_buildgn/vulkan/mesh_shader/ |
H A D | vktMeshShaderSyncTests.cpp | 118 STORAGE_BUFFER, member in vkt::MeshShader::__anon29360::ResourceType 128 case ResourceType::STORAGE_BUFFER: return VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; in resourceTypeToDescriptor() 249 case Stage::HOST: return (resType == ResourceType::UNIFORM_BUFFER || resType == ResourceType::STORAGE_BUFFER); in canWriteTo() 252 case Stage::MESH: return (resType == ResourceType::STORAGE_BUFFER || resType == ResourceType::STORAGE_IMAGE); in canWriteTo() 264 case Stage::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; } sb;"; break; 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...] |
H A D | vktMeshShaderSyncTestsEXT.cpp | 119 STORAGE_BUFFER, member in vkt::MeshShader::__anon29366::ResourceType 129 case ResourceType::STORAGE_BUFFER: return VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; in resourceTypeToDescriptor() 251 case Stage::HOST: return (resType == ResourceType::UNIFORM_BUFFER || resType == ResourceType::STORAGE_BUFFER); in canWriteTo() 255 case Stage::FRAG: return (resType == ResourceType::STORAGE_BUFFER || resType == ResourceType::STORAGE_IMAGE); in canWriteTo() 267 case Stage::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; } sb;"; break; 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/ |
H A 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 % alignment) != 0; in init() 300 Array::STORAGE_BUFFER, in init() 401 Array::STORAGE_BUFFER, in init()
|
H A 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()
|
H A D | es3sSpecialFloatTests.cpp | 523 STORAGE_BUFFER = 0, 576 if (m_storage == STORAGE_BUFFER) 656 if (m_storage == STORAGE_BUFFER) 676 if (m_storage == STORAGE_BUFFER) 2094 vertexGroup->addChild(new VertexAttributeCase (m_context, "attribute_buffer", "special attribute values in a buffer", VertexAttributeCase::STORAGE_BUFFER, VertexAttributeCase::TYPE_VERTEX)); 2110 fragmentGroup->addChild(new VertexAttributeCase (m_context, "attribute_buffer", "special attribute values in a buffer", VertexAttributeCase::STORAGE_BUFFER, VertexAttributeCase::TYPE_FRAGMENT));
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A 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...] |
H A 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 % alignment) != 0; 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/modules/glshared/ |
H A D | glsDrawTest.hpp | 124 STORAGE_BUFFER, enumerator
|
H A D | glsVertexArrayTests.cpp | 152 "buffer" // STORAGE_BUFFER, in storageToString() 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()
|
/third_party/vk-gl-cts/modules/gles31/stress/ |
H A D | es31sDrawTests.cpp | 463 spec.indexStorage = gls::DrawTestSpec::STORAGE_BUFFER; 482 attribSpec.storage = gls::DrawTestSpec::STORAGE_BUFFER;
|