mirror of
https://github.com/bjornbytes/lovr.git
synced 2024-07-04 13:33:34 +00:00
spv: ignore input variables missing location decoration;
This commit is contained in:
parent
32fb5e63ac
commit
a434203ce0
|
@ -291,7 +291,7 @@ static spv_result spv_parse_variable(spv_context* spv, const uint32_t* op, spv_i
|
||||||
uint32_t location = spv->cache[variableId].input.location;
|
uint32_t location = spv->cache[variableId].input.location;
|
||||||
|
|
||||||
if (location == 0xff) {
|
if (location == 0xff) {
|
||||||
return SPV_INVALID;
|
return SPV_OK;
|
||||||
} else if (location > 31) {
|
} else if (location > 31) {
|
||||||
return SPV_LOCATION_TOO_BIG;
|
return SPV_LOCATION_TOO_BIG;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue