mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 01:05:46 +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
|
@ -328,7 +328,7 @@ private:
|
|||
std::optional<SamplerInfo> sampler_info = std::nullopt);
|
||||
|
||||
/// Accesses a texture sampler for a bindless texture.
|
||||
const Sampler* GetBindlessSampler(Tegra::Shader::Register reg,
|
||||
const Sampler* GetBindlessSampler(Tegra::Shader::Register reg, Node& index_var,
|
||||
std::optional<SamplerInfo> sampler_info = std::nullopt);
|
||||
|
||||
/// Accesses an image.
|
||||
|
@ -394,8 +394,7 @@ private:
|
|||
|
||||
std::tuple<Node, u32, u32> TrackCbuf(Node tracked, const NodeBlock& code, s64 cursor) const;
|
||||
|
||||
std::tuple<Node, TrackSampler> TrackSampler(Node tracked, const NodeBlock& code,
|
||||
s64 cursor) const;
|
||||
std::tuple<Node, TrackSampler> TrackSampler(Node tracked, const NodeBlock& code, s64 cursor);
|
||||
|
||||
std::optional<u32> TrackImmediate(Node tracked, const NodeBlock& code, s64 cursor) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue