Skip to content

v3d: precompile key fix

Iago Toral requested to merge itoral/mesa:v3d_precompile_key_fix into master

@anholt: This prevents crahses when running shader-db. Turns out that logicop_func 0 is PIPE_LOGICOP_CLEAR, which activates the logicop lowering (which we probably don't want to do when running shader-db), which then requires the color format (which we were not filling in for precompiled shaders), leading to a crash when it attempts to access the color format swizzle used during the lowering.

Merge request reports