xref: /third_party/mesa3d/src/vulkan/overlay-layer/overlay.frag
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/mesa3d/src/vulkan/overlay-layer/
1bf215546Sopenharmony_ci#version 450 core
2bf215546Sopenharmony_cilayout(location = 0) out vec4 fColor;
3bf215546Sopenharmony_ci
4bf215546Sopenharmony_cilayout(set=0, binding=0) uniform sampler2D sTexture;
5bf215546Sopenharmony_ci
6bf215546Sopenharmony_cilayout(location = 0) in struct{
7bf215546Sopenharmony_ci    vec4 Color;
8bf215546Sopenharmony_ci    vec2 UV;
9bf215546Sopenharmony_ci} In;
10bf215546Sopenharmony_ci
11bf215546Sopenharmony_civoid main()
12bf215546Sopenharmony_ci{
13bf215546Sopenharmony_ci    fColor = In.Color * texture(sTexture, In.UV.st);
14bf215546Sopenharmony_ci}
15

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