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
When writing a simple resolve shader, that resolved a multi sampled texture (example in Slang):
#languageslang 2026
[[vk::binding(0, 0)]] var texture: Texture2DMS;
[[shader("pixel")]]
func fs_main(float4 position : SV_Position) ->float4 {
let pixel_coord = int2(position.xy);
var color: float4;
for (var index: int=0; index <8; index++) {
color +=texture.Load(pixel_coord, index);
}
color = color /8.0;
return color;
}
Then naga throws this error:
UnsupportedCapability(StorageImageMultisample)
I will write PR to solve this issue, since it seems that naga is actually implementing loading from multi samples textures just fine.