From 386755b1acede97cbf88a074bd99dc2c54bedada Mon Sep 17 00:00:00 2001 From: David Neto Date: Mon, 30 Nov 2020 22:48:55 +0000 Subject: [PATCH] spirv-reader: fix SPIR-V types in handle tests Bug: tint:109 Change-Id: Icb4cbe12334c92a86d1c52a0b3569fb22a1cfc7c Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/34421 Reviewed-by: Ben Clayton Commit-Queue: Ben Clayton Auto-Submit: David Neto --- src/reader/spirv/parser_impl_handle_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/reader/spirv/parser_impl_handle_test.cc b/src/reader/spirv/parser_impl_handle_test.cc index 6c72b50faa..655f11b5a7 100644 --- a/src/reader/spirv/parser_impl_handle_test.cc +++ b/src/reader/spirv/parser_impl_handle_test.cc @@ -49,8 +49,8 @@ std::string CommonBasicTypes() { %uint = OpTypeInt 32 0 %int = OpTypeInt 32 1 - %int_3 = OpConstant %uint 3 - %int_4 = OpConstant %uint 4 + %int_3 = OpConstant %int 3 + %int_4 = OpConstant %int 4 %uint_0 = OpConstant %uint 0 %uint_1 = OpConstant %uint 1 %uint_2 = OpConstant %uint 2