xref: /third_party/glslang/Test/negativeArraySize.comp
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/glslang/Test/
1617a3babSopenharmony_ci#version 310 es
2617a3babSopenharmony_ci
3617a3babSopenharmony_ci#ifdef GL_ES
4617a3babSopenharmony_ciprecision mediump float;
5617a3babSopenharmony_ci#endif
6617a3babSopenharmony_ci
7617a3babSopenharmony_civoid main()
8617a3babSopenharmony_ci{
9617a3babSopenharmony_ci   float f[-2]; // cannot declare arrays with negative size
10617a3babSopenharmony_ci}
11

Indexes created Thu Nov 07 10:32:03 CST 2024