Skip to content

panfrost: Initialize program.

Vinson Lee requested to merge vlee/mesa:fix-cid-1468226 into master

bifrost_compile_shader_nir does not initialize program.first_tag and program.work_register_count.

Fix defects reported by Coverity Scan.

Uninitialized scalar variable (UNINIT) uninit_use: Using uninitialized value program.first_tag. uninit_use: Using uninitialized value program.work_register_count.

Fixes: 91d9c55f ("panfrost: Add blend shader support to bifrost") Signed-off-by: Vinson Lee vlee@freedesktop.org

cc: @alyssa @bbrezillon

Merge request reports