MCPcopy Create free account
hub / github.com/Inori/GPCS4 / decorateBinding

Method decorateBinding

GPCS4/Graphics/SpirV/SpirvModule.cpp:558–565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

556
557
558 void SpirvModule::decorateBinding(
559 uint32_t object,
560 uint32_t binding) {
561 m_annotations.putIns (spv::OpDecorate, 4);
562 m_annotations.putWord (object);
563 m_annotations.putWord (spv::DecorationBinding);
564 m_annotations.putInt32(binding);
565 }
566
567
568 void SpirvModule::decorateBlock(uint32_t object) {

Callers 3

emitDclBufferMethod · 0.80
emitDclTextureMethod · 0.80
emitDclSamplerMethod · 0.80

Calls 3

putInsMethod · 0.80
putWordMethod · 0.80
putInt32Method · 0.80

Tested by

no test coverage detected