Graphics
Intel® graphics drivers and software, compatibility, troubleshooting, performance, and optimization
20598 Discussions

ERROR___INTEGER_CONST_OVERFLOW on macro when compiling GLSL shader

Xottab_DUTY
Beginner
895 Views

GPU: Intel(R) UHD Graphics 620

Driver: 26.20.100.6860

PNP Device ID: PCI\VEN_8086&DEV_5917&SUBSYS_225D17AA&REV_07\3&11583659&1&10

Doesn't occur on non-intel GPU

 

Steps to Reproduce:
-------------------------------

1. Write somewhere in your GLSL shader this:

#define half float

2. Try to compile it.

 

Expected Results:
-------------------------------

Successful compilation. 

 

Actual Results:
-------------------------------

ERROR: 27:137: '' : syntax error: ERROR___INTEGER_CONST_OVERFLOW

0 Kudos
0 Replies
Reply