mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
nir/serialize: fix decoding of is_return and is_uniform
Fixes:3321a56d1d("nir: Serialize all parameter attributes") Fixes:26cbb6b933("nir: Add parameter divergence info") Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34052> (cherry picked from commit3a9954c117)
This commit is contained in:
parent
d00144c8f0
commit
54ee9cb342
2 changed files with 3 additions and 3 deletions
|
|
@ -294,7 +294,7 @@
|
|||
"description": "nir/serialize: fix decoding of is_return and is_uniform",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "3321a56d1de4359c6ca76f619e5c97c37c81d342",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -2058,8 +2058,8 @@ read_function(read_ctx *ctx)
|
|||
|
||||
fxn->params[i].num_components = val & 0xff;
|
||||
fxn->params[i].bit_size = (val >> 8) & 0xff;
|
||||
fxn->params[i].is_return = val & (1u << 16);
|
||||
fxn->params[i].is_uniform = val & (1u << 17);
|
||||
fxn->params[i].is_return = val & (1u << 17);
|
||||
fxn->params[i].is_uniform = val & (1u << 18);
|
||||
fxn->params[i].type = decode_type_from_blob(ctx->blob);
|
||||
fxn->params[i].mode = decode_deref_modes(blob_read_uint32(ctx->blob));
|
||||
fxn->params[i].driver_attributes = blob_read_uint32(ctx->blob);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue