1
0
Fork 0
mirror of https://github.com/bjornbytes/lovr.git synced 2024-07-02 12:33:52 +00:00

spv: ignore input variables missing location decoration;

This commit is contained in:
bjorn 2022-05-30 13:14:05 -07:00
parent 32fb5e63ac
commit a434203ce0

View file

@ -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;
if (location == 0xff) {
return SPV_INVALID;
return SPV_OK;
} else if (location > 31) {
return SPV_LOCATION_TOO_BIG;
} else {