Use the hlsli extension for shader includes
This commit is contained in:
1 parent
4898505f23
commit
1e0bac288b
10 files changed
+10
-8
No files matched your search
@@ -1,5 +1,5 @@
|
||||
|
||||
#include "D3D11_PixelShader_Common.incl"
|
||||
#include "D3D11_PixelShader_Common.hlsli"
|
||||
|
||||
float4 main(PixelShaderInput input) : SV_TARGET
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
#include "D3D11_PixelShader_Common.incl"
|
||||
#include "D3D11_PixelShader_Common.hlsli"
|
||||
|
||||
float4 main(PixelShaderInput input) : SV_TARGET
|
||||
{
|
||||
|
||||
File renamed without changes.
@@ -1,7 +1,7 @@
|
||||
Texture2D theTexture : register(t0);
|
||||
SamplerState theSampler : register(s0);
|
||||
|
||||
#include "D3D11_PixelShader_Common.incl"
|
||||
#include "D3D11_PixelShader_Common.hlsli"
|
||||
|
||||
float4 main(PixelShaderInput input) : SV_TARGET
|
||||
{
|
||||
|
||||
@@ -75,7 +75,7 @@ typedef struct
|
||||
Float4X4 projectionAndView;
|
||||
} VertexShaderConstants;
|
||||
|
||||
/* These should mirror the definitions in D3D11_PixelShader_Common.incl */
|
||||
/* These should mirror the definitions in D3D11_PixelShader_Common.hlsli */
|
||||
//static const float TONEMAP_NONE = 0;
|
||||
//static const float TONEMAP_LINEAR = 1;
|
||||
static const float TONEMAP_CHROME = 2;
|
||||
|
||||
@@ -171,7 +171,7 @@ typedef struct
|
||||
Float4X4 projectionAndView;
|
||||
} VertexShaderConstants;
|
||||
|
||||
/* These should mirror the definitions in VULKAN_PixelShader_Common.incl */
|
||||
/* These should mirror the definitions in VULKAN_PixelShader_Common.hlsli */
|
||||
//static const float TONEMAP_NONE = 0;
|
||||
//static const float TONEMAP_LINEAR = 1;
|
||||
static const float TONEMAP_CHROME = 2;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "VULKAN_PixelShader_Common.incl"
|
||||
|
||||
#include "VULKAN_PixelShader_Common.hlsli"
|
||||
|
||||
float4 main(PixelShaderInput input) : SV_TARGET
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
#include "VULKAN_PixelShader_Common.incl"
|
||||
#include "VULKAN_PixelShader_Common.hlsli"
|
||||
|
||||
float4 main(PixelShaderInput input) : SV_TARGET0
|
||||
{
|
||||
|
||||
File renamed without changes.
@@ -1,4 +1,5 @@
|
||||
#include "VULKAN_PixelShader_Common.incl"
|
||||
|
||||
#include "VULKAN_PixelShader_Common.hlsli"
|
||||
|
||||
float4 main(PixelShaderInput input) : SV_TARGET
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user