mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-06 09:39:55 +00:00
d3d12: Fix some warning
This commit is contained in:
parent
d93e95b614
commit
87d51665dc
@ -94,7 +94,7 @@ std::vector<D3D12_INPUT_ELEMENT_DESC> getIALayout(ID3D12Device *device, bool ind
|
||||
{
|
||||
if (!vertexData[i].IsEnabled()) continue;
|
||||
const size_t item_size = vertexData[i].GetTypeSize() * vertexData[i].size;
|
||||
offset_list[i] = item_size;
|
||||
offset_list[i] = (u32)item_size;
|
||||
}
|
||||
|
||||
#if DUMP_VERTEX_DATA
|
||||
@ -211,7 +211,7 @@ std::vector<D3D12_INPUT_ELEMENT_DESC> getIALayout(ID3D12Device *device, bool ind
|
||||
{
|
||||
IAElement.SemanticName = "TEXCOORD";
|
||||
IAElement.SemanticIndex = i;
|
||||
IAElement.InputSlot = inputSlot;
|
||||
IAElement.InputSlot = (UINT)inputSlot;
|
||||
IAElement.Format = getFormat(vertexData[i].type - 1, vertexData[i].size);
|
||||
inputSlot++;
|
||||
}
|
||||
|
@ -187,7 +187,7 @@ ID3D12PipelineState *PipelineStateObjectCache::getGraphicPipelineState(
|
||||
static D3D12_RASTERIZER_DESC CD3D12_RASTERIZER_DESC =
|
||||
{
|
||||
D3D12_FILL_MODE_SOLID,
|
||||
D3D12_CULL_MODE_BACK,
|
||||
D3D12_CULL_MODE_NONE,
|
||||
FALSE,
|
||||
D3D12_DEFAULT_DEPTH_BIAS,
|
||||
D3D12_DEFAULT_DEPTH_BIAS_CLAMP,
|
||||
|
Loading…
x
Reference in New Issue
Block a user