2017-10-16 17:50:09 +02:00
|
|
|
#include "dxbc_compiler.h"
|
2017-11-07 15:10:38 +01:00
|
|
|
#include "dxbc_names.h"
|
2017-10-16 17:50:09 +02:00
|
|
|
|
|
|
|
namespace dxvk {
|
|
|
|
|
2017-11-01 00:01:40 +01:00
|
|
|
DxbcCompiler::DxbcCompiler(
|
2017-11-07 15:10:38 +01:00
|
|
|
DxbcProgramVersion version)
|
|
|
|
: m_version(version) {
|
2017-10-21 17:58:58 +02:00
|
|
|
|
2017-10-16 17:50:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
DxbcCompiler::~DxbcCompiler() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2017-11-01 00:01:40 +01:00
|
|
|
void DxbcCompiler::processInstruction(const DxbcInstruction& ins) {
|
2017-10-22 23:13:29 +02:00
|
|
|
|
2017-10-16 17:50:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Rc<DxvkShader> DxbcCompiler::finalize() {
|
2017-10-17 13:02:57 +02:00
|
|
|
return new DxvkShader(m_version.shaderStage(),
|
2017-10-26 15:40:39 +02:00
|
|
|
m_module.compile(), 0, nullptr);
|
2017-10-16 19:53:17 +02:00
|
|
|
}
|
|
|
|
|
2017-10-16 17:50:09 +02:00
|
|
|
}
|