51 ATTR_BACK_DIFFUSE = 6,
52 ATTR_BACK_SPECULAR = 7,
61 float attribute_value[4];
71 void CreateGeometry(TestHost::DrawPrimitive primitive);
72 void Test(TestHost::DrawPrimitive primitive, Attribute test_attribute,
const TestConfig &config);
73 void TestD3DColor(
bool zero_stride);
74 void TestSquashedDrawArrays();
76 static std::string MakeTestName(TestHost::DrawPrimitive primitive, Attribute test_attribute,
79 static std::string DrawModeLabel(DrawMode mode);
83 std::shared_ptr<VertexBuffer> bleed_buffer_;
85 std::shared_ptr<VertexBuffer> test_buffer_;
87 std::vector<uint32_t> index_buffer_;
90 uint32_t *d3d_colors_{
nullptr};