mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-07 13:39:55 +00:00
Merge pull request #8249 from MayankManas/test/agc-f64-denormal-modes-skip-without-float64
test(agc): skip the f64 denormal mode tests on devices without shaderFloat64
This commit is contained in:
2 files changed
+8
No files matched your search
@@ -192,6 +192,10 @@ int main() {
|
||||
try {
|
||||
const auto device = OpenVulkanTestDevice();
|
||||
if (!device) return VulkanTestSkipped;
|
||||
if (!TargetHasCapability(device->Target(), spv::CapabilityFloat64)) {
|
||||
std::puts("skipped, the device has no shaderFloat64");
|
||||
return VulkanTestSkipped;
|
||||
}
|
||||
const Mode modes[] = {
|
||||
{"without a known float mode", std::nullopt, 3u},
|
||||
{"f64 denormal mode 0, IEEE mode on", ShaderRecompiler::ShaderFloatMode{0x30u, true, true, false}, 0u},
|
||||
|
||||
@@ -137,6 +137,10 @@ int main() {
|
||||
try {
|
||||
const auto device = OpenVulkanTestDevice();
|
||||
if (!device) return VulkanTestSkipped;
|
||||
if (!TargetHasCapability(device->Target(), spv::CapabilityFloat64)) {
|
||||
std::puts("skipped, the device has no shaderFloat64");
|
||||
return VulkanTestSkipped;
|
||||
}
|
||||
const Mode modes[] = {
|
||||
{"without a known float mode", std::nullopt},
|
||||
{"f64 denormal mode 0, IEEE mode on", ShaderRecompiler::ShaderFloatMode{0x30u, true, true, false}},
|
||||
|
||||
Reference in new issue
Block a user