Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/hlsl_codegen.c:
static void replace_deref_path_with_offset(struct hlsl_ctx *ctx, struct hlsl_deref *deref, struct hlsl_ir_node *instr) {
- const struct hlsl_type *type;
- struct hlsl_type *type;
Maybe we should just decide that we always use `const hlsl_type *` everywhere, just like with the shader location?
In another MR, of course.