Comments (3)
Hey, thanks for the report, seems like glad should generate the constant as:
static const VkAccessFlagBits2 VK_ACCESS_2_SHADER_SAMPLED_READ_BIT = 4294967296ULL;
from glad.
Thanks for the quick response. I just tested it, and I'm not sure that works.
[root@arch32-builder3 /]# cat test.c
#include <inttypes.h>
typedef uint64_t VkAccessFlagBits2;
static const VkAccessFlagBits2 VK_ACCESS_2_SHADER_SAMPLED_READ_BIT = 4294967296ULL;
int main() { return 0; }
[root@arch32-builder3 /]# gcc -ansi -pedantic test.c
test.c:3:70: warning: use of C99 long long integer constant [-Wlong-long]
3 | static const VkAccessFlagBits2 VK_ACCESS_2_SHADER_SAMPLED_READ_BIT = 4294967296ULL;
| ^~~~~~~~~~~~~
from glad.
Yeah seems to be a C99 thing :(
from glad.
Related Issues (20)
- Glad.h missing HOT 1
- RFE: please start making github releases HOT 3
- GL_MAX_TEXTURE_COORDS missing HOT 2
- How to use Glad2? (gladLoadGL completely missing) HOT 6
- CMake glad_add_library(): REPRODUCIBLE keyword HOT 2
- Parsing extensions fails with Mesa and GLES2
- glad2 debug build recompiles every launch
- Surface related vk calls fail with an SDL-created Vulkan Surface (Vulkan 1.3)
- Provide cmake-package HOT 8
- [question] What heppened with the CMakeLists.txt file in the repository root? HOT 3
- glad_egl_find_core querying EGL_VERSION ahead of eglInitialize HOT 2
- <KHR/khrplatform.h> not found on OpenBSD, alpinelinux and others? HOT 14
- warning: 'GLAD_GLES2_USE_SYSTEM_EGL' is not defined, evaluates to 0 [-Wundef]
- Fail to use GL_NV_geometry_shader_passthrough bug. HOT 4
- GL/GLFW Example Displays GLAD Version "0.1" HOT 6
- GCC -fanalyzer report error when compiling glad HOT 15
- How to know why exactly GLAD failed.(ERROR DESCRIPTION) HOT 1
- Provide a way to automatically obtain the code without the need to manually download it from a web page. HOT 1
- Incrroect encoding when python read file HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glad.