diff options
Diffstat (limited to 'lib/mesa/src')
-rw-r--r-- | lib/mesa/src/gallium/drivers/swr/rasterizer/core/fifo.hpp | 4 | ||||
-rw-r--r-- | lib/mesa/src/gallium/drivers/swr/rasterizer/core/tilemgr.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/mesa/src/gallium/drivers/swr/rasterizer/core/fifo.hpp b/lib/mesa/src/gallium/drivers/swr/rasterizer/core/fifo.hpp index 49ba71f64..7e07e6aeb 100644 --- a/lib/mesa/src/gallium/drivers/swr/rasterizer/core/fifo.hpp +++ b/lib/mesa/src/gallium/drivers/swr/rasterizer/core/fifo.hpp @@ -109,8 +109,8 @@ struct QUEUE auto lambda = [&](int32_t i) { - __m256 vSrc = _mm256_load_ps(pSrc + i*KNOB_SIMD_WIDTH); - _mm256_stream_ps(pDst + i*KNOB_SIMD_WIDTH, vSrc); + __m256 vSrc = _simd_load_ps(pSrc + i*KNOB_SIMD_WIDTH); + _simd_stream_ps(pDst + i*KNOB_SIMD_WIDTH, vSrc); }; const uint32_t numSimdLines = sizeof(T) / (KNOB_SIMD_WIDTH*4); diff --git a/lib/mesa/src/gallium/drivers/swr/rasterizer/core/tilemgr.h b/lib/mesa/src/gallium/drivers/swr/rasterizer/core/tilemgr.h index 8f1cd2154..bfff339a5 100644 --- a/lib/mesa/src/gallium/drivers/swr/rasterizer/core/tilemgr.h +++ b/lib/mesa/src/gallium/drivers/swr/rasterizer/core/tilemgr.h @@ -151,7 +151,7 @@ private: OSALIGNLINE(volatile LONG) mWorkItemsConsumed { 0 }; }; -typedef void(*PFN_DISPATCH)(DRAW_CONTEXT* pDC, uint32_t workerId, uint32_t threadGroupId, void*& pSpillFillBuffer, void*& pScratchSpace); +typedef void(*PFN_DISPATCH)(DRAW_CONTEXT* pDC, uint32_t workerId, uint32_t threadGroupId, void*& pSpillFillBuffer); ////////////////////////////////////////////////////////////////////////// /// DispatchQueue - work queue for dispatch @@ -231,10 +231,10 @@ public: ////////////////////////////////////////////////////////////////////////// /// @brief Dispatches a unit of work - void dispatch(DRAW_CONTEXT* pDC, uint32_t workerId, uint32_t threadGroupId, void*& pSpillFillBuffer, void*& pScratchSpace) + void dispatch(DRAW_CONTEXT* pDC, uint32_t workerId, uint32_t threadGroupId, void*& pSpillFillBuffer) { SWR_ASSERT(mPfnDispatch != nullptr); - mPfnDispatch(pDC, workerId, threadGroupId, pSpillFillBuffer, pScratchSpace); + mPfnDispatch(pDC, workerId, threadGroupId, pSpillFillBuffer); } void* mpTaskData{ nullptr }; // The API thread will set this up and the callback task function will interpet this. |