internal/shaderir: bug fix: test failures

This commit is contained in:
Hajime Hoshi 2022-03-04 19:01:58 +09:00
parent 3c1e64dd67
commit df2133186d

View File

@ -783,11 +783,7 @@ void F0(in float l0, in float l1, out float l2) {
l2 = l4; l2 = l4;
} }
}`, }`,
Metal: `#include <metal_stdlib> Metal: metal.Prelude + `
using namespace metal;
constexpr sampler texture_sampler{filter::nearest};
void F0(float l0, float l1, thread float& l2); void F0(float l0, float l1, thread float& l2);
@ -883,11 +879,7 @@ void F0(in float l0, in float l1, out float l2) {
l2 = l5; l2 = l5;
} }
}`, }`,
Metal: `#include <metal_stdlib> Metal: metal.Prelude + `
using namespace metal;
constexpr sampler texture_sampler{filter::nearest};
void F0(float l0, float l1, thread float& l2); void F0(float l0, float l1, thread float& l2);