mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
zink: Use store_dest_raw instead of storing an uint
I cleaned up the other similar call-sites, but somehow missed this one. There's nothing different with this, so let's also fix this. Fixes:16339646f0("zink/spirv: rename functions a bit") Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5250> (cherry picked from commita21966837a)
This commit is contained in:
parent
b95bc0e07d
commit
5c842f96fd
2 changed files with 2 additions and 3 deletions
|
|
@ -2299,7 +2299,7 @@
|
|||
"description": "zink: Use store_dest_raw instead of storing an uint",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "16339646f03a5cb527f119ca572c9328fd5d3923"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1689,8 +1689,7 @@ emit_deref_var(struct ntv_context *ctx, nir_deref_instr *deref)
|
|||
struct hash_entry *he = _mesa_hash_table_search(ctx->vars, deref->var);
|
||||
assert(he);
|
||||
SpvId result = (SpvId)(intptr_t)he->data;
|
||||
/* uint is a bit of a lie here, it's really just an opaque type */
|
||||
store_dest(ctx, &deref->dest, result, nir_type_uint);
|
||||
store_dest_raw(ctx, &deref->dest, result);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue