mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
d3d12: Write data to single vertex attrib
stencil reflect has some color but it's still broken.
This commit is contained in:
parent
02f15810ee
commit
64a555caca
1 changed files with 5 additions and 1 deletions
|
@ -213,7 +213,11 @@ ID3D12Resource *createVertexBuffer(const VertexBufferFormat &vbf, const RSXVerte
|
|||
{
|
||||
for (size_t attributeId : vbf.attributeId)
|
||||
{
|
||||
if (!vertexData[attributeId].addr) continue;
|
||||
if (!vertexData[attributeId].addr)
|
||||
{
|
||||
memcpy(bufferMap, vertexData[attributeId].data.data(), vertexData[attributeId].data.size());
|
||||
continue;
|
||||
}
|
||||
size_t baseOffset = vertexData[attributeId].addr - vbf.range.first;
|
||||
size_t tsize = vertexData[attributeId].GetTypeSize();
|
||||
size_t size = vertexData[attributeId].size;
|
||||
|
|
Loading…
Add table
Reference in a new issue