Skip to content

Commit e4c0605

Browse files
committed
GITechDemo:
*updated HLSL header files' extensions to the "official" version (".hlsli", as can be seen in Visual Studio 2015.2 when adding a new file to a project)
1 parent 27b0123 commit e4c0605

31 files changed

+194
-194
lines changed

GITechDemo/Code/AppMain/GITechDemo.vcxproj

Lines changed: 143 additions & 143 deletions
Large diffs are not rendered by default.

GITechDemo/Code/AppMain/GITechDemo.vcxproj.filters

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -271,22 +271,22 @@
271271
<None Include="..\..\Build\build_data_win.py">
272272
<Filter>Build</Filter>
273273
</None>
274-
<None Include="..\..\Data\shaders\Common.hlsl">
274+
<None Include="GITechDemo.licenseheader" />
275+
<None Include="..\..\Data\shaders\Common.hlsli">
275276
<Filter>Shaders\Include</Filter>
276277
</None>
277-
<None Include="..\..\Data\shaders\CSMUtils.hlsl">
278+
<None Include="..\..\Data\shaders\CSMUtils.hlsli">
278279
<Filter>Shaders\Include</Filter>
279280
</None>
280-
<None Include="..\..\Data\shaders\PostProcessingUtils.hlsl">
281+
<None Include="..\..\Data\shaders\PostProcessingUtils.hlsli">
281282
<Filter>Shaders\Include</Filter>
282283
</None>
283-
<None Include="..\..\Data\shaders\RSMCommon.hlsl">
284+
<None Include="..\..\Data\shaders\RSMCommon.hlsli">
284285
<Filter>Shaders\Include</Filter>
285286
</None>
286-
<None Include="..\..\Data\shaders\Utils.hlsl">
287+
<None Include="..\..\Data\shaders\Utils.hlsli">
287288
<Filter>Shaders\Include</Filter>
288289
</None>
289-
<None Include="GITechDemo.licenseheader" />
290290
</ItemGroup>
291291
<ItemGroup>
292292
<ResourceCompile Include="GITechDemo\GITechDemo.rc">

GITechDemo/Code/AppMain/GITechDemo/Resources/AppResources.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,13 +202,13 @@ namespace GITechDemoApp
202202
CREATE_SHADER_CONSTANT_HANDLE(fSunRadius, float );
203203
CREATE_SHADER_CONSTANT_HANDLE(fSunBrightness, float );
204204

205-
// - CSMUtils.hlsl
205+
// - CSMUtils.hlslii
206206
CREATE_SHADER_CONSTANT_HANDLE(f2CascadeBoundsMin, Vec2f* );
207207
CREATE_SHADER_CONSTANT_HANDLE(f2CascadeBoundsMax, Vec2f* );
208208
CREATE_SHADER_CONSTANT_HANDLE(f44CascadeProjMat, Matrix44f* );
209209
CREATE_SHADER_CONSTANT_HANDLE(fCascadeBlendSize, float );
210210

211-
// - Utils.hlsl
211+
// - Utils.hlsli
212212
CREATE_SHADER_CONSTANT_HANDLE(f2PoissonDisk, Vec2f* );
213213

214214
// - DirectionalLightVolume.hlsl
@@ -228,7 +228,7 @@ namespace GITechDemoApp
228228
CREATE_SHADER_CONSTANT_HANDLE(f44LightWorldViewMat, Matrix44f );
229229
CREATE_SHADER_CONSTANT_HANDLE(f44RSMWorldViewProjMat, Matrix44f );
230230

231-
// - RSMCommon.hlsl
231+
// - RSMCommon.hlsli
232232
CREATE_SHADER_CONSTANT_HANDLE(texRSMFluxBuffer, sampler2D );
233233
CREATE_SHADER_CONSTANT_HANDLE(texRSMNormalBuffer, sampler2D );
234234
CREATE_SHADER_CONSTANT_HANDLE(texRSMDepthBuffer, sampler2D );
@@ -301,7 +301,7 @@ namespace GITechDemoApp
301301
CREATE_SHADER_CONSTANT_HANDLE(fVignFade, float );
302302
CREATE_SHADER_CONSTANT_HANDLE(fChromaShiftAmount, float );
303303

304-
// - PostProcessingUtils.hlsl
304+
// - PostProcessingUtils.hlslii
305305
CREATE_SHADER_CONSTANT_HANDLE(f2LinearDepthEquation, Vec2f );
306306
CREATE_SHADER_CONSTANT_HANDLE(f2DepthHalfTexelOffset, Vec2f );
307307

GITechDemo/Data/shaders/AnamorphicLensFlareBlur.hlsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
=============================================================================*/
2121

22-
#include "PostProcessingUtils.hlsl"
23-
#include "Utils.hlsl"
22+
#include "PostProcessingUtils.hlsli"
23+
#include "Utils.hlsli"
2424

2525
// Vertex shader /////////////////////////////////////////////////
2626
const float2 f2HalfTexelOffset;

GITechDemo/Data/shaders/AnamorphicLensFlareFeatures.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
=============================================================================*/
2121

22-
#include "PostProcessingUtils.hlsl"
22+
#include "PostProcessingUtils.hlsli"
2323

2424
// Vertex shader /////////////////////////////////////////////////
2525
const float2 f2HalfTexelOffset;

GITechDemo/Data/shaders/BilateralBlur.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
=============================================================================*/
2121

22-
#include "PostProcessingUtils.hlsl"
22+
#include "PostProcessingUtils.hlsli"
2323

2424
// Vertex shader /////////////////////////////////////////////////
2525
const float2 f2HalfTexelOffset;

GITechDemo/Data/shaders/Bloom.hlsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
=============================================================================*/
2121

22-
#include "PostProcessingUtils.hlsl"
23-
#include "Utils.hlsl"
22+
#include "PostProcessingUtils.hlsli"
23+
#include "Utils.hlsli"
2424

2525
// Vertex shader /////////////////////////////////////////////////
2626
const float2 f2HalfTexelOffset;

GITechDemo/Data/shaders/BokehDoF.hlsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
=============================================================================*/
2121

22-
#include "PostProcessingUtils.hlsl"
23-
#include "Utils.hlsl"
22+
#include "PostProcessingUtils.hlsli"
23+
#include "Utils.hlsli"
2424

2525
// Disable "warning X4122: sum of ... and ... cannot be represented accurately in double precision"
2626
#pragma warning (disable: 4122)

GITechDemo/Data/shaders/CSMUtils.hlsl renamed to GITechDemo/Data/shaders/CSMUtils.hlsli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
=============================================================================*/
2121

22-
#include "Common.hlsl"
22+
#include "Common.hlsli"
2323

2424
#define NUM_CASCADES (4) // Number of supported cascades
2525
const float2 f2CascadeBoundsMin[NUM_CASCADES]; // Light-view space AABBs corresponding

GITechDemo/Data/shaders/ColorCopy.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
=============================================================================*/
2121

22-
#include "PostProcessingUtils.hlsl"
22+
#include "PostProcessingUtils.hlsli"
2323

2424
// Vertex shader /////////////////////////////////////////////////
2525
const float2 f2HalfTexelOffset;

GITechDemo/Data/shaders/DepthCopy.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
=============================================================================*/
2121

22-
#include "PostProcessingUtils.hlsl"
22+
#include "PostProcessingUtils.hlsli"
2323

2424
// Vertex shader /////////////////////////////////////////////////
2525
const float2 f2HalfTexelOffset;

GITechDemo/Data/shaders/DirectionalLight.hlsl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
=============================================================================*/
2121

22-
#include "PostProcessingUtils.hlsl"
23-
#include "Utils.hlsl"
24-
#include "CSMUtils.hlsl"
22+
#include "PostProcessingUtils.hlsli"
23+
#include "Utils.hlsli"
24+
#include "CSMUtils.hlsli"
2525

2626
// Vertex shader /////////////////////////////////////////////////
2727
const float4x4 f44InvProjMat;

GITechDemo/Data/shaders/DirectionalLightVolume.hlsl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
=============================================================================*/
2121

22-
#include "PostProcessingUtils.hlsl"
23-
#include "Utils.hlsl"
24-
#include "CSMUtils.hlsl"
22+
#include "PostProcessingUtils.hlsli"
23+
#include "Utils.hlsli"
24+
#include "CSMUtils.hlsli"
2525

2626
// Vertex shader /////////////////////////////////////////////////
2727
const float2 f2HalfTexelOffset;

GITechDemo/Data/shaders/Downsample.hlsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
=============================================================================*/
2121

22-
#include "PostProcessingUtils.hlsl"
23-
#include "Utils.hlsl"
22+
#include "PostProcessingUtils.hlsli"
23+
#include "Utils.hlsli"
2424

2525
// Vertex shader /////////////////////////////////////////////////
2626
const float2 f2HalfTexelOffset;

GITechDemo/Data/shaders/GBufferGeneration.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
=============================================================================*/
2121

22-
#include "Utils.hlsl"
22+
#include "Utils.hlsli"
2323

2424
// Vertex shader /////////////////////////////////////////////////
2525
const float4x4 f44WorldViewProjMat;

GITechDemo/Data/shaders/HDRToneMapping.hlsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
=============================================================================*/
2121

22-
#include "PostProcessingUtils.hlsl"
23-
#include "Utils.hlsl"
22+
#include "PostProcessingUtils.hlsli"
23+
#include "Utils.hlsli"
2424

2525
// Vertex shader /////////////////////////////////////////////////
2626
const float2 f2HalfTexelOffset;

GITechDemo/Data/shaders/HUDText.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
=============================================================================*/
2121

22-
#include "PostProcessingUtils.hlsl"
22+
#include "PostProcessingUtils.hlsli"
2323

2424
// Vertex shader /////////////////////////////////////////////////
2525
const float2 f2HalfTexelOffset;

GITechDemo/Data/shaders/LensFlareApply.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
=============================================================================*/
2121

22-
#include "PostProcessingUtils.hlsl"
22+
#include "PostProcessingUtils.hlsli"
2323

2424
// Vertex shader /////////////////////////////////////////////////
2525
const float2 f2HalfTexelOffset;

GITechDemo/Data/shaders/LumaAdapt.hlsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
=============================================================================*/
2121

22-
#include "PostProcessingUtils.hlsl"
23-
#include "Utils.hlsl"
22+
#include "PostProcessingUtils.hlsli"
23+
#include "Utils.hlsli"
2424

2525
// Vertex shader /////////////////////////////////////////////////
2626
const float2 f2HalfTexelOffset;

GITechDemo/Data/shaders/LumaCapture.hlsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
=============================================================================*/
2121

22-
#include "PostProcessingUtils.hlsl"
23-
#include "Utils.hlsl"
22+
#include "PostProcessingUtils.hlsli"
23+
#include "Utils.hlsli"
2424

2525
// Vertex shader /////////////////////////////////////////////////
2626
const float2 f2HalfTexelOffset;

GITechDemo/Data/shaders/MotionBlur.hlsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
=============================================================================*/
2121

22-
#include "PostProcessingUtils.hlsl"
23-
#include "Utils.hlsl"
22+
#include "PostProcessingUtils.hlsli"
23+
#include "Utils.hlsli"
2424

2525
// Vertex shader /////////////////////////////////////////////////
2626
const float2 f2HalfTexelOffset;

GITechDemo/Data/shaders/NearestDepthUpscale.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
=============================================================================*/
2121

22-
#include "PostProcessingUtils.hlsl"
22+
#include "PostProcessingUtils.hlsli"
2323

2424
// Vertex shader /////////////////////////////////////////////////
2525
const float2 f2HalfTexelOffset;

GITechDemo/Data/shaders/PostProcessingUtils.hlsl renamed to GITechDemo/Data/shaders/PostProcessingUtils.hlsli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
=============================================================================*/
2121

22-
#include "Common.hlsl"
22+
#include "Common.hlsli"
2323

2424
//////////////////////////////////////////////////////////
2525
// Hardcoded mip level when sampling from textures to //

GITechDemo/Data/shaders/RSMApply.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
// This define will modify the behaviour of the RSMApply() function so that
2323
// it is aware that we are in the apply pass (instead of the upscale pass).
2424
#define RSM_APPLY_PASS (1)
25-
#include "RSMCommon.hlsl"
25+
#include "RSMCommon.hlsli"
2626

2727
// Vertex shader /////////////////////////////////////////////////
2828
const float2 f2HalfTexelOffset;

GITechDemo/Data/shaders/RSMCapture.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
=============================================================================*/
2121

22-
#include "Utils.hlsl"
22+
#include "Utils.hlsli"
2323

2424
// Vertex shader /////////////////////////////////////////////////
2525
const float4x4 f44RSMWorldViewProjMat;

GITechDemo/Data/shaders/RSMCommon.hlsl renamed to GITechDemo/Data/shaders/RSMCommon.hlsli

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
=============================================================================*/
2121

22-
#include "PostProcessingUtils.hlsl"
23-
#include "Utils.hlsl"
22+
#include "PostProcessingUtils.hlsli"
23+
#include "Utils.hlsli"
2424

2525
const sampler2D texRSMFluxBuffer; // RSM flux data
2626
const sampler2D texRSMNormalBuffer; // RSM normal data

GITechDemo/Data/shaders/RSMUpscale.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
// perform all RSM_NUM_PASSES * RSM_SAMPLES_PER_PASS texture fetches in a single pass
2424
// (As opposed to the apply pass which is a multi-pass approach).
2525
#define RSM_UPSCALE_PASS (1)
26-
#include "RSMCommon.hlsl"
26+
#include "RSMCommon.hlsli"
2727

2828
// Vertex shader /////////////////////////////////////////////////
2929
const float2 f2HalfTexelOffset;

GITechDemo/Data/shaders/SSAO.hlsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
=============================================================================*/
2121

22-
#include "PostProcessingUtils.hlsl"
23-
#include "Utils.hlsl"
22+
#include "PostProcessingUtils.hlsli"
23+
#include "Utils.hlsli"
2424

2525
// Vertex shader /////////////////////////////////////////////////
2626
const float2 f2HalfTexelOffset;

GITechDemo/Data/shaders/SphericalLensFlareFeatures.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
=============================================================================*/
2121

22-
#include "PostProcessingUtils.hlsl"
22+
#include "PostProcessingUtils.hlsli"
2323

2424
// Vertex shader /////////////////////////////////////////////////
2525
const float2 f2HalfTexelOffset;

GITechDemo/Data/shaders/Utils.hlsl renamed to GITechDemo/Data/shaders/Utils.hlsli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
=============================================================================*/
2121

22-
#include "Common.hlsl"
22+
#include "Common.hlsli"
2323

2424
//////////////////////////////////////////////////////////////////
2525
// Normal encoding / decoding using Stereographic Projection //

0 commit comments

Comments
 (0)