mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 21:40:08 +01:00
swr/rast: Fix init in EventHandlerWorkerStats
Make sure we initialize variables. Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
parent
9a72d4c03e
commit
b97bb0ea6d
1 changed files with 4 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue