MCPcopy Create free account
hub / github.com/Hydr8gon/3Beans / writeVshCodeData

Method writeVshCodeData

src/core/gpu/gpu_cmd.cpp:1256–1260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1254}
1255
1256void Gpu::writeVshCodeData(uint32_t mask, uint32_t value) {
1257 // Write to the current vertex shader program index and increment it
1258 uint32_t idx = (gpuVshCodeIdx++ & 0x1FF);
1259 gpuShader->setVshCode(idx, vshCode[idx] = value & mask);
1260}
1261
1262void Gpu::writeVshDescIdx(uint32_t mask, uint32_t value) {
1263 // Write to the vertex operand descriptor data index

Callers 1

ioWriteMethod · 0.80

Calls 1

setVshCodeMethod · 0.45

Tested by

no test coverage detected