Fix VertexStateTests
BUG=dawn:714 Change-Id: Ic9c478ae708d48cf78228edf831badb7c401d131 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/44924 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org> Auto-Submit: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
parent
322e451a62
commit
ed16517e32
|
@ -106,9 +106,9 @@ class VertexStateTest : public DawnTest {
|
|||
vs << (component == 3 ? "1.0" : "0.0");
|
||||
} else {
|
||||
if (input.step == InputStepMode::Vertex) {
|
||||
vs << "f32(" << multiplier << " * VertexIndex) + " << component << ".0";
|
||||
vs << "f32(" << multiplier << "u * VertexIndex) + " << component << ".0";
|
||||
} else {
|
||||
vs << "f32(" << multiplier << " * InstanceIndex) + " << component << ".0";
|
||||
vs << "f32(" << multiplier << "u * InstanceIndex) + " << component << ".0";
|
||||
}
|
||||
}
|
||||
vs << ");\n";
|
||||
|
|
Loading…
Reference in New Issue