mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-06 08:40:28 +01: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
|
|
@ -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…
Reference in a new issue