vtn: print spirv id for type mismatch error
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22932>
This commit is contained in:
committed by
Marge Bot
parent
684756e162
commit
3aadc65fa8
@@ -367,7 +367,7 @@ vtn_push_ssa_value(struct vtn_builder *b, uint32_t value_id,
|
||||
|
||||
/* See vtn_create_ssa_value */
|
||||
vtn_fail_if(ssa->type != glsl_get_bare_type(type->type),
|
||||
"Type mismatch for SPIR-V SSA value");
|
||||
"Type mismatch for SPIR-V value %%%u", value_id);
|
||||
|
||||
struct vtn_value *val;
|
||||
if (type->base_type == vtn_base_type_pointer) {
|
||||
|
||||
Reference in New Issue
Block a user