Home
last modified time | relevance | path

Searched refs:uniformData (Results 1 – 8 of 8) sorted by relevance

/external/angle/src/libANGLE/renderer/vulkan/
DProgramVk.cpp82 angle::MemoryBuffer *uniformData) in UpdateDefaultUniformBlock() argument
86 uint8_t *dst = uniformData->data() + layoutInfo.offset; in UpdateDefaultUniformBlock()
91 ASSERT(writePtr + (elementSize * count) <= uniformData->data() + uniformData->size()); in UpdateDefaultUniformBlock()
104 ASSERT(writePtr + elementSize <= uniformData->data() + uniformData->size()); in UpdateDefaultUniformBlock()
115 const angle::MemoryBuffer *uniformData) in ReadFromDefaultUniformBlock() argument
120 const uint8_t *source = uniformData->data() + layoutInfo.offset; in ReadFromDefaultUniformBlock()
257 stream->writeInt(mDefaultUniformBlocks[shaderType].uniformData.size()); in save()
421 if (!mDefaultUniformBlocks[shaderType].uniformData.resize( in resizeUniformBlockMemory()
434 mDefaultUniformBlocks[shaderType].uniformData.fill(0); in resizeUniformBlockMemory()
472 &uniformBlock.uniformData); in setUniformImpl()
[all …]
DProgramExecutableVk.h92 angle::MemoryBuffer uniformData; member
DProgramExecutableVk.cpp843 if (!uniformBlock.uniformData.empty()) in updateDefaultUniformsDescriptorSet()
/external/angle/src/libANGLE/renderer/metal/
DProgramMtl.mm148 angle::MemoryBuffer *uniformData)
152 uint8_t *dst = uniformData->data() + layoutInfo.offset;
157 ASSERT(writePtr + (elementSize * count) <= uniformData->data() + uniformData->size());
170 ASSERT(writePtr + elementSize <= uniformData->data() + uniformData->size());
210 const angle::MemoryBuffer *uniformData)
215 const uint8_t *source = uniformData->data() + layoutInfo.offset;
408 if (!mDefaultUniformBlocks[shaderType].uniformData.resize(
415 mDefaultUniformBlocks[shaderType].uniformData.fill(0);
554 &uniformBlock.uniformData);
581 reinterpret_cast<GLint *>(uniformBlock.uniformData.data() + elementOffset);
[all …]
DProgramMtl.h150 angle::MemoryBuffer uniformData; member
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferViewAccessTests.cpp124 static void generateBuffer (std::vector<deUint32>& uniformData, in generateBuffer() argument
129 uniformData.push_back(factor * i); in generateBuffer()
258 std::vector<deUint32> uniformData; in BufferViewTestInstance() local
259 generateBuffer(uniformData, testCase.bufferSize, 1); in BufferViewTestInstance()
264 deMemcpy(m_uniformBufferAlloc->getHostPtr(), uniformData.data(), (size_t)uniformSize); in BufferViewTestInstance()
469 std::vector<deUint32> uniformData; in iterate() local
473 generateBuffer(uniformData, m_testCase.bufferSize, factor); in iterate()
474 deMemcpy(m_uniformBufferAlloc->getHostPtr(), uniformData.data(), (size_t)uniformSize); in iterate()
/external/deqp/modules/gles31/functional/
Des31fSRGBDecodeTests.cpp653 UniformData uniformData(location, std::string(&uniformName[0], strlen(&uniformName[0]))); in SRGBTestProgram() local
654 m_uniformDataList.push_back(uniformData); in SRGBTestProgram()
/external/angle/src/tests/gl_tests/
DGLSLTest.cpp7778 unsigned int uniformData = 456u; in TEST_P() local
7781 glUniform1ui(uniformLocation, uniformData); in TEST_P()
7815 EXPECT_EQ(ptr[1], uniformData); in TEST_P()