Lines Matching defs:components
108 // Color components.
114 std::string componentCodes (vk::VkColorComponentFlags components)
118 if ((components & CR) != 0u) name += "r";
119 if ((components & CG) != 0u) name += "g";
120 if ((components & CB) != 0u) name += "b";
121 if ((components & CA) != 0u) name += "a";
128 // Chooses clear or geometry color depending on the selected components.
129 tcu::Vec4 filterColor (const tcu::Vec4& clearColor, const tcu::Vec4& color, vk::VkColorComponentFlags components)
133 (((components & CR) != 0u) ? color[0] : clearColor[0]),
134 (((components & CG) != 0u) ? color[1] : clearColor[1]),
135 (((components & CB) != 0u) ? color[2] : clearColor[2]),
136 (((components & CA) != 0u) ? color[3] : clearColor[3])
296 // Vertices in buffers will have 2 components and a padding to properly test the stride.
414 // Vertices in buffers will have 2 components and a padding. Same as VertexWithPadding but using 16-bit floats.
1348 const tcu::Vec4 kOpaqueWhite (1.0f, 1.0f, 1.0f, 1.0f); // Opaque white, all components active.