Skip to content

Commit 150af62

Browse files
authored
Missing layout in the bindless_texture example. (#2413)
This means the example should also work on intel Xe and a generation before that (gma).
1 parent 488ab2b commit 150af62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arcade/examples/gl/bindless_texture.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def __init__(self):
120120
// The texture handles in the buffer are 64 bit integers and are
121121
// automatically converted into sampler objects for us.
122122
struct TextureRef {
123-
sampler2D tex; // 64 bit integer
123+
layout (bindless_sampler) sampler2D tex; // 64 bit integer
124124
};
125125
126126
// Shader storage buffer with texture handles

0 commit comments

Comments
 (0)