Lines Matching defs:readFromStorage
98 bool readFromStorage,
105 bool readFromStorage);
116 bool readFromStorage);
134 bool readFromStorage,
261 bool readFromStorage,
330 bool readFromStorage,
353 "layout(binding = 0, " << (readFromStorage ? "std430" : "std140") << ") " << (readFromStorage ? "buffer readonly" : "uniform") << " InBuffer\n"
380 "layout(binding = 0, " << (readFromStorage ? "std430" : "std140") << ") " << (readFromStorage ? "buffer" : "uniform") << " InBuffer\n"
462 "layout(binding = 0, " << (readFromStorage ? "std430" : "std140") << ") " << (readFromStorage ? "buffer readonly" : "uniform") << " InBuffer\n"
527 bool readFromStorage)
537 inTexelBufferTypeStr = readFromStorage ? "imageBuffer" : "textureBuffer";
543 inTexelBufferTypeStr = readFromStorage ? "uimageBuffer" : "utextureBuffer";
549 inTexelBufferTypeStr = readFromStorage ? "iimageBuffer" : "itextureBuffer";
555 inTexelBufferTypeStr = readFromStorage ? "imageBuffer" : "textureBuffer"; outTexelBufferTypeStr = "imageBuffer";
562 bufferDefinition << "layout(set = 0, binding = 0" << ((readFromStorage) ? (std::string(", ") + layoutTypeStr) : "") << ") uniform highp "
563 << ((readFromStorage) ? "readonly " : "") << inTexelBufferTypeStr << " inImage;\n";
576 << " imageStore(outImage, outOffset + i, " << (readFromStorage ? "imageLoad" : "texelFetch") << "(inImage, inOffset + i));\n"
599 bool readFromStorage)
612 genBufferShaderAccess(shaderType, bufferFormat, readFromStorage, bufferDefinition, bufferUse);
620 genTexelBufferShaderAccess(bufferFormat, bufferDefinition, bufferUse, readFromStorage);
643 genTexelBufferShaderAccess(bufferFormat, bufferDefinition, bufferUse, readFromStorage);
681 genTexelBufferShaderAccess(bufferFormat, bufferDefinition, bufferUse, readFromStorage);
721 bool readFromStorage,
724 , m_readFromStorage (readFromStorage)
799 initBufferAccessPrograms(programCollection, m_shaderStage, m_shaderType, m_bufferFormat, false /* readFromStorage */);
884 const bool readFromStorage = !!(m_bufferAccessType == BUFFER_ACCESS_TYPE_READ_FROM_STORAGE);
939 inBufferUsageFlags = readFromStorage ? VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT : VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT;
943 inBufferUsageFlags = readFromStorage ? VK_BUFFER_USAGE_STORAGE_BUFFER_BIT : VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT;
1091 inBufferDescriptorType = readFromStorage ? VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER : VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER;
1096 inBufferDescriptorType = readFromStorage ? VK_DESCRIPTOR_TYPE_STORAGE_BUFFER : VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER;
1568 bool readFromStorage,
1574 readFromStorage ? BUFFER_ACCESS_TYPE_READ_FROM_STORAGE : BUFFER_ACCESS_TYPE_READ,