r300: Ensure that immediates have matching negate flags too.

We only have one bit of negate, so we have to make sure that immediate
usage has matching negates on all used channels (or rewrite to do so).

Cc: mesa-stable
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14117>
This commit is contained in:
Emma Anholt 2021-12-06 15:07:38 -08:00 committed by Marge Bot
parent 915af8de8b
commit d6fed4ab7d
2 changed files with 0 additions and 9 deletions

View file

@ -169,15 +169,8 @@ dEQP-GLES2.functional.shaders.loops.for_uniform_iterations.unconditional_break_v
dEQP-GLES2.functional.shaders.operator.exponential.pow.highp_float_fragment,Fail dEQP-GLES2.functional.shaders.operator.exponential.pow.highp_float_fragment,Fail
dEQP-GLES2.functional.shaders.operator.exponential.pow.mediump_float_fragment,Fail dEQP-GLES2.functional.shaders.operator.exponential.pow.mediump_float_fragment,Fail
dEQP-GLES2.functional.shaders.random.basic_expression.fragment.15,Fail
dEQP-GLES2.functional.shaders.random.basic_expression.combined.15,Fail
dEQP-GLES2.functional.shaders.random.swizzle.fragment.24,Fail dEQP-GLES2.functional.shaders.random.swizzle.fragment.24,Fail
dEQP-GLES2.functional.shaders.random.conditionals.fragment.75,Fail
dEQP-GLES2.functional.shaders.random.conditionals.combined.75,Fail
dEQP-GLES2.functional.shaders.random.texture.fragment.59,Fail
dEQP-GLES2.functional.shaders.random.texture.fragment.141,Fail dEQP-GLES2.functional.shaders.random.texture.fragment.141,Fail
dEQP-GLES2.functional.shaders.random.all_features.fragment.30,Fail
dEQP-GLES2.functional.shaders.random.all_features.fragment.85,Fail
# VS: Only the first channel of a POW result is right it looks like. # VS: Only the first channel of a POW result is right it looks like.
dEQP-GLES2.functional.shaders.operator.exponential.pow.highp_vec2_vertex,Fail dEQP-GLES2.functional.shaders.operator.exponential.pow.highp_vec2_vertex,Fail

View file

@ -219,8 +219,6 @@ static int r500_swizzle_is_native(rc_opcode opcode, struct rc_src_register reg)
return 1; return 1;
return 0; return 0;
} else if (reg.File == RC_FILE_INLINE) {
return 1;
} else { } else {
/* ALU instructions support almost everything */ /* ALU instructions support almost everything */
relevant = 0; relevant = 0;