Cosmetics
This commit is contained in:
parent
cec5b0ce01
commit
6c7bed25a5
|
@ -41,7 +41,7 @@ ID3D11Buffer* gscbuf = nullptr;
|
||||||
class GeometryShaderCacheInserter : public LinearDiskCacheReader<GeometryShaderUid, u8>
|
class GeometryShaderCacheInserter : public LinearDiskCacheReader<GeometryShaderUid, u8>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void Read(const GeometryShaderUid &key, const u8 *value, u32 value_size)
|
void Read(const GeometryShaderUid &key, const u8* value, u32 value_size)
|
||||||
{
|
{
|
||||||
GeometryShaderCache::InsertByteCode(key, value, value_size);
|
GeometryShaderCache::InsertByteCode(key, value, value_size);
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,4 +46,4 @@ private:
|
||||||
static UidChecker<GeometryShaderUid, ShaderCode> geometry_uid_checker;
|
static UidChecker<GeometryShaderUid, ShaderCode> geometry_uid_checker;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace DX11
|
} // namespace DX11
|
||||||
|
|
|
@ -424,7 +424,7 @@ ID3D11Buffer* &PixelShaderCache::GetConstantBuffer()
|
||||||
class PixelShaderCacheInserter : public LinearDiskCacheReader<PixelShaderUid, u8>
|
class PixelShaderCacheInserter : public LinearDiskCacheReader<PixelShaderUid, u8>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void Read(const PixelShaderUid &key, const u8 *value, u32 value_size)
|
void Read(const PixelShaderUid &key, const u8* value, u32 value_size)
|
||||||
{
|
{
|
||||||
PixelShaderCache::InsertByteCode(key, value, value_size);
|
PixelShaderCache::InsertByteCode(key, value, value_size);
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,7 +60,7 @@ ID3D11Buffer* &VertexShaderCache::GetConstantBuffer()
|
||||||
class VertexShaderCacheInserter : public LinearDiskCacheReader<VertexShaderUid, u8>
|
class VertexShaderCacheInserter : public LinearDiskCacheReader<VertexShaderUid, u8>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void Read(const VertexShaderUid &key, const u8 *value, u32 value_size)
|
void Read(const VertexShaderUid &key, const u8* value, u32 value_size)
|
||||||
{
|
{
|
||||||
D3DBlob* blob = new D3DBlob(value_size, value);
|
D3DBlob* blob = new D3DBlob(value_size, value);
|
||||||
VertexShaderCache::InsertByteCode(key, blob);
|
VertexShaderCache::InsertByteCode(key, blob);
|
||||||
|
|
Loading…
Reference in New Issue