[D3D12] DXBC ret and some RDEF/OSGN fixes

This commit is contained in:
Triang3l
2018-08-30 15:58:48 +03:00
parent 28b56aac2b
commit aac20b6f91
2 changed files with 23 additions and 2 deletions

View File

@@ -95,6 +95,11 @@ class DxbcShaderTranslator : public ShaderTranslator {
static constexpr uint32_t kPSInPositionRegister =
kPSInPointParametersRegister + 1;
void EmitRet();
// Writes the epilogue.
void CompleteShaderCode();
// Appends a string to a DWORD stream, returns the DWORD-aligned length.
static uint32_t AppendString(std::vector<uint32_t>& dest, const char* source);