This commit is contained in:
Branimir Karadžić 2014-12-09 23:19:53 -08:00
parent ad47659669
commit 1f96070f28
2 changed files with 3 additions and 3 deletions

View file

@ -245,7 +245,7 @@ typedef struct bgfx_instance_data_buffer
uint8_t* data;
uint32_t size;
uint32_t offset;
uint32_t num;
uint32_t num;
uint16_t stride;
bgfx_vertex_buffer_handle_t handle;

View file

@ -14,8 +14,8 @@
#define IMAGE2D_RW(_name, _reg) RWTexture2D<float4> _name : register(u[_reg])
#define IMAGE2D_WR(_name, _reg) IMAGE2D_RW(_name, _reg)
#define BUFFER_RO(_name, _struct, _reg) Buffer<_struct> _name : register(b[_reg])
#define BUFFER_RW(_name, _struct, _reg) Buffer<_struct> _name : register(u[_reg])
#define BUFFER_RO(_name, _struct, _reg) Buffer<_struct> _name : register(b[_reg])
#define BUFFER_RW(_name, _struct, _reg) RWBuffer<_struct> _name : register(u[_reg])
#define BUFFER_WR(_name, _struct, _reg) BUFFER_RW(_name, _struct, _reg)
#define NUM_THREADS(_x, _y, _z) [numthreads(_x, _y, _z)]