• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1layout(set = 0, binding = 1, rgba32f) writeonly texture2D rgba32fTex;
2layout(set = 0, binding = 2, r32f)    writeonly texture2D r32fTex;
3layout(set = 0, binding = 3, rgba8)   writeonly texture2D rgba8Tex;
4
5void takes_any_pixel_format(readonly  texture2D tex) {}
6void takes_any_pixel_format(writeonly texture2D tex) {}
7
8/*%%*
9storage texture parameters must specify a pixel format layout-qualifier
10storage texture parameters must specify a pixel format layout-qualifier
11*%%*/
12