rsx: Fixup; input attributes blob decoding

- Use an unstructured blob and index into the vec4 structures to extract the real data
This commit is contained in:
kd-11 2018-11-01 13:28:15 +03:00 committed by kd-11
parent 846daadd5d
commit 7b065d7781
4 changed files with 47 additions and 31 deletions

View file

@ -44,8 +44,8 @@ void GLVertexDecompilerThread::insertHeader(std::stringstream &OS)
OS << "layout(std140, binding = 1) uniform VertexLayoutBuffer\n";
OS << "{\n";
OS << " uint vertex_base_index;\n";
OS << " ivec2 input_attributes[16];\n";
OS << " uint vertex_base_index;\n";
OS << " uvec4 input_attributes_blob[16 / 2];\n";
OS << "};\n\n";
}