Commit 2fe36e45 by Jamie Madill

Vulkan: Enable SimpleVertexShader.

Required correct depth range implementation, matrix uniforms, etc. Bug: angleproject:2403 Change-Id: I84d12aae0c9eb760645d6b953461122bce7d31d1 Reviewed-on: https://chromium-review.googlesource.com/967265Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
parent 0e82ae9c
...@@ -25,8 +25,8 @@ ...@@ -25,8 +25,8 @@
class SimpleVertexShaderSample : public SampleApplication class SimpleVertexShaderSample : public SampleApplication
{ {
public: public:
SimpleVertexShaderSample() SimpleVertexShaderSample(EGLint displayType)
: SampleApplication("SimpleVertexShader", 1280, 720) : SampleApplication("SimpleVertexShader", 1280, 720, 2, 0, displayType)
{ {
} }
...@@ -144,6 +144,13 @@ class SimpleVertexShaderSample : public SampleApplication ...@@ -144,6 +144,13 @@ class SimpleVertexShaderSample : public SampleApplication
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
SimpleVertexShaderSample app; EGLint displayType = EGL_PLATFORM_ANGLE_TYPE_DEFAULT_ANGLE;
if (argc > 1)
{
displayType = GetDisplayTypeFromArg(argv[1]);
}
SimpleVertexShaderSample app(displayType);
return app.run(); return app.run();
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment