mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-05 06:03:34 +00:00
spirv-reader: GLSLStd450RoundEven maps to round
This is from the resolution to https://github.com/gpuweb/gpuweb/issues/1381 Bug: tint:3 Change-Id: If4158d8ff3bffce0e82d2230e5df5650193e7541 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/40180 Auto-Submit: David Neto <dneto@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: dan sinclair <dsinclair@chromium.org>
This commit is contained in:
parent
c63e1c0791
commit
f4329f57e5
@ -407,6 +407,7 @@ std::string GetGlslStd450FuncName(uint32_t ext_opcode) {
|
||||
case GLSLstd450Reflect:
|
||||
return "reflect";
|
||||
case GLSLstd450Round:
|
||||
case GLSLstd450RoundEven:
|
||||
return "round";
|
||||
case GLSLstd450Sin:
|
||||
return "sin";
|
||||
@ -428,7 +429,6 @@ std::string GetGlslStd450FuncName(uint32_t ext_opcode) {
|
||||
default:
|
||||
// TODO(dneto) - The following are not implemented.
|
||||
// They are grouped semantically, as in GLSL.std.450.h.
|
||||
case GLSLstd450RoundEven:
|
||||
case GLSLstd450SSign:
|
||||
|
||||
case GLSLstd450Radians:
|
||||
|
@ -688,6 +688,7 @@ INSTANTIATE_TEST_SUITE_P(Samples,
|
||||
{"Log2", "log2"},
|
||||
{"Normalize", "normalize"},
|
||||
{"Round", "round"},
|
||||
{"RoundEven", "round"},
|
||||
{"Sin", "sin"},
|
||||
{"Sinh", "sinh"},
|
||||
{"Sqrt", "sqrt"},
|
||||
|
Loading…
x
Reference in New Issue
Block a user