28 Sep
2023
28 Sep
'23
3:16 p.m.
Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/dxil.c:
return i; }
+static const struct sm6_value *sm6_parser_get_value_unsafe(struct sm6_parser *sm6, unsigned int idx)
That looks like what I would call `sm6_parser_get_value_safe()`, rather than unsafe: it checks for out of bounds conditions, so it is "safe" to use even if the caller didn't check itself. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/372#note_47100