xref: /third_party/glslang/Test/GL_ARB_gpu_shader5.u2i.vert
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/glslang/Test/
1617a3babSopenharmony_ci#version 150
2617a3babSopenharmony_ci#extension GL_ARB_gpu_shader5 : require
3617a3babSopenharmony_ci
4617a3babSopenharmony_ciuniform int u1;
5617a3babSopenharmony_ciuniform int u2;
6617a3babSopenharmony_ciout   vec4 result;
7617a3babSopenharmony_civoid main()
8617a3babSopenharmony_ci{
9617a3babSopenharmony_ci    uint v = 0;
10617a3babSopenharmony_ci    v = uint(u2) - u1;  // implicit conversions
11617a3babSopenharmony_ci}
12

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