mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 18:45:45 +00:00
glasm: Implement geometry shader attribute reads
This commit is contained in:
parent
2c0780b9fa
commit
2268a150ce
2 changed files with 18 additions and 4 deletions
|
@ -74,6 +74,9 @@ EmitContext::EmitContext(IR::Program& program, Bindings& bindings, const Profile
|
|||
InterpDecorator(generic.interpolation), index, attr_stage, index, index);
|
||||
}
|
||||
}
|
||||
if (stage == Stage::Geometry && info.loads_position) {
|
||||
Add("ATTRIB vertex_position=vertex.position;");
|
||||
}
|
||||
for (size_t index = 0; index < program.info.stores_frag_color.size(); ++index) {
|
||||
if (!program.info.stores_frag_color[index]) {
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue