2012-04-23 18:56:22 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2007-2009 Gabest
|
|
|
|
* http://www.gabest.org
|
|
|
|
*
|
|
|
|
* This Program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2, or (at your option)
|
|
|
|
* any later version.
|
|
|
|
*
|
|
|
|
* This Program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with GNU Make; see the file COPYING. If not, write to
|
2012-09-09 18:16:11 +00:00
|
|
|
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA USA.
|
2012-04-23 18:56:22 +00:00
|
|
|
* http://www.gnu.org/copyleft/gpl.html
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
//#define ENABLE_VTUNE
|
|
|
|
|
|
|
|
#define ENABLE_JIT_RASTERIZER
|
|
|
|
|
2013-12-28 21:36:29 +00:00
|
|
|
#define EXTERNAL_SHADER_LOADING 1
|
|
|
|
|
2012-04-23 18:56:22 +00:00
|
|
|
//#define ENABLE_DYNAMIC_CRC_HACK
|
2012-05-19 19:19:17 +00:00
|
|
|
#define DYNA_DLL_PATH "c:/dev/pcsx2/trunk/tools/dynacrchack/DynaCrcHack.dll"
|
2012-04-23 18:56:22 +00:00
|
|
|
|
|
|
|
//#define DISABLE_HW_TEXTURE_CACHE // Slow but fixes a lot of bugs
|
|
|
|
|
|
|
|
//#define DISABLE_BITMASKING
|
|
|
|
|
|
|
|
//#define DISABLE_COLCLAMP
|
|
|
|
|
|
|
|
//#define DISABLE_DATE
|
2013-01-14 09:25:16 +00:00
|
|
|
|
2015-04-30 21:06:54 +00:00
|
|
|
|
2016-05-16 15:08:20 +00:00
|
|
|
#if !defined(NDEBUG) || defined(_DEBUG) || defined(_DEVEL)
|
2013-01-16 18:25:53 +00:00
|
|
|
#define ENABLE_OGL_DEBUG // Create a debug context and check opengl command status. Allow also to dump various textures/states.
|
2015-04-24 21:11:44 +00:00
|
|
|
//#define ENABLE_OGL_DEBUG_FENCE
|
2014-03-24 14:03:02 +00:00
|
|
|
//#define ENABLE_OGL_DEBUG_MEM_BW // compute the quantity of data transfered (debug purpose)
|
2016-10-14 18:24:52 +00:00
|
|
|
//#define ENABLE_TRACE_REG // print GS reg write
|
|
|
|
//#define ENABLE_EXTRA_LOG // print extra log
|
2016-05-16 15:08:20 +00:00
|
|
|
#endif
|
2013-07-28 14:40:43 +00:00
|
|
|
|
2016-05-01 09:43:18 +00:00
|
|
|
#if defined(__unix__) && !(defined(_DEBUG) || defined(_DEVEL))
|
2015-08-10 06:33:39 +00:00
|
|
|
#define DISABLE_PERF_MON // Burn cycle for nothing in release mode
|
|
|
|
#endif
|
|
|
|
|
2016-01-27 15:33:10 +00:00
|
|
|
#ifdef _WIN32
|
2014-12-22 18:02:35 +00:00
|
|
|
//#define ENABLE_OPENCL
|
2014-12-01 22:06:24 +00:00
|
|
|
#endif
|
2016-09-25 11:50:29 +00:00
|
|
|
|
|
|
|
// Disable harmless assertion on stuff not yet finish. Or that requires investigation.
|
|
|
|
// Goal of the define is to allow to run a debug build without too much pain.
|
|
|
|
//#define DISABLE_WIP_ASSERTION
|