Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/vulkan/wrapper/wrapper_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -1230,6 +1230,12 @@ wrapper_emit_diag(struct wrapper_physical_device *pdev,
D("engine: '%s' -> detected %s (app '%s')\n", eng, detected,
pdev->instance->vk.app_info.app_name ? pdev->instance->vk.app_info.app_name : "");
D("--- native capabilities (what THIS device actually has) ---\n");
D(" fillModeNonSolid : native=%d advertised=%d\n",
pdev->base_supported_features.fillModeNonSolid,
pdev->vk.supported_features.fillModeNonSolid);
D(" shaderClipDistance : native=%d advertised=%d\n",
pdev->base_supported_features.shaderClipDistance,
pdev->vk.supported_features.shaderClipDistance);
D(" textureCompressionBC : %d\n", pdev->base_supported_features.textureCompressionBC);
D(" textureCompressionASTC_LDR : %d\n", pdev->base_supported_features.textureCompressionASTC_LDR);
D(" robustBufferAccess2 : %d\n", pdev->base_supported_features.robustBufferAccess2);
Expand Down
7 changes: 7 additions & 0 deletions src/vulkan/wrapper/wrapper_log.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,13 @@ void write_to_logfile(const char *fmt, const char *level, ...) {

void init_wrapper_logging()
{
/* Diagnostic package: keep the existing capability/format/copy probes on
* even when the launcher does not pass the guest diagnostic environment
* through to the native OpenGL/Zink driver process. */
setenv("WRAPPER_DIAG", "1", 1);
fprintf(stderr, "[WRAPPER_DIAG] isaac-wrapper-diagnostic-1 loaded; automatic capability/format/copy capture enabled\n");
fflush(stderr);

char *wrapper_log_level_env = getenv("WRAPPER_LOG_LEVEL");
parse_wrapper_debug_str(wrapper_log_level_env);

Expand Down
Loading