unplugged-system/external/skia/resources/sksl/errors/InvalidAssignmentPipelineInputs.sksl

15 lines
290 B
Plaintext

layout(location = 0) in float stageInput;
in foo {
layout(location = 1) float stageInputInBlock;
};
void main() {
stageInput = 5;
stageInputInBlock = 6;
}
/*%%*
cannot modify pipeline input variable 'stageInput'
cannot modify pipeline input variable 'stageInputInBlock'
*%%*/