Home
last modified time | relevance | path

Searched refs:s_colors (Results 1 – 2 of 2) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryLayeredRenderingTests.cpp86 static const float s_colors[][4] = variable
600 …return verifyImageSingleColoredRow(log, image, 0.5f, s_colors[layerNdx % DE_LENGTH_OF_ARRAY(s_colo… in verifyLayerContent()
657 const tcu::Vec4 baseColor (s_colors[layerNdx % DE_LENGTH_OF_ARRAY(s_colors)]); in verifyLayerContent()
767 const int numColors = DE_LENGTH_OF_ARRAY(s_colors); in initPrograms()
774 colorTable << (i != 0 ? ",\n" + padding : "") << toGlsl(s_colors[i]); in initPrograms()
818 << " const int colorNdx = layerNdx % " << DE_LENGTH_OF_ARRAY(s_colors) << ";\n" in initPrograms()
883 << " const int colorNdx = gl_InvocationID % " << DE_LENGTH_OF_ARRAY(s_colors) << ";\n" in initPrograms()
943 << " const int colorNdx = layerNdx % " << DE_LENGTH_OF_ARRAY(s_colors) << ";\n" in initPrograms()
1257 …const tcu::Vec4 clearColor = scaleColor(s_colors[layerNdx % DE_LENGTH_OF_ARRAY(s_colors)], … in testLayeredReadBack()
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp1421 static const float s_colors[] = in createSourceBuffer() local
1428 DE_STATIC_ASSERT(sizeof(s_colors) / 2 == BUFFER_DATA_SIZE); in createSourceBuffer()
1456 deMemcpy((deUint8*)mapPtr + offset, &s_colors[8 * (setNdx % 2)], sizeof(s_colors) / 2); in createSourceBuffer()
1457 …for (size_t postGuardOffset = (size_t)offset + sizeof(s_colors) / 2; postGuardOffset + sizeof(floa… in createSourceBuffer()
1459 …set((deUint8*)mapPtr + offset + sizeof(s_colors) / 2, 0x5A, (size_t)bufferSize - (size_t)offset - … in createSourceBuffer()