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