/third_party/skia/tests/graphite/ |
D | CommandBufferTest.cpp | 79 size_t uniformOffset = 0; in DEF_GRAPHITE_TEST_FOR_CONTEXTS() local 96 commandBuffer->bindUniformBuffer(uniformBuffer, uniformOffset); in DEF_GRAPHITE_TEST_FOR_CONTEXTS() 98 uniformOffset += sizeof(UniformData); in DEF_GRAPHITE_TEST_FOR_CONTEXTS() 136 commandBuffer->bindUniformBuffer(uniformBuffer, uniformOffset); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
|
/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkUniformHandler.cpp | 181 static void get_ubo_aligned_offset(uint32_t* uniformOffset, in get_ubo_aligned_offset() argument 194 *uniformOffset = *currentOffset + offsetDiff; in get_ubo_aligned_offset() 199 *currentOffset = *uniformOffset + elementSize * arrayCount; in get_ubo_aligned_offset() 201 *currentOffset = *uniformOffset + grsltype_to_vk_size(type); in get_ubo_aligned_offset()
|
D | GrVkPipelineStateDataManager.cpp | 315 inline static void set(void* buffer, int uniformOffset, int count, const float matrices[]) { in set() 317 buffer = static_cast<char*>(buffer) + uniformOffset; in set() 329 inline static void set(void* buffer, int uniformOffset, int count, const float matrices[]) { in set() 331 buffer = static_cast<char*>(buffer) + uniformOffset; in set()
|
/third_party/flutter/skia/src/gpu/dawn/ |
D | GrDawnUniformHandler.cpp | 190 uint32_t uniformOffset = *currentOffset + offsetDiff; in get_ubo_offset() local 195 *currentOffset = uniformOffset + elementSize * arrayCount; in get_ubo_offset() 197 *currentOffset = uniformOffset + grsltype_to_size(type); in get_ubo_offset() 199 return uniformOffset; in get_ubo_offset()
|
D | GrDawnProgramDataManager.cpp | 245 inline static void set(void* buffer, int uniformOffset, int count, const float matrices[]) { in set() 247 buffer = static_cast<char*>(buffer) + uniformOffset; in set() 259 inline static void set(void* buffer, int uniformOffset, int count, const float matrices[]) { in set() 261 buffer = static_cast<char*>(buffer) + uniformOffset; in set()
|
/third_party/skia/src/gpu/ |
D | GrSPIRVUniformHandler.cpp | 174 uint32_t uniformOffset = *currentOffset + offsetDiff; in get_ubo_offset() local 179 *currentOffset = uniformOffset + elementSize * arrayCount; in get_ubo_offset() 181 *currentOffset = uniformOffset + grsltype_to_size(type); in get_ubo_offset() 183 return uniformOffset; in get_ubo_offset()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkUniformHandler.cpp | 177 int32_t uniformOffset = *currentOffset + offsetDiff; in get_aligned_offset() local 183 *currentOffset = uniformOffset + elementSize * arrayCount; in get_aligned_offset() 185 *currentOffset = uniformOffset + grsltype_to_vk_size(type, layout); in get_aligned_offset() 187 return uniformOffset; in get_aligned_offset()
|
/third_party/skia/experimental/graphite/src/mtl/ |
D | MtlCommandBuffer.mm | 154 size_t uniformOffset) { 160 SkASSERT((uniformOffset & 0xFF) == 0); 162 SkASSERT((uniformOffset & 0xF) == 0); 164 fActiveRenderCommandEncoder->setVertexBuffer(mtlBuffer, uniformOffset, 166 fActiveRenderCommandEncoder->setFragmentBuffer(mtlBuffer, uniformOffset,
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlUniformHandler.mm | 155 // taking into consideration all alignment requirements. The uniformOffset is set to the offset for 169 uint32_t uniformOffset = *currentOffset + offsetDiff; 172 *currentOffset = uniformOffset + grsltype_to_mtl_size(type) * arrayCount; 174 *currentOffset = uniformOffset + grsltype_to_mtl_size(type); 176 return uniformOffset;
|
/third_party/flutter/skia/src/gpu/mtl/ |
D | GrMtlPipelineStateDataManager.mm | 301 inline static void set(void* buffer, int uniformOffset, int count, const float matrices[]) { 303 buffer = static_cast<char*>(buffer) + uniformOffset; 309 inline static void set(void* buffer, int uniformOffset, int count, const float matrices[]) { 311 buffer = static_cast<char*>(buffer) + uniformOffset; 323 inline static void set(void* buffer, int uniformOffset, int count, const float matrices[]) { 325 buffer = static_cast<char*>(buffer) + uniformOffset;
|
D | GrMtlUniformHandler.mm | 178 // taking into consideration all alignment requirements. The uniformOffset is set to the offset for 180 static void get_ubo_aligned_offset(uint32_t* uniformOffset, 193 *uniformOffset = *currentOffset + offsetDiff; 196 *currentOffset = *uniformOffset + grsltype_to_mtl_size(type) * arrayCount; 198 *currentOffset = *uniformOffset + grsltype_to_mtl_size(type);
|
/third_party/skia/experimental/graphite/src/ |
D | UniformManager.cpp | 451 uint32_t uniformOffset = *currentOffset + offsetDiff; in get_ubo_aligned_offset() local 454 *currentOffset = uniformOffset + sltype_to_mtl_size(type) * arrayCount; in get_ubo_aligned_offset() 456 *currentOffset = uniformOffset + sltype_to_mtl_size(type); in get_ubo_aligned_offset() 458 return uniformOffset; in get_ubo_aligned_offset()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fBasicComputeShaderTests.cpp | 1568 …const deUint32 uniformOffset = getProgramResourceUint(gl, program.getProgram(), GL_UNIFORM, unifo… in iterate() local 1573 const deUint32 resVal = *((const deUint32*)((const deUint8*)bufMap.getPtr() + uniformOffset)); in iterate()
|