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:
parent
bf47553c0a
commit
664f8fd385
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue