From: Vinson Lee Date: Tue, 3 Jun 2014 06:38:05 +0000 (-0700) Subject: i965: Add _default_ name changes to test_eu_compact.c. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dad22cc590a118c25c963c59784f6904c181bb58;p=mesa.git i965: Add _default_ name changes to test_eu_compact.c. These were missed in commit e374809819d82f2e3e946fe809c4d46061ddc5b5. Fixes 'make check'. CC test_eu_compact.o test_eu_compact.c: In function ‘gen_f0_0_MOV_GRF_GRF’: test_eu_compact.c:222:4: error: implicit declaration of function ‘brw_set_predicate_control’ [-Werror=implicit-function-declaration] brw_set_predicate_control(p, true); ^ test_eu_compact.c: In function ‘run_tests’: test_eu_compact.c:270:6: error: implicit declaration of function ‘brw_set_access_mode’ [-Werror=implicit-function-declaration] brw_set_access_mode(p, BRW_ALIGN_16); ^ Signed-off-by: Vinson Lee --- diff --git a/src/mesa/drivers/dri/i965/test_eu_compact.c b/src/mesa/drivers/dri/i965/test_eu_compact.c index 231487d5182..809b557c18f 100644 --- a/src/mesa/drivers/dri/i965/test_eu_compact.c +++ b/src/mesa/drivers/dri/i965/test_eu_compact.c @@ -219,7 +219,7 @@ gen_f0_0_MOV_GRF_GRF(struct brw_compile *p) struct brw_reg g2 = brw_vec8_grf(2, 0); brw_push_insn_state(p); - brw_set_predicate_control(p, true); + brw_set_default_predicate_control(p, true); brw_MOV(p, g0, g2); brw_pop_insn_state(p); } @@ -235,7 +235,7 @@ gen_f0_1_MOV_GRF_GRF(struct brw_compile *p) struct brw_reg g2 = brw_vec8_grf(2, 0); brw_push_insn_state(p); - brw_set_predicate_control(p, true); + brw_set_default_predicate_control(p, true); struct brw_instruction *mov = brw_MOV(p, g0, g2); mov->bits2.da1.flag_subreg_nr = 1; brw_pop_insn_state(p); @@ -265,11 +265,11 @@ run_tests(struct brw_context *brw) struct brw_compile *p = rzalloc(NULL, struct brw_compile); brw_init_compile(brw, p, p); - brw_set_predicate_control(p, BRW_PREDICATE_NONE); + brw_set_default_predicate_control(p, BRW_PREDICATE_NONE); if (align_16) - brw_set_access_mode(p, BRW_ALIGN_16); + brw_set_default_access_mode(p, BRW_ALIGN_16); else - brw_set_access_mode(p, BRW_ALIGN_1); + brw_set_default_access_mode(p, BRW_ALIGN_1); tests[i].func(p); assert(p->nr_insn == 1);