shader: Address feedback
This commit is contained in:
parent
73cb17f41b
commit
dcaf0e9150
5 changed files with 54 additions and 53 deletions
|
@ -307,11 +307,11 @@ void IREmitter::SetAttribute(IR::Attribute attribute, const F32& value) {
|
|||
Inst(Opcode::SetAttribute, attribute, value);
|
||||
}
|
||||
|
||||
F32 IREmitter::GetAttributeIndexed(IR::U32 phys_address) {
|
||||
F32 IREmitter::GetAttributeIndexed(const U32& phys_address) {
|
||||
return Inst<F32>(Opcode::GetAttributeIndexed, phys_address);
|
||||
}
|
||||
|
||||
void IREmitter::SetAttributeIndexed(IR::U32 phys_address, const F32& value) {
|
||||
void IREmitter::SetAttributeIndexed(const U32& phys_address, const F32& value) {
|
||||
Inst(Opcode::SetAttributeIndexed, phys_address, value);
|
||||
}
|
||||
|
||||
|
|
|
@ -76,8 +76,8 @@ public:
|
|||
[[nodiscard]] F32 GetAttribute(IR::Attribute attribute);
|
||||
void SetAttribute(IR::Attribute attribute, const F32& value);
|
||||
|
||||
[[nodiscard]] F32 GetAttributeIndexed(IR::U32 phys_address);
|
||||
void SetAttributeIndexed(IR::U32 phys_address, const F32& value);
|
||||
[[nodiscard]] F32 GetAttributeIndexed(const U32& phys_address);
|
||||
void SetAttributeIndexed(const U32& phys_address, const F32& value);
|
||||
|
||||
void SetFragColor(u32 index, u32 component, const F32& value);
|
||||
void SetFragDepth(const F32& value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue