mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-20 23:17:58 -05:00
Shader_IR: Propagate bindless index into the GL compiler.
This commit is contained in:
committed by
FernandoS27
parent
3c34678627
commit
7c530e0666
@ -1123,7 +1123,7 @@ private:
|
||||
if (!meta->sampler.IsIndexed()) {
|
||||
expr += '(' + GetSampler(meta->sampler) + ", ";
|
||||
} else {
|
||||
expr += '(' + GetSampler(meta->sampler) + "[0], ";
|
||||
expr += '(' + GetSampler(meta->sampler) + '[' + Visit(meta->index).AsUint() + "], ";
|
||||
}
|
||||
expr += coord_constructors.at(count + (has_array ? 1 : 0) +
|
||||
(has_shadow && !separate_dc ? 1 : 0) - 1);
|
||||
|
Reference in New Issue
Block a user