2013-01-13 08:25:41 +01:00
|
|
|
/**
|
|
|
|
|
******************************************************************************
|
|
|
|
|
* Xenia : Xbox 360 Emulator Research Project *
|
|
|
|
|
******************************************************************************
|
2020-03-02 16:37:11 +01:00
|
|
|
* Copyright 2020 Ben Vanik. All rights reserved. *
|
2013-01-13 08:25:41 +01:00
|
|
|
* Released under the BSD license - see LICENSE in the root for more details. *
|
|
|
|
|
******************************************************************************
|
|
|
|
|
*/
|
|
|
|
|
|
2015-06-27 20:25:45 +02:00
|
|
|
#include "xenia/gpu/gpu_flags.h"
|
2013-01-13 08:25:41 +01:00
|
|
|
|
2020-03-02 16:37:11 +01:00
|
|
|
DEFINE_path(trace_gpu_prefix, "scratch/gpu/",
|
|
|
|
|
"Prefix path for GPU trace files.", "GPU");
|
2019-04-17 21:49:29 +02:00
|
|
|
DEFINE_bool(trace_gpu_stream, false, "Trace all GPU packets.", "GPU");
|
2015-02-20 16:47:06 +01:00
|
|
|
|
2020-03-02 16:37:11 +01:00
|
|
|
DEFINE_path(
|
2020-03-21 17:21:00 +01:00
|
|
|
dump_shaders, "",
|
|
|
|
|
"For shader debugging, path to dump GPU shaders to as they are compiled.",
|
|
|
|
|
"GPU");
|
2013-11-16 12:06:55 +01:00
|
|
|
|
2019-04-17 21:49:29 +02:00
|
|
|
DEFINE_bool(vsync, true, "Enable VSYNC.", "GPU");
|
2020-02-16 17:35:26 +01:00
|
|
|
|
|
|
|
|
DEFINE_bool(
|
|
|
|
|
gpu_allow_invalid_fetch_constants, false,
|
|
|
|
|
"Allow texture and vertex fetch constants with invalid type - generally "
|
|
|
|
|
"unsafe because the constant may contain completely invalid values, but "
|
|
|
|
|
"may be used to bypass fetch constant type errors in certain games until "
|
|
|
|
|
"the real reason why they're invalid is found.",
|
|
|
|
|
"GPU");
|
2020-06-01 14:00:22 +02:00
|
|
|
|
|
|
|
|
DEFINE_int32(query_occlusion_fake_sample_count, 1000,
|
|
|
|
|
"If set to -1 no sample counts are written, games may hang. Else, "
|
|
|
|
|
"the sample count of every tile will be incremented on every "
|
|
|
|
|
"EVENT_WRITE_ZPD by this number. Setting this to 0 means "
|
|
|
|
|
"everything is reported as occluded.",
|
|
|
|
|
"GPU");
|