aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp
diff options
context:
space:
mode:
authorGeorge Kyriazis <[email protected]>2018-01-19 15:46:58 -0600
committerGeorge Kyriazis <[email protected]>2018-01-19 16:48:41 -0600
commit4660e131527d2aff879d5b5bda7cf3e9635e796b (patch)
tree2023e76bed1c94be68654515e16740f5b1dd673c /src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp
parent079ae3c48dda02101f1776e03c0c401df6b21ff7 (diff)
swr/rast: Add private state parameter in fetcher
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp')
-rw-r--r--src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp b/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp
index 40ca6441213..fbca1a74a72 100644
--- a/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp
+++ b/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp
@@ -125,6 +125,9 @@ JitManager::JitManager(uint32_t simdWidth, const char *arch, const char* core)
// typedef void(__cdecl *PFN_FETCH_FUNC)(SWR_FETCH_CONTEXT& fetchInfo, simdvertex& out);
#endif
std::vector<Type*> fsArgs;
+
+ fsArgs.push_back(PointerType::get(Type::getVoidTy(mContext), 0));
+
fsArgs.push_back(PointerType::get(Gen_SWR_FETCH_CONTEXT(this), 0));
#if USE_SIMD16_SHADERS
fsArgs.push_back(PointerType::get(Gen_simd16vertex(this), 0));