mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 12:15:45 +00:00
glasm: Implement SetAttribute ViewportMask
This commit is contained in:
parent
2cff04fab9
commit
1d99187d4c
2 changed files with 10 additions and 1 deletions
|
@ -286,7 +286,8 @@ void SetupOptions(const IR::Program& program, const Profile& profile,
|
|||
if (info.uses_sparse_residency) {
|
||||
header += "OPTION EXT_sparse_texture2;";
|
||||
}
|
||||
if ((info.stores_viewport_index || info.stores_layer) && stage != Stage::Geometry) {
|
||||
if (((info.stores_viewport_index || info.stores_layer) && stage != Stage::Geometry) ||
|
||||
info.stores_viewport_mask) {
|
||||
if (profile.support_viewport_index_layer_non_geometry) {
|
||||
header += "OPTION NV_viewport_array2;";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue