xref: /aosp_15_r20/external/skia/resources/sksl/spirv/WrongCombinedSamplerLayoutForWebGPUSampler.sksl (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1*c8dee2aaSAndroid Build Coastguard Workerlayout(webgpu, set=0, binding=0) sampler2D aSampler;
2*c8dee2aaSAndroid Build Coastguard Worker
3*c8dee2aaSAndroid Build Coastguard Workervoid main() {
4*c8dee2aaSAndroid Build Coastguard Worker    sk_FragColor = sample(aSampler, float2(0));
5*c8dee2aaSAndroid Build Coastguard Worker}
6*c8dee2aaSAndroid Build Coastguard Worker
7*c8dee2aaSAndroid Build Coastguard Worker/*%%*
8*c8dee2aaSAndroid Build Coastguard Workerselected backend requires separate texture and sampler indices
9*c8dee2aaSAndroid Build Coastguard Worker*%%*/
10