Rev 4358 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4358 | Rev 4401 | ||
---|---|---|---|
Line 77... | Line 77... | ||
77 | test_check(result, pass); |
77 | test_check(result, pass); |
78 | } |
78 | } |
Line 79... | Line 79... | ||
79 | 79 | ||
80 | static void tex_1d_swizzle(struct test_result *result) |
80 | static void tex_1d_swizzle(struct test_result *result) |
81 | { |
81 | { |
Line -... | Line 82... | ||
- | 82 | struct r300_fragment_program_compiler c; |
|
82 | struct radeon_compiler c; |
83 | |
83 | - | ||
84 | init_compiler(&c, RC_FRAGMENT_PROGRAM, 0, 0); |
- | |
85 | struct r300_fragment_program_compiler *cc = |
84 | memset(&c, 0, sizeof(c)); |
Line 86... | Line 85... | ||
86 | (struct r300_fragment_program_compiler*)&c; |
85 | init_compiler(&c.Base, RC_FRAGMENT_PROGRAM, 0, 0); |
87 | cc->AllocateHwInputs = dummy_allocate_hw_inputs; |
86 | c.AllocateHwInputs = dummy_allocate_hw_inputs; |
Line 88... | Line 87... | ||
88 | 87 | ||
89 | test_runner_rc_regalloc(result, &c, "regalloc_tex_1d_swizzle.test"); |
88 | test_runner_rc_regalloc(result, &c.Base, "regalloc_tex_1d_swizzle.test"); |
90 | } |
89 | } |