[D3D12] Remove ID3DBlob from D3D12Shader

This commit is contained in:
Triang3l
2018-09-19 17:08:48 +03:00
parent ed66694319
commit 4db3a927ad
2 changed files with 1 additions and 10 deletions

View File

@@ -12,6 +12,7 @@
#include "xenia/base/assert.h"
#include "xenia/base/logging.h"
#include "xenia/gpu/gpu_flags.h"
#include "xenia/ui/d3d12/d3d12_api.h"
namespace xe {
namespace gpu {
@@ -21,12 +22,6 @@ D3D12Shader::D3D12Shader(ShaderType shader_type, uint64_t data_hash,
const uint32_t* dword_ptr, uint32_t dword_count)
: Shader(shader_type, data_hash, dword_ptr, dword_count) {}
D3D12Shader::~D3D12Shader() {
if (blob_ != nullptr) {
blob_->Release();
}
}
void D3D12Shader::SetTexturesAndSamplers(
const DxbcShaderTranslator::TextureSRV* texture_srvs,
uint32_t texture_srv_count,