summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/swr')
-rw-r--r--src/gallium/drivers/swr/rasterizer/archrast/archrast.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/archrast/archrast.cpp b/src/gallium/drivers/swr/rasterizer/archrast/archrast.cpp
index 871db793de9..ff7bdc3ef73 100644
--- a/src/gallium/drivers/swr/rasterizer/archrast/archrast.cpp
+++ b/src/gallium/drivers/swr/rasterizer/archrast/archrast.cpp
@@ -121,7 +121,10 @@ namespace ArchRast
class EventHandlerWorkerStats : public EventHandlerFile
{
public:
- EventHandlerWorkerStats(uint32_t id) : EventHandlerFile(id), mNeedFlush(false) {}
+ EventHandlerWorkerStats(uint32_t id) : EventHandlerFile(id), mNeedFlush(false)
+ {
+ memset(mShaderStats, 0, sizeof(mShaderStats));
+ }
virtual void Handle(const EarlyDepthStencilInfoSingleSample& event)
{