mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-08 23:25:40 +12:00
Tests: Enable accurate multiplication in shader JIT tests
This commit is contained in:
parent
842634e64e
commit
a7c1ea769c
1 changed files with 6 additions and 2 deletions
|
@ -85,7 +85,11 @@ class ShaderJITTest final : public ShaderInterpreterTest {
|
||||||
private:
|
private:
|
||||||
ShaderJIT shaderJit = {};
|
ShaderJIT shaderJit = {};
|
||||||
|
|
||||||
void runShader() override { shaderJit.run(*shader); }
|
void runShader() override {
|
||||||
|
// We prefer to run tests with accurate NaN emulation
|
||||||
|
shaderJit.setAccurateMul(true);
|
||||||
|
shaderJit.run(*shader);
|
||||||
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit ShaderJITTest(std::initializer_list<nihstro::InlineAsm> code) : ShaderInterpreterTest(code) { shaderJit.prepare(*shader); }
|
explicit ShaderJITTest(std::initializer_list<nihstro::InlineAsm> code) : ShaderInterpreterTest(code) { shaderJit.prepare(*shader); }
|
||||||
|
|
Loading…
Add table
Reference in a new issue