diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-02-10 00:15:09 -0500 |
---|---|---|
committer | Andreas Boll <andreas.boll.dev@gmail.com> | 2013-04-17 12:36:29 +0200 |
commit | 5000be2fd7b461591e9289806e125095073cbf6e (patch) | |
tree | 2bb54008b2ddea25e8ab69c168b3dec92350c849 | |
parent | f7c9d1a6e8cbe7b686d54f32d68426045c8185f8 (diff) |
r300g/complier: Make r300_vertprog_swizzle_caps visible in other files
This will be used by the test suite in later commits.
NOTE: This is a candidate for the stable branches.
Reviewed-by: Marek Olšák <maraeo@gmail.com>
(cherry picked from commit 5355fc1e8743dd776b86a15a16a1bc597da7d0f1)
-rw-r--r-- | src/gallium/drivers/r300/compiler/r3xx_vertprog.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/r300/compiler/radeon_swizzle.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/compiler/r3xx_vertprog.c b/src/gallium/drivers/r300/compiler/r3xx_vertprog.c index 94733d7367..4689cb83d3 100644 --- a/src/gallium/drivers/r300/compiler/r3xx_vertprog.c +++ b/src/gallium/drivers/r300/compiler/r3xx_vertprog.c @@ -854,7 +854,7 @@ static void rc_emulate_negative_addressing(struct radeon_compiler *compiler, voi transform_negative_addressing(c, lastARL, inst, min_offset); } -static struct rc_swizzle_caps r300_vertprog_swizzle_caps = { +struct rc_swizzle_caps r300_vertprog_swizzle_caps = { .IsNative = &swizzle_is_native, .Split = 0 /* should never be called */ }; diff --git a/src/gallium/drivers/r300/compiler/radeon_swizzle.h b/src/gallium/drivers/r300/compiler/radeon_swizzle.h index c81d5f7a5e..9a048e4eac 100644 --- a/src/gallium/drivers/r300/compiler/radeon_swizzle.h +++ b/src/gallium/drivers/r300/compiler/radeon_swizzle.h @@ -54,4 +54,6 @@ struct rc_swizzle_caps { void (*Split)(struct rc_src_register reg, unsigned int mask, struct rc_swizzle_split * split); }; +extern struct rc_swizzle_caps r300_vertprog_swizzle_caps; + #endif /* RADEON_SWIZZLE_H */ |