Vulkan: Simple buffer creation.
This is necessary to initialize vertex arrays.
BUG=angleproject:1579
Change-Id: Ic5a232d5cdfaa75b41241901de842e62ff3b173f
Reviewed-on: https://chromium-review.googlesource.com/406645
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
diff --git a/src/tests/gl_tests/SimpleOperationTest.cpp b/src/tests/gl_tests/SimpleOperationTest.cpp
index 4806abd..e9e8490 100644
--- a/src/tests/gl_tests/SimpleOperationTest.cpp
+++ b/src/tests/gl_tests/SimpleOperationTest.cpp
@@ -54,6 +54,13 @@
TEST_P(SimpleOperationTest, CompileVertexShader)
{
+ if (IsVulkan())
+ {
+ // TODO(jmadill): Complete Vulkan implementation.
+ std::cout << "Test skipped on Vulkan." << std::endl;
+ return;
+ }
+
const std::string source = SHADER_SOURCE
(
attribute vec4 a_input;
@@ -72,6 +79,13 @@
TEST_P(SimpleOperationTest, CompileFragmentShader)
{
+ if (IsVulkan())
+ {
+ // TODO(jmadill): Complete Vulkan implementation.
+ std::cout << "Test skipped on Vulkan." << std::endl;
+ return;
+ }
+
const std::string source = SHADER_SOURCE
(
precision mediump float;
@@ -91,6 +105,13 @@
TEST_P(SimpleOperationTest, LinkProgram)
{
+ if (IsVulkan())
+ {
+ // TODO(jmadill): Complete Vulkan implementation.
+ std::cout << "Test skipped on Vulkan." << std::endl;
+ return;
+ }
+
const std::string vsSource = SHADER_SOURCE
(
void main()
@@ -116,6 +137,13 @@
TEST_P(SimpleOperationTest, LinkProgramWithUniforms)
{
+ if (IsVulkan())
+ {
+ // TODO(jmadill): Complete Vulkan implementation.
+ std::cout << "Test skipped on Vulkan." << std::endl;
+ return;
+ }
+
const std::string vsSource = SHADER_SOURCE
(
void main()
@@ -147,6 +175,13 @@
TEST_P(SimpleOperationTest, LinkProgramWithAttributes)
{
+ if (IsVulkan())
+ {
+ // TODO(jmadill): Complete Vulkan implementation.
+ std::cout << "Test skipped on Vulkan." << std::endl;
+ return;
+ }
+
const std::string vsSource = SHADER_SOURCE
(
attribute vec4 a_input;
@@ -231,6 +266,7 @@
ES2_OPENGL(),
ES3_OPENGL(),
ES2_OPENGLES(),
- ES3_OPENGLES());
+ ES3_OPENGLES(),
+ ES2_VULKAN());
} // namespace