xref: /third_party/glslang/Test/spv.bufferhandle17_Errors.frag
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/glslang/Test/
1617a3babSopenharmony_ci#version 450
2617a3babSopenharmony_ci
3617a3babSopenharmony_ci#extension GL_EXT_shader_explicit_arithmetic_types_int64 : enable
4617a3babSopenharmony_ci#extension GL_EXT_buffer_reference : enable
5617a3babSopenharmony_ci#extension GL_EXT_scalar_block_layout : enable
6617a3babSopenharmony_ci
7617a3babSopenharmony_cilayout(buffer_reference) buffer T1 {
8617a3babSopenharmony_ci    int x;
9617a3babSopenharmony_ci};
10617a3babSopenharmony_ci
11617a3babSopenharmony_ciconst T1 a = T1(uint64_t(2));
12617a3babSopenharmony_ci
13617a3babSopenharmony_civoid main()
14617a3babSopenharmony_ci{
15617a3babSopenharmony_ci    T1 b, c;
16617a3babSopenharmony_ci    const T1 d = b;
17617a3babSopenharmony_ci
18617a3babSopenharmony_ci    b == c;
19617a3babSopenharmony_ci    b != c;
20617a3babSopenharmony_ci}
21

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