mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 05:52:11 +01:00
[spirv] Add generic memberDecorate
This commit is contained in:
parent
1b8c54eb84
commit
80808d743b
@ -526,6 +526,17 @@ namespace dxvk {
|
||||
}
|
||||
|
||||
|
||||
void SpirvModule::memberDecorate(
|
||||
uint32_t structId,
|
||||
uint32_t memberId,
|
||||
spv::Decoration decoration) {
|
||||
m_annotations.putIns (spv::OpMemberDecorate, 4);
|
||||
m_annotations.putWord (structId);
|
||||
m_annotations.putWord (memberId);
|
||||
m_annotations.putWord (decoration);
|
||||
}
|
||||
|
||||
|
||||
void SpirvModule::memberDecorateOffset(
|
||||
uint32_t structId,
|
||||
uint32_t memberId,
|
||||
|
@ -225,6 +225,11 @@ namespace dxvk {
|
||||
uint32_t memberId,
|
||||
spv::BuiltIn builtIn);
|
||||
|
||||
void memberDecorate(
|
||||
uint32_t structId,
|
||||
uint32_t memberId,
|
||||
spv::Decoration decoration);
|
||||
|
||||
void memberDecorateOffset(
|
||||
uint32_t structId,
|
||||
uint32_t memberId,
|
||||
|
Loading…
x
Reference in New Issue
Block a user