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

Method opSampledImage

GPCS4/Graphics/SpirV/SpirvModule.cpp:3156–3168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3154
3155
3156 uint32_t SpirvModule::opSampledImage(
3157 uint32_t resultType,
3158 uint32_t image,
3159 uint32_t sampler) {
3160 uint32_t resultId = this->allocateId();
3161
3162 m_code.putIns (spv::OpSampledImage, 5);
3163 m_code.putWord(resultType);
3164 m_code.putWord(resultId);
3165 m_code.putWord(image);
3166 m_code.putWord(sampler);
3167 return resultId;
3168 }
3169
3170
3171 uint32_t SpirvModule::opImageTexelPointer(

Callers 1

emitLoadSampledImageMethod · 0.80

Calls 3

allocateIdMethod · 0.95
putInsMethod · 0.80
putWordMethod · 0.80

Tested by

no test coverage detected