[D3D12] DXBC string append

This commit is contained in:
Triang3l
2018-08-27 16:53:59 +03:00
parent 1dc98d9133
commit 285de2a521
2 changed files with 17 additions and 0 deletions

View File

@@ -29,6 +29,9 @@ class DxbcShaderTranslator : public ShaderTranslator {
std::vector<uint8_t> CompleteTranslation() override;
private:
// Appends a string to a DWORD stream, returns the DWORD-aligned length.
static uint32_t AppendString(std::vector<uint32_t>& dest, const char* source);
// Executable instructions - generated during translation.
std::vector<uint32_t> shader_code_;
// Complete shader object, with all the needed chunks and dcl_ instructions -