11 lines
250 B
Plaintext
11 lines
250 B
Plaintext
/*#pragma settings SPIRVDawnCompatMode*/
|
|
layout(set=0, binding=0) uniform sampler2D aSampler;
|
|
|
|
void main() {
|
|
sk_FragColor = sample(aSampler, float2(0));
|
|
}
|
|
|
|
/*%%*
|
|
SPIR-V dawn compatibility mode requires an explicit texture and sampler index
|
|
*%%*/
|