mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
internal/shaderir: bug fix: test failures
This commit is contained in:
parent
3c1e64dd67
commit
df2133186d
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user