frontend/nine: initialize force_color_in_centroid
The first version of the shader didn't have proper force_color_in_centroid field set. That won't make much a difference (centroid is very similar to no centroid) but it is still better. Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Signed-off-by: Axel Davy <davyaxel0@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22644>
This commit is contained in:
@@ -58,6 +58,7 @@ NinePixelShader9_ctor( struct NinePixelShader9 *This,
|
||||
info.const_b_base = NINE_CONST_B_BASE(NINE_MAX_CONST_F_PS3) / 16;
|
||||
info.sampler_mask_shadow = 0x0;
|
||||
info.fetch4 = 0x0;
|
||||
info.force_color_in_centroid = 0;
|
||||
info.sampler_ps1xtypes = 0x0;
|
||||
info.fog_enable = 0;
|
||||
info.projected = 0;
|
||||
|
||||
Reference in New Issue
Block a user