mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-07 19:41:38 +12:00
compile the copy shader
This commit is contained in:
parent
3d32d7a292
commit
82e436199c
2 changed files with 27 additions and 13 deletions
|
@ -1,3 +1,6 @@
|
|||
#include <metal_stdlib>
|
||||
using namespace metal;
|
||||
|
||||
constant ushort lutTextureWidth [[function_constant(0)]];
|
||||
|
||||
vertex void vertexCopyToLUTTexture(uint vid [[vertex_id]], constant ushort* data [[buffer(0)]], texture1d_array<ushort, access::write> out [[texture(0)]]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue