Fix UTF-8 BOM error

This commit is contained in:
CodeLikeCXK 2022-04-19 21:28:26 +08:00
parent 361c0292ec
commit 800cd210f9
9 changed files with 13 additions and 13 deletions

View file

@ -54,7 +54,7 @@ option(ONATIVE
"Optimize for the host CPU" OFF)
option(WINDOWS10
"Build for Windows 10+" OFF)
"Build for Windows 10+" ON)
option(USE_SYSTEM_ZLIB
"Use the system zlib instead of the bundled one" OFF)
@ -78,7 +78,7 @@ option(USE_DX12
"Use DirectX 12" ON)
option(USE_NVRHI_VULKAN
"Use Vulkan" ON)
"Use Vulkan" OFF)
set(CPU_TYPE "" CACHE STRING "When set, passes this string as CPU-ID which will be embedded into the binary.")

View file

@ -1,4 +1,4 @@
/*
/*
===========================================================================
Doom 3 BFG Edition GPL Source Code
@ -54,7 +54,7 @@ half Distribution_GGX_1886( half hdotN, half alpha )
}
// Fresnel term F( v, h )
// Fnone( v, h ) = F(0°) = specularColor
// Fnone( v, h ) = F(0<EFBFBD>) = specularColor
half3 Fresnel_Schlick( half3 specularColor, half vDotN )
{
return specularColor + ( 1.0 - specularColor ) * pow( 1.0 - vDotN, 5.0 );

View file

@ -1,4 +1,4 @@
/*
/*
===========================================================================
Doom 3 BFG Edition GPL Source Code

View file

@ -1,4 +1,4 @@
/*
/*
===========================================================================
Doom 3 BFG Edition GPL Source Code

View file

@ -1,4 +1,4 @@
/*
/*
===========================================================================
Doom 3 BFG Edition GPL Source Code

View file

@ -1,4 +1,4 @@
/*
/*
===========================================================================
Doom 3 BFG Edition GPL Source Code

View file

@ -1,4 +1,4 @@
/*
/*
===========================================================================
Doom 3 BFG Edition GPL Source Code

View file

@ -1,4 +1,4 @@
/**
/**
* Copyright (C) 2013 Jorge Jimenez (jorge@iryoku.com)
* Copyright (C) 2013 Jose I. Echevarria (joseignacioechevarria@gmail.com)
* Copyright (C) 2013 Belen Masia (bmasia@unizar.es)
@ -44,7 +44,7 @@
*
* The shader has three passes, chained together as follows:
*
* |input|------------------·
* |input|------------------<EFBFBD>
* v |
* [ SMAA*EdgeDetection ] |
* v |
@ -54,7 +54,7 @@
* v |
* |blendTex| |
* v |
* [ SMAANeighborhoodBlending ] <------·
* [ SMAANeighborhoodBlending ] <------<EFBFBD>
* v
* |output|
*

View file

@ -1 +1 @@
BRDF.inc.hlslglobal_inc.hlslBRDF.inc.hlslglobal_inc.hlsl
BRDF.inc.hlsl global_inc.hlsl BRDF.inc.hlsl global_inc.hlsl