mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
HACK: Get rid of sanity_param_count for FS
This commit is contained in:
parent
4f5ef945e0
commit
c4c1d96a01
1 changed files with 0 additions and 9 deletions
|
|
@ -3863,8 +3863,6 @@ fs_visitor::run_fs(bool do_rep_send)
|
|||
|
||||
assert(stage == MESA_SHADER_FRAGMENT);
|
||||
|
||||
sanity_param_count = prog->Parameters->NumParameters;
|
||||
|
||||
if (prog_data->map_entries == NULL)
|
||||
assign_binding_table_offsets();
|
||||
|
||||
|
|
@ -3936,13 +3934,6 @@ fs_visitor::run_fs(bool do_rep_send)
|
|||
else
|
||||
wm_prog_data->reg_blocks_16 = brw_register_blocks(grf_used);
|
||||
|
||||
/* If any state parameters were appended, then ParameterValues could have
|
||||
* been realloced, in which case the driver uniform storage set up by
|
||||
* _mesa_associate_uniform_storage() would point to freed memory. Make
|
||||
* sure that didn't happen.
|
||||
*/
|
||||
assert(sanity_param_count == prog->Parameters->NumParameters);
|
||||
|
||||
return !failed;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue