Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
392 B

5 years ago
#!perl
open(DLL,"../../../game/bin/shaderapidx9.dll" ) || die "can't open shaderapi";
binmode DLL;
my $dllcode = do { local( $/ ) ; <DLL> } ; # slurp comparison output in
close DLL;
if ( $dllcode =~ /dynamic_shader_compile_is_on/s )
{
open(ERRORS,">errors.txt") || die "huh - can't write";
print ERRORS "stdshader_dx9.dll was built with dynamic shader compile!\n";
close ERRORS;
}