mirror of
https://git.uzuy-edge.org/Uzuy-Edge/Uzuy
synced 2024-11-26 23:40:30 +00:00
chore: add conditional check for GL_NV_gpu_shader5 extension
- Wrapped `GL_NV_gpu_shader5` extension with `#ifdef` to ensure it is only enabled if available
This commit is contained in:
parent
e360070de4
commit
e57d30616e
@ -10,7 +10,10 @@
|
||||
#ifdef UZUY_USE_FP16
|
||||
|
||||
#extension GL_AMD_gpu_shader_half_float : enable
|
||||
|
||||
#ifdef GL_NV_gpu_shader5
|
||||
#extension GL_NV_gpu_shader5 : enable
|
||||
#endif
|
||||
|
||||
#define lfloat float16_t
|
||||
#define lvec2 f16vec2
|
||||
|
Loading…
Reference in New Issue
Block a user