Searched refs:LAYOUT_SCALAR (Results 1 – 8 of 8) sorted by relevance
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/ |
D | vktBindingBufferDeviceAddressTests.cpp | 91 LAYOUT_SCALAR, enumerator 187 if (m_data.layout == LAYOUT_SCALAR && !context.getScalarBlockLayoutFeatures().scalarBlockLayout) in checkSupport() 240 if (m_data.layout == LAYOUT_SCALAR) in checkBuffer() 317 deUint32 aStride = m_data.layout == LAYOUT_SCALAR ? 1 : 4; // (in deUint32s) in fillBuffer() 318 deUint32 cStride = m_data.layout == LAYOUT_SCALAR ? 1 : 2; // (in deUint64s) in fillBuffer() 319 deUint32 matStride = m_data.layout == LAYOUT_SCALAR ? 2 : 4; // (in floats) in fillBuffer() 326 if (m_data.layout == LAYOUT_SCALAR) in fillBuffer() 390 std::string layout = m_data.layout == LAYOUT_SCALAR ? "scalar" : "std140"; in initPrograms() 395 << ((m_data.layout == LAYOUT_SCALAR) ? " layout(offset = 36) ivec3 f;\n" : "") << in initPrograms() 404 << ((m_data.layout == LAYOUT_SCALAR) ? " layout(offset = 36) ivec3 f;\n" : "") << in initPrograms() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutCase.hpp | 44 LAYOUT_SCALAR = (1<<4), enumerator 45 LAYOUT_MASK = LAYOUT_STD430|LAYOUT_STD140|LAYOUT_ROW_MAJOR|LAYOUT_COLUMN_MAJOR|LAYOUT_SCALAR,
|
D | vktSSBOLayoutCase.cpp | 81 { LAYOUT_SCALAR, "scalar" }, in operator <<() 455 const deUint32 packingMask = LAYOUT_STD430|LAYOUT_STD140|LAYOUT_RELAXED|LAYOUT_SCALAR; in mergeLayoutFlags() 477 …const int baseAlignment = (layoutFlags & LAYOUT_SCALAR) != 0 ? computeScalarBlockAlignment(type,… in computeReferenceLayout() 508 …const int vecStride = (layoutFlags & LAYOUT_SCALAR) ? getDataTypeByteSize(vecType) : baseAlignme… in computeReferenceLayout() 518 if (!(layoutFlags & LAYOUT_SCALAR) && (layoutFlags & LAYOUT_RELAXED) && in computeReferenceLayout() 538 …const int stride = (layoutFlags & LAYOUT_SCALAR) ? getDataTypeByteSize(elemBasicType) : baseA… in computeReferenceLayout() 565 …const int vecStride = (layoutFlags & LAYOUT_SCALAR) ? getDataTypeByteSize(vecType) : baseAlig… in computeReferenceLayout() 598 if (!(layoutFlags & LAYOUT_SCALAR)) in computeReferenceLayout() 618 …const int baseAlignment = (blockLayoutFlags & LAYOUT_SCALAR) != 0 ? computeScalarBlockAlignment… in computeReferenceLayout() 630 const int stride = (blockLayoutFlags & LAYOUT_SCALAR) ? getDataTypeByteSize(elemBasicType) : in computeReferenceLayout() [all …]
|
D | vktSSBOLayoutTests.cpp | 167 layoutFlagCandidates.push_back(LAYOUT_SCALAR); in generateBlock() 401 …if ((layoutFlags & LAYOUT_SCALAR) && !(type.isBasicType() && isDataTypeScalar(type.getBasicType())… in BlockBasicTypeCase() 1137 { "scalar", LAYOUT_SCALAR }, in init()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockCase.hpp | 55 LAYOUT_SCALAR = (1<<10), enumerator 56 …LAYOUT_MASK = LAYOUT_SHARED|LAYOUT_PACKED|LAYOUT_STD140|LAYOUT_STD430|LAYOUT_SCALAR|LAYOUT_ROW_M…
|
D | vktUniformBlockCase.cpp | 296 { LAYOUT_SCALAR, "scalar" }, in operator <<() 538 const deUint32 packingMask = LAYOUT_STD140|LAYOUT_STD430|LAYOUT_SCALAR; in mergeLayoutFlags() 562 …const int baseAlignment = (layoutFlags & LAYOUT_SCALAR) != 0 ? computeScalarBlockAlignment(type,… in computeReferenceLayout() 593 …const int vecStride = (layoutFlags & LAYOUT_SCALAR) ? getDataTypeByteSize(vecType) : baseAlignme… in computeReferenceLayout() 603 if (!(layoutFlags & LAYOUT_SCALAR) && (layoutFlags & LAYOUT_RELAXED) && in computeReferenceLayout() 623 …const int stride = (layoutFlags & LAYOUT_SCALAR) ? getDataTypeByteSize(elemBasicType) : baseA… in computeReferenceLayout() 650 …const int vecStride = (layoutFlags & LAYOUT_SCALAR) ? getDataTypeByteSize(vecType) : baseAlig… in computeReferenceLayout() 683 if (!(layoutFlags & LAYOUT_SCALAR)) in computeReferenceLayout() 2213 if (usesBlockLayout(LAYOUT_SCALAR)) in initPrograms() 2233 if (!context.getScalarBlockLayoutFeatures().scalarBlockLayout && usesBlockLayout(LAYOUT_SCALAR)) in createInstance()
|
D | vktRandomUniformBlockCase.cpp | 139 layoutFlagCandidates.push_back(LAYOUT_SCALAR); in generateBlock()
|
D | vktUniformBlockTests.cpp | 68 if ((layoutFlags & LAYOUT_SCALAR) && !isDataTypeScalar(type.getBasicType())) { in BlockBasicTypeCase() 439 { "scalar", LAYOUT_SCALAR } in init()
|