• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 460 core
2#extension GL_AMD_gpu_shader_int16 : enable
3#extension GL_ARB_gpu_shader_int64 : enable
4
5void a(){
6    int16_t u = -32768S / -1S; // SHRT_MIN
7    int v = -2147483648 / -1; // INT_MIN
8    int64_t w = -9223372036854775808L / -1L; // LLONG_MIN
9    int16_t x = -32768S % -1S; // SHRT_MIN
10    int y = -2147483648 % -1; // INT_MIN
11    int64_t z = -9223372036854775808L % -1L; // LLONG_MIN
12}