mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-22 16:17:53 +00:00
Shader_IR: Propagate bindless index into the GL compiler.
This commit is contained in:
parent
c066e472b9
commit
b6d3153e7e
5 changed files with 54 additions and 24 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue