mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-08 10:46:09 +01:00
26 lines
468 B
C++
26 lines
468 B
C++
|
#include "dxbc_compiler.h"
|
||
|
|
||
|
namespace dxvk {
|
||
|
|
||
|
DxbcCompiler::DxbcCompiler(DxbcProgramVersion version) {
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
DxbcCompiler::~DxbcCompiler() {
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
void DxbcCompiler::processInstruction(DxbcInstruction ins) {
|
||
|
Logger::info(str::format(
|
||
|
static_cast<uint32_t>(ins.opcode())));
|
||
|
}
|
||
|
|
||
|
|
||
|
Rc<DxvkShader> DxbcCompiler::finalize() {
|
||
|
return new DxvkShader(VK_SHADER_STAGE_COMPUTE_BIT,
|
||
|
DxvkSpirvCodeBuffer(), 0, nullptr);
|
||
|
}
|
||
|
|
||
|
}
|