From 1f96070f28f6a72d992afd5576107a3e50f7e553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Tue, 9 Dec 2014 23:19:53 -0800 Subject: [PATCH] Cleanup. --- include/bgfx.c99.h | 2 +- src/bgfx_compute.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/bgfx.c99.h b/include/bgfx.c99.h index 5ee57166..411c6907 100644 --- a/include/bgfx.c99.h +++ b/include/bgfx.c99.h @@ -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; diff --git a/src/bgfx_compute.sh b/src/bgfx_compute.sh index 9b369895..31395c0b 100644 --- a/src/bgfx_compute.sh +++ b/src/bgfx_compute.sh @@ -14,8 +14,8 @@ #define IMAGE2D_RW(_name, _reg) RWTexture2D _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)]