mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-21 12:04:45 +00:00
shader_recompiler: fix fetch_shader when offset is not present
This commit is contained in:
parent
81f8c642a6
commit
68f042001c
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ std::vector<VertexAttribute> ParseFetchShader(const u32* code, u32* out_size) {
|
|||
};
|
||||
boost::container::static_vector<VsharpLoad, 16> loads;
|
||||
std::array<u32, 16> offsets{};
|
||||
offsets.fill(0xFF);
|
||||
|
||||
u32 semantic_index = 0;
|
||||
while (!code_slice.atEnd()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue