zink: emit all interpolation modes
It's not just flat-shading that matters in the case of fragment outputs. Let's play nicely and emit any interpolation mode instead. Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9775>
This commit is contained in:
parent
80c3a53927
commit
ccb50f8ad3
|
@ -182,7 +182,6 @@ dEQP-GLES3.functional.shaders.texture_functions.textureprojgrad.sampler2dshadow_
|
|||
dEQP-GLES3.functional.shaders.texture_functions.textureprojgrad.sampler2d_vec3_fixed_vertex,Fail
|
||||
dEQP-GLES3.functional.shaders.texture_functions.textureprojgrad.sampler2d_vec4_fixed_vertex,Fail
|
||||
dEQP-GLES3.functional.shaders.texture_functions.textureprojgrad.sampler3d_fixed_vertex,Fail
|
||||
KHR-GL32.glsl_noperspective.functionaltest,Fail
|
||||
KHR-GL32.gpu_shader5_gl.float_encoding,Fail
|
||||
KHR-GL32.packed_depth_stencil.blit.depth24_stencil8,Fail
|
||||
KHR-GL32.packed_depth_stencil.blit.depth32f_stencil8,Fail
|
||||
|
|
|
@ -536,8 +536,7 @@ emit_input(struct ntv_context *ctx, struct nir_variable *var)
|
|||
if (var->data.patch)
|
||||
spirv_builder_emit_decoration(&ctx->builder, var_id, SpvDecorationPatch);
|
||||
|
||||
if (var->data.interpolation == INTERP_MODE_FLAT)
|
||||
spirv_builder_emit_decoration(&ctx->builder, var_id, SpvDecorationFlat);
|
||||
emit_interpolation(ctx, var_id, var->data.interpolation);
|
||||
|
||||
_mesa_hash_table_insert(ctx->vars, var, (void *)(intptr_t)var_id);
|
||||
|
||||
|
|
Loading…
Reference in New Issue