shader: Implement miss attribute layer

This commit is contained in:
FengChen 2022-11-11 00:25:03 +08:00
parent ad9e5bc5b7
commit 60e0d4a177
5 changed files with 13 additions and 0 deletions

View file

@ -320,6 +320,7 @@ void SetupOptions(const IR::Program& program, const Profile& profile,
}
if (stage == Stage::Fragment) {
header += "OPTION ARB_draw_buffers;";
header += "OPTION ARB_fragment_layer_viewport;";
}
}