A bunch of array fixes and some buffer stuff that doesn't quite work yet
This commit is contained in:
11
test/buffers.ink
Normal file
11
test/buffers.ink
Normal file
@@ -0,0 +1,11 @@
|
||||
property_buffer :: buffer {
|
||||
color : float4;
|
||||
}
|
||||
|
||||
cbuffer :: constant_buffer {
|
||||
color : float4;
|
||||
}
|
||||
|
||||
pixel main :: (index : int) {
|
||||
return property_buffer[index].color;
|
||||
}
|
||||
Reference in New Issue
Block a user