Shotaro Uchida 219e7d0c20
Fix shader warning for macOS Catalina (#30)
In Catalina, shader creation will fail because of the following issue:

```
Compilation succeeded with:

program_source:22:21: warning: writable resources in non-void vertex function
vertex VertexOutput vertFunc2(unsigned int vID[[vertex_id]], device Vertex *pos [[buffer(0)]])
                    ^
program_source:22:77: note: writable buffer defined here
vertex VertexOutput vertFunc2(unsigned int vID[[vertex_id]], device Vertex *pos [[buffer(0)]])
                                                                            ^
```

Adding const to ensure the buffer is read-only.
2020-02-26 07:57:25 +01:00
..
2019-12-14 11:20:59 +01:00
2019-12-14 11:20:59 +01:00
2019-12-14 11:20:59 +01:00
2019-11-14 16:18:42 +01:00
2019-06-08 20:34:05 +02:00
2019-06-08 20:34:05 +02:00
2019-11-14 16:18:42 +01:00
2019-11-14 16:18:42 +01:00