You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When trying to use the SAMPLED_TEXTURE_AND_STORAGE_BUFFER_ARRAY_NON_UNIFORM_INDEXING feature, there is strange glitching in the sampled textures.
Repro steps
Run the provided texture-arrays example and resize the window for various artifact patterns.
Expected vs observed behavior
Textures should render the same as with uniform indexing. Instead, they do not.
Extra materials
Here is the trace output from running the texture-arrays example: trace.zip
Here are several screenshots from the included texture-arrays sample binary with different window sizes:
And a more severe example in which I am trying to render a font with each glyph on a separate texture:
Running the texture-arrays example with WGPU_TEXTURE_ARRAY_STYLE=uniform gives normal output. I am using Wayland but setting WINIT_UNIX_BACKEND=x11 makes no difference.
Platform
The example images shown use version 0.17 from the trunk branch. I am running on 6.4.9-arch1-1 with the Sway window manager. Below is information about my adapter as provided by the wgpu-info binary:
Description
When trying to use the
SAMPLED_TEXTURE_AND_STORAGE_BUFFER_ARRAY_NON_UNIFORM_INDEXING
feature, there is strange glitching in the sampled textures.Repro steps
Run the provided
texture-arrays
example and resize the window for various artifact patterns.Expected vs observed behavior
Textures should render the same as with uniform indexing. Instead, they do not.
Extra materials



Here is the trace output from running the
texture-arrays
example:trace.zip
Here are several screenshots from the included
texture-arrays
sample binary with different window sizes:And a more severe example in which I am trying to render a font with each glyph on a separate texture:
Running the
texture-arrays
example withWGPU_TEXTURE_ARRAY_STYLE=uniform
gives normal output. I am using Wayland but settingWINIT_UNIX_BACKEND=x11
makes no difference.Platform
The example images shown use version 0.17 from the
trunk
branch. I am running on6.4.9-arch1-1
with the Sway window manager. Below is information about my adapter as provided by thewgpu-info
binary:The text was updated successfully, but these errors were encountered: