mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 17:58:26 +02:00
intel/clc: Free parsed_spirv_data
This declaration shadowed a variable by the same type and name in an outer scope. That variable is passed to clc_free_parsed_spirv(). Fixes:4fd7495c69("intel/clc: add ability to output NIR") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30313> (cherry picked from commit1574372de4)
This commit is contained in:
parent
ec61b755a4
commit
2a62cfc73f
2 changed files with 1 additions and 2 deletions
|
|
@ -1754,7 +1754,7 @@
|
|||
"description": "intel/clc: Free parsed_spirv_data",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "4fd7495c693818e0823b100df0e0607e448a29fe",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -660,7 +660,6 @@ int main(int argc, char **argv)
|
|||
goto fail;
|
||||
}
|
||||
|
||||
struct clc_parsed_spirv parsed_spirv_data;
|
||||
if (!clc_parse_spirv(&spirv_obj, &logger, &parsed_spirv_data))
|
||||
goto fail;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue