From 2127c049870442d7215f03dcdf4005167c4b9dc1 Mon Sep 17 00:00:00 2001 From: Pavel Krajcevski Date: Wed, 6 Mar 2013 19:01:31 -0500 Subject: [PATCH] Add flag to compression settings to use atomics. --- Core/include/TexComp.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Core/include/TexComp.h b/Core/include/TexComp.h index 5d1b2cc..61c05a6 100644 --- a/Core/include/TexComp.h +++ b/Core/include/TexComp.h @@ -79,6 +79,11 @@ struct SCompressionSettings { // exit. int iJobSize; + // This flags instructs the compression routine to be launched in succession + // with many threads at once. Atomic expressions based on the availability + // in the platform and compiler will provide synchronization. + bool bUseAtomics; + // This is an optinal pointer to a stat manager class. If // instantiated and the proper function pointer is defined // then the compression routine that collects the stats will