summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/rasterizer/jitter
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2016-07-21 16:54:25 -0600
committerTim Rowley <[email protected]>2016-08-04 14:01:31 -0500
commit61cc012e9a6a0abe67266920327950110ccdcec1 (patch)
tree4eb4cebbe7ed2e41136086ac4fcce40cfa2e9226 /src/gallium/drivers/swr/rasterizer/jitter
parent9f7d99fcfecb7bb613855d25c10bb7908850c483 (diff)
swr: [rasterizer jitter] adjust extern "C" block scope
Signed-off-by: Tim Rowley <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/rasterizer/jitter')
-rw-r--r--src/gallium/drivers/swr/rasterizer/jitter/jit_api.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/jitter/jit_api.h b/src/gallium/drivers/swr/rasterizer/jitter/jit_api.h
index f5c27f04cdd..05af54008c4 100644
--- a/src/gallium/drivers/swr/rasterizer/jitter/jit_api.h
+++ b/src/gallium/drivers/swr/rasterizer/jitter/jit_api.h
@@ -47,8 +47,7 @@
#define JITCALL
#endif
-extern "C"
-{
+
struct ShaderInfo;
@@ -64,6 +63,9 @@ struct JIT_COMPILE_INPUT
bool enableJitSampler;
};
+extern "C"
+{
+
//////////////////////////////////////////////////////////////////////////
/// @brief Create JIT context.
HANDLE JITCALL JitCreateContext(uint32_t targetSimdWidth, const char* arch);
@@ -107,5 +109,5 @@ PFN_SO_FUNC JITCALL JitCompileStreamout(HANDLE hJitContext, const STREAMOUT_COMP
/// @param state - blend state to build function from
PFN_BLEND_JIT_FUNC JITCALL JitCompileBlend(HANDLE hJitContext, const BLEND_COMPILE_STATE& state);
+}
-}; // extern "C"