Open anchor76 opened 5 years ago
hello,
i'm trying to compile es3.x shader with sampler2dArray support. its not supported in the core es2.x api, but its part of es3.x.
line from my shader: SAMPLER2DARRAY(s_albedo, 0);
SAMPLER2DARRAY(s_albedo, 0);
the error:
394: uniform sampler2DArray s_albedo; 24: ^ Error: (394,24): error: syntax error, unexpected NEW_IDENTIFIER, expecting '{' Failed to build shader.
is es3.x supported by shaderc? (my bgfx code base is from april)
_edit: the command line option is -> shaderc.exe -f fs_terrain_new.sc -o essl/fs_terrainnew.bin --type f --platform android
It should be handled by shaderc, I'll take a look.
hello,
i'm trying to compile es3.x shader with sampler2dArray support. its not supported in the core es2.x api, but its part of es3.x.
line from my shader:
SAMPLER2DARRAY(s_albedo, 0);
the error:
is es3.x supported by shaderc? (my bgfx code base is from april)
_edit: the command line option is -> shaderc.exe -f fs_terrain_new.sc -o essl/fs_terrainnew.bin --type f --platform android