| 1254 | } |
| 1255 | |
| 1256 | void 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 | |
| 1262 | void Gpu::writeVshDescIdx(uint32_t mask, uint32_t value) { |
| 1263 | // Write to the vertex operand descriptor data index |