Finetuning some error checks

This commit is contained in:
jpekkila
2019-10-07 20:40:32 +03:00
parent ea4438f331
commit 08f155cbec
2 changed files with 17 additions and 4 deletions

View File

@@ -29,8 +29,7 @@
#include <assert.h>
static_assert(NUM_VTXBUF_HANDLES > 0,
"ERROR: NUM_VTXBUF_HANDLES (uniform ScalarFields) must be > 0");
static_assert(NUM_VTXBUF_HANDLES > 0, "ERROR: At least one uniform ScalarField must be declared.");
static __device__ constexpr int
IDX(const int i)