Fix GLTF viewer shader with wrong binding indices.

BUG=

Change-Id: Ifcc302280d52f4f1c1860d2a59b864372397ceb9
Reviewed-on: https://dawn-review.googlesource.com/1700
Commit-Queue: James Darpinian <jdarpinian@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
This commit is contained in:
James Darpinian 2018-09-28 19:51:18 +00:00 committed by Commit Bot service account
parent bf47553c0a
commit 664f8fd385
1 changed files with 2 additions and 2 deletions

View File

@ -202,8 +202,8 @@ namespace {
auto oFSSourceTextured = R"( auto oFSSourceTextured = R"(
#version 450 #version 450
layout(set = 0, binding = 1) uniform sampler u_samp; layout(set = 0, binding = 0) uniform sampler u_samp;
layout(set = 0, binding = 2) uniform texture2D u_tex; layout(set = 0, binding = 1) uniform texture2D u_tex;
layout(location = 0) in vec3 v_normal; layout(location = 0) in vec3 v_normal;
layout(location = 1) in vec2 v_texcoord; layout(location = 1) in vec2 v_texcoord;