mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-11 18:17:59 -05:00
glasm: Implement TEX and TEXS instructions
Remove lod clamp from texture instructions with lod, as this is not needed (nor supported).
This commit is contained in:
@ -283,6 +283,9 @@ void SetupOptions(std::string& header, Info info) {
|
||||
if (info.uses_subgroup_shuffles) {
|
||||
header += "OPTION NV_shader_thread_shuffle;";
|
||||
}
|
||||
if (info.uses_sparse_residency) {
|
||||
header += "OPTION EXT_sparse_texture2;";
|
||||
}
|
||||
const auto non_zero_frag_colors{info.stores_frag_color | std::views::drop(1)};
|
||||
if (std::ranges::find(non_zero_frag_colors, true) != non_zero_frag_colors.end()) {
|
||||
header += "OPTION ARB_draw_buffers;";
|
||||
|
Reference in New Issue
Block a user