From 90a0afd18f080088cac068d92810fb630225d6be Mon Sep 17 00:00:00 2001 From: ladevieq Date: Wed, 25 Jan 2023 23:06:30 +0100 Subject: Working compute api with uniforms --- include/api-test/handle.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/api-test/handle.hpp') diff --git a/include/api-test/handle.hpp b/include/api-test/handle.hpp index c14e212..2355191 100644 --- a/include/api-test/handle.hpp +++ b/include/api-test/handle.hpp @@ -4,5 +4,7 @@ template struct handle { - const uint32_t id; + uint32_t id = handle::invalid_handle; + + static constexpr uint32_t invalid_handle = -1; }; -- cgit v1.3