mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 01:05:46 +00:00
shader: Keep track of shaders using warp instructions
This commit is contained in:
parent
243a33aba9
commit
f2de7089e1
2 changed files with 8 additions and 0 deletions
|
@ -137,6 +137,10 @@ public:
|
|||
return uses_vertex_id;
|
||||
}
|
||||
|
||||
bool UsesWarps() const {
|
||||
return uses_warps;
|
||||
}
|
||||
|
||||
bool HasPhysicalAttributes() const {
|
||||
return uses_physical_attributes;
|
||||
}
|
||||
|
@ -415,6 +419,7 @@ private:
|
|||
bool uses_physical_attributes{}; // Shader uses AL2P or physical attribute read/writes
|
||||
bool uses_instance_id{};
|
||||
bool uses_vertex_id{};
|
||||
bool uses_warps{};
|
||||
|
||||
Tegra::Shader::Header header;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue