mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-19 20:19:13 +12:00
Re-enable non-IEEE shader test
This commit is contained in:
parent
fe9939689d
commit
01b2ac7555
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ SHADER_TEST_CASE("RCP", "[shader][vertex]") {
|
|||
{nihstro::OpCode::Id::END},
|
||||
});
|
||||
|
||||
// REQUIRE(shader->RunScalar({-0.0f}) == INFINITY); // Violates IEEE
|
||||
REQUIRE(shader->runScalar({-0.0f}) == INFINITY);
|
||||
REQUIRE(shader->runScalar({0.0f}) == INFINITY);
|
||||
REQUIRE(shader->runScalar({INFINITY}) == 0.0f);
|
||||
REQUIRE(std::isnan(shader->runScalar({NAN})));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue