Commit ed883f54 by Geoff Lang

Added a swizzleTexture method to Blit11.

Change-Id: I0af836f761893c8928a84d138a6b2d07a3e04da6 Reviewed-on: https://chromium-review.googlesource.com/176989Reviewed-by: 's avatarShannon Woods <shannonwoods@chromium.org> Commit-Queue: Shannon Woods <shannonwoods@chromium.org> Tested-by: 's avatarShannon Woods <shannonwoods@chromium.org>
parent f4b79ba8
......@@ -28,6 +28,9 @@ class Blit11
explicit Blit11(Renderer11 *renderer);
~Blit11();
bool swizzleTexture(ID3D11ShaderResourceView *source, ID3D11RenderTargetView *dest, const gl::Extents &size,
GLenum swizzleRed, GLenum swizzleGreen, GLenum swizzleBlue, GLenum swizzleAlpha);
bool copyTexture(ID3D11ShaderResourceView *source, const gl::Box &sourceArea, const gl::Extents &sourceSize,
ID3D11RenderTargetView *dest, const gl::Box &destArea, const gl::Extents &destSize,
const gl::Rectangle *scissor, GLenum destFormat, GLenum filter);
......@@ -81,6 +84,20 @@ class Blit11
void add2DBlitShaderToMap(GLenum destFormat, bool signedInteger, ID3D11PixelShader *ps);
void add3DBlitShaderToMap(GLenum destFormat, bool signedInteger, ID3D11PixelShader *ps);
struct SwizzleParameters
{
GLenum mDestinationType;
D3D11_SRV_DIMENSION mViewDimension;
};
static bool compareSwizzleParameters(const SwizzleParameters &a, const SwizzleParameters &b);
typedef bool (*SwizzleParametersComparisonFunction)(const SwizzleParameters&, const SwizzleParameters &);
typedef std::map<SwizzleParameters, Shader, SwizzleParametersComparisonFunction> SwizzleShaderMap;
SwizzleShaderMap mSwizzleShaderMap;
void addSwizzleShaderToMap(GLenum destType, D3D11_SRV_DIMENSION viewDimension, ID3D11PixelShader *ps);
void buildShaderMap();
void clearShaderMap();
......@@ -99,8 +116,11 @@ class Blit11
ID3D11VertexShader *mQuad3DVS;
ID3D11GeometryShader *mQuad3DGS;
ID3D11Buffer *mSwizzleCB;
DISALLOW_COPY_AND_ASSIGN(Blit11);
};
}
#endif // LIBGLESV2_BLIT11_H_
Texture2D<float4> TextureF2D : register(t0);
Texture2D<uint4> TextureUI2D : register(t0);
Texture2D<int4> TextureI2D : register(t0);
Texture3D<float4> TextureF3D : register(t0);
Texture3D<uint4> TextureUI3D : register(t0);
Texture3D<int4> TextureI3D : register(t0);
Texture2DArray<float4> TextureF2DArray : register(t0);
Texture2DArray<uint4> TextureUI2DArray : register(t0);
Texture2DArray<int4> TextureI2DArray : register(t0);
SamplerState Sampler : register(s0);
cbuffer SwizzleProperties : register(b0)
{
uint4 SwizzleIndices : packoffset(c0);
}
float4 SwizzleLookup(in float4 sample)
{
float lookup[6] = { sample[0], sample[1], sample[2], sample[3], 0.0f, 1.0f };
return float4(lookup[SwizzleIndices[0]], lookup[SwizzleIndices[1]], lookup[SwizzleIndices[2]], lookup[SwizzleIndices[3]]);
}
int4 SwizzleLookup(in int4 sample)
{
int lookup[6] = { sample[0], sample[1], sample[2], sample[3], 0.0f, 1.0f };
return int4(lookup[SwizzleIndices[0]], lookup[SwizzleIndices[1]], lookup[SwizzleIndices[2]], lookup[SwizzleIndices[3]]);
}
uint4 SwizzleLookup(in uint4 sample)
{
uint lookup[6] = { sample[0], sample[1], sample[2], sample[3], 0.0f, 1.0f };
return uint4(lookup[SwizzleIndices[0]], lookup[SwizzleIndices[1]], lookup[SwizzleIndices[2]], lookup[SwizzleIndices[3]]);
}
float4 PS_SwizzleF2D(in float4 inPosition : SV_POSITION, in float2 inTexCoord : TEXCOORD0) : SV_TARGET0
{
return SwizzleLookup(TextureF2D.Sample(Sampler, inTexCoord));
}
int4 PS_SwizzleI2D(in float4 inPosition : SV_POSITION, in float2 inTexCoord : TEXCOORD0) : SV_TARGET0
{
uint2 size;
TextureI2D.GetDimensions(size.x, size.y);
return SwizzleLookup(TextureI2D.Load(int3(size * inTexCoord, 0)));
}
uint4 PS_SwizzleUI2D(in float4 inPosition : SV_POSITION, in float2 inTexCoord : TEXCOORD0) : SV_TARGET0
{
uint2 size;
TextureUI2D.GetDimensions(size.x, size.y);
return SwizzleLookup(TextureUI2D.Load(int3(size * inTexCoord, 0)));
}
float4 PS_SwizzleF3D(in float4 inPosition : SV_POSITION, in uint inLayer : SV_RENDERTARGETARRAYINDEX, in float3 inTexCoord : TEXCOORD0) : SV_TARGET0
{
return SwizzleLookup(TextureF3D.Sample(Sampler, inTexCoord));
}
int4 PS_SwizzleI3D(in float4 inPosition : SV_POSITION, in uint inLayer : SV_RENDERTARGETARRAYINDEX, in float3 inTexCoord : TEXCOORD0) : SV_TARGET0
{
uint3 size;
TextureI3D.GetDimensions(size.x, size.y, size.z);
return SwizzleLookup(TextureI3D.Load(int4(size * inTexCoord, 0)));
}
uint4 PS_SwizzleUI3D(in float4 inPosition : SV_POSITION, in uint inLayer : SV_RENDERTARGETARRAYINDEX, in float3 inTexCoord : TEXCOORD0) : SV_TARGET0
{
uint3 size;
TextureUI3D.GetDimensions(size.x, size.y, size.z);
return SwizzleLookup(TextureUI3D.Load(int4(size * inTexCoord, 0)));
}
float4 PS_SwizzleF2DArray(in float4 inPosition : SV_POSITION, in uint inLayer : SV_RENDERTARGETARRAYINDEX, in float3 inTexCoord : TEXCOORD0) : SV_TARGET0
{
return SwizzleLookup(TextureF2DArray.Sample(Sampler, float3(inTexCoord.xy, inLayer)));
}
int4 PS_SwizzleI2DArray(in float4 inPosition : SV_POSITION, in uint inLayer : SV_RENDERTARGETARRAYINDEX, in float3 inTexCoord : TEXCOORD0) : SV_TARGET0
{
uint3 size;
TextureI2DArray.GetDimensions(size.x, size.y, size.z);
return SwizzleLookup(TextureI2DArray.Load(int4(size.xy * inTexCoord.xy, inLayer, 0)));
}
uint4 PS_SwizzleUI2DArray(in float4 inPosition : SV_POSITION, in uint inLayer : SV_RENDERTARGETARRAYINDEX, in float3 inTexCoord : TEXCOORD0) : SV_TARGET0
{
uint3 size;
TextureUI2DArray.GetDimensions(size.x, size.y, size.z);
return SwizzleLookup(TextureUI2DArray.Load(int4(size.xy * inTexCoord.xy, inLayer, 0)));
}
#if 0
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384
//
//
///
// Buffer Definitions:
//
// cbuffer SwizzleProperties
// {
//
// uint4 SwizzleIndices; // Offset: 0 Size: 16
//
// }
//
//
// Resource Bindings:
//
// Name Type Format Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// Sampler sampler NA NA 0 1
// TextureF2DArray texture float4 2darray 0 1
// SwizzleProperties cbuffer NA NA 0 1
//
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION 0 xyzw 0 POS float
// SV_RENDERTARGETARRAYINDEX 0 x 1 RTINDEX uint x
// TEXCOORD 0 xyz 2 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_TARGET 0 xyzw 0 TARGET float xyzw
//
ps_4_0
dcl_constantbuffer cb0[1], immediateIndexed
dcl_sampler s0, mode_default
dcl_resource_texture2darray (float,float,float,float) t0
dcl_input_ps_siv constant v1.x, rendertarget_array_index
dcl_input_ps linear v2.xy
dcl_output o0.xyzw
dcl_temps 1
dcl_indexableTemp x0[6], 4
utof r0.z, v1.x
mov r0.xy, v2.xyxx
sample r0.xyzw, r0.xyzx, t0.xyzw, s0
mov x0[0].x, r0.x
mov x0[1].x, r0.y
mov x0[2].x, r0.z
mov x0[3].x, r0.w
mov x0[4].x, l(0)
mov x0[5].x, l(1.000000)
mov r0.x, cb0[0].x
mov o0.x, x0[r0.x + 0].x
mov r0.x, cb0[0].y
mov o0.y, x0[r0.x + 0].x
mov r0.x, cb0[0].z
mov o0.z, x0[r0.x + 0].x
mov r0.x, cb0[0].w
mov o0.w, x0[r0.x + 0].x
ret
// Approximately 18 instruction slots used
#endif
const BYTE g_PS_SwizzleF2DArray[] =
{
68, 88, 66, 67, 161, 112,
176, 131, 216, 246, 27, 65,
39, 246, 72, 161, 231, 81,
229, 143, 1, 0, 0, 0,
204, 4, 0, 0, 5, 0,
0, 0, 52, 0, 0, 0,
104, 1, 0, 0, 240, 1,
0, 0, 36, 2, 0, 0,
80, 4, 0, 0, 82, 68,
69, 70, 44, 1, 0, 0,
1, 0, 0, 0, 168, 0,
0, 0, 3, 0, 0, 0,
28, 0, 0, 0, 0, 4,
255, 255, 0, 1, 0, 0,
248, 0, 0, 0, 124, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 1, 0, 0, 0,
132, 0, 0, 0, 2, 0,
0, 0, 5, 0, 0, 0,
5, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
1, 0, 0, 0, 13, 0,
0, 0, 148, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
1, 0, 0, 0, 83, 97,
109, 112, 108, 101, 114, 0,
84, 101, 120, 116, 117, 114,
101, 70, 50, 68, 65, 114,
114, 97, 121, 0, 83, 119,
105, 122, 122, 108, 101, 80,
114, 111, 112, 101, 114, 116,
105, 101, 115, 0, 171, 171,
148, 0, 0, 0, 1, 0,
0, 0, 192, 0, 0, 0,
16, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
216, 0, 0, 0, 0, 0,
0, 0, 16, 0, 0, 0,
2, 0, 0, 0, 232, 0,
0, 0, 0, 0, 0, 0,
83, 119, 105, 122, 122, 108,
101, 73, 110, 100, 105, 99,
101, 115, 0, 171, 1, 0,
19, 0, 1, 0, 4, 0,
0, 0, 0, 0, 0, 0,
0, 0, 77, 105, 99, 114,
111, 115, 111, 102, 116, 32,
40, 82, 41, 32, 72, 76,
83, 76, 32, 83, 104, 97,
100, 101, 114, 32, 67, 111,
109, 112, 105, 108, 101, 114,
32, 57, 46, 51, 48, 46,
57, 50, 48, 48, 46, 49,
54, 51, 56, 52, 0, 171,
73, 83, 71, 78, 128, 0,
0, 0, 3, 0, 0, 0,
8, 0, 0, 0, 80, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 0, 0, 0, 92, 0,
0, 0, 0, 0, 0, 0,
4, 0, 0, 0, 1, 0,
0, 0, 1, 0, 0, 0,
1, 1, 0, 0, 118, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 2, 0, 0, 0,
7, 3, 0, 0, 83, 86,
95, 80, 79, 83, 73, 84,
73, 79, 78, 0, 83, 86,
95, 82, 69, 78, 68, 69,
82, 84, 65, 82, 71, 69,
84, 65, 82, 82, 65, 89,
73, 78, 68, 69, 88, 0,
84, 69, 88, 67, 79, 79,
82, 68, 0, 171, 79, 83,
71, 78, 44, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 83, 86, 95, 84,
65, 82, 71, 69, 84, 0,
171, 171, 83, 72, 68, 82,
36, 2, 0, 0, 64, 0,
0, 0, 137, 0, 0, 0,
89, 0, 0, 4, 70, 142,
32, 0, 0, 0, 0, 0,
1, 0, 0, 0, 90, 0,
0, 3, 0, 96, 16, 0,
0, 0, 0, 0, 88, 64,
0, 4, 0, 112, 16, 0,
0, 0, 0, 0, 85, 85,
0, 0, 100, 8, 0, 4,
18, 16, 16, 0, 1, 0,
0, 0, 4, 0, 0, 0,
98, 16, 0, 3, 50, 16,
16, 0, 2, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0, 0, 0, 0, 0,
104, 0, 0, 2, 1, 0,
0, 0, 105, 0, 0, 4,
0, 0, 0, 0, 6, 0,
0, 0, 4, 0, 0, 0,
86, 0, 0, 5, 66, 0,
16, 0, 0, 0, 0, 0,
10, 16, 16, 0, 1, 0,
0, 0, 54, 0, 0, 5,
50, 0, 16, 0, 0, 0,
0, 0, 70, 16, 16, 0,
2, 0, 0, 0, 69, 0,
0, 9, 242, 0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 0, 58, 128,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 54, 0,
0, 7, 130, 32, 16, 0,
0, 0, 0, 0, 10, 48,
32, 4, 0, 0, 0, 0,
10, 0, 16, 0, 0, 0,
0, 0, 62, 0, 0, 1,
83, 84, 65, 84, 116, 0,
0, 0, 18, 0, 0, 0,
1, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
6, 0, 0, 0, 10, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
6, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0
};
#if 0
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384
//
//
///
// Buffer Definitions:
//
// cbuffer SwizzleProperties
// {
//
// uint4 SwizzleIndices; // Offset: 0 Size: 16
//
// }
//
//
// Resource Bindings:
//
// Name Type Format Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// Sampler sampler NA NA 0 1
// TextureF2D texture float4 2d 0 1
// SwizzleProperties cbuffer NA NA 0 1
//
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION 0 xyzw 0 POS float
// TEXCOORD 0 xy 1 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_TARGET 0 xyzw 0 TARGET float xyzw
//
ps_4_0
dcl_constantbuffer cb0[1], immediateIndexed
dcl_sampler s0, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_input_ps linear v1.xy
dcl_output o0.xyzw
dcl_temps 1
dcl_indexableTemp x0[6], 4
sample r0.xyzw, v1.xyxx, t0.xyzw, s0
mov x0[0].x, r0.x
mov x0[1].x, r0.y
mov x0[2].x, r0.z
mov x0[3].x, r0.w
mov x0[4].x, l(0)
mov x0[5].x, l(1.000000)
mov r0.x, cb0[0].x
mov o0.x, x0[r0.x + 0].x
mov r0.x, cb0[0].y
mov o0.y, x0[r0.x + 0].x
mov r0.x, cb0[0].z
mov o0.z, x0[r0.x + 0].x
mov r0.x, cb0[0].w
mov o0.w, x0[r0.x + 0].x
ret
// Approximately 16 instruction slots used
#endif
const BYTE g_PS_SwizzleF2D[] =
{
68, 88, 66, 67, 162, 151,
82, 12, 22, 214, 143, 216,
57, 84, 12, 76, 109, 120,
162, 201, 1, 0, 0, 0,
96, 4, 0, 0, 5, 0,
0, 0, 52, 0, 0, 0,
100, 1, 0, 0, 188, 1,
0, 0, 240, 1, 0, 0,
228, 3, 0, 0, 82, 68,
69, 70, 40, 1, 0, 0,
1, 0, 0, 0, 164, 0,
0, 0, 3, 0, 0, 0,
28, 0, 0, 0, 0, 4,
255, 255, 0, 1, 0, 0,
244, 0, 0, 0, 124, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 1, 0, 0, 0,
132, 0, 0, 0, 2, 0,
0, 0, 5, 0, 0, 0,
4, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
1, 0, 0, 0, 13, 0,
0, 0, 143, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
1, 0, 0, 0, 83, 97,
109, 112, 108, 101, 114, 0,
84, 101, 120, 116, 117, 114,
101, 70, 50, 68, 0, 83,
119, 105, 122, 122, 108, 101,
80, 114, 111, 112, 101, 114,
116, 105, 101, 115, 0, 171,
171, 171, 143, 0, 0, 0,
1, 0, 0, 0, 188, 0,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 212, 0, 0, 0,
0, 0, 0, 0, 16, 0,
0, 0, 2, 0, 0, 0,
228, 0, 0, 0, 0, 0,
0, 0, 83, 119, 105, 122,
122, 108, 101, 73, 110, 100,
105, 99, 101, 115, 0, 171,
1, 0, 19, 0, 1, 0,
4, 0, 0, 0, 0, 0,
0, 0, 0, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 57, 46, 51,
48, 46, 57, 50, 48, 48,
46, 49, 54, 51, 56, 52,
0, 171, 73, 83, 71, 78,
80, 0, 0, 0, 2, 0,
0, 0, 8, 0, 0, 0,
56, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 0, 0, 0,
68, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 3, 3, 0, 0,
83, 86, 95, 80, 79, 83,
73, 84, 73, 79, 78, 0,
84, 69, 88, 67, 79, 79,
82, 68, 0, 171, 171, 171,
79, 83, 71, 78, 44, 0,
0, 0, 1, 0, 0, 0,
8, 0, 0, 0, 32, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 0, 0, 0, 83, 86,
95, 84, 65, 82, 71, 69,
84, 0, 171, 171, 83, 72,
68, 82, 236, 1, 0, 0,
64, 0, 0, 0, 123, 0,
0, 0, 89, 0, 0, 4,
70, 142, 32, 0, 0, 0,
0, 0, 1, 0, 0, 0,
90, 0, 0, 3, 0, 96,
16, 0, 0, 0, 0, 0,
88, 24, 0, 4, 0, 112,
16, 0, 0, 0, 0, 0,
85, 85, 0, 0, 98, 16,
0, 3, 50, 16, 16, 0,
1, 0, 0, 0, 101, 0,
0, 3, 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, 0, 7, 66, 32,
16, 0, 0, 0, 0, 0,
10, 48, 32, 4, 0, 0,
0, 0, 10, 0, 16, 0,
0, 0, 0, 0, 54, 0,
0, 6, 18, 0, 16, 0,
0, 0, 0, 0, 58, 128,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 54, 0,
0, 7, 130, 32, 16, 0,
0, 0, 0, 0, 10, 48,
32, 4, 0, 0, 0, 0,
10, 0, 16, 0, 0, 0,
0, 0, 62, 0, 0, 1,
83, 84, 65, 84, 116, 0,
0, 0, 16, 0, 0, 0,
1, 0, 0, 0, 0, 0,
0, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
6, 0, 0, 0, 10, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
5, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0
};
#if 0
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384
//
//
///
// Buffer Definitions:
//
// cbuffer SwizzleProperties
// {
//
// uint4 SwizzleIndices; // Offset: 0 Size: 16
//
// }
//
//
// Resource Bindings:
//
// Name Type Format Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// Sampler sampler NA NA 0 1
// TextureF3D texture float4 3d 0 1
// SwizzleProperties cbuffer NA NA 0 1
//
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION 0 xyzw 0 POS float
// SV_RENDERTARGETARRAYINDEX 0 x 1 RTINDEX uint
// TEXCOORD 0 xyz 2 NONE float xyz
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_TARGET 0 xyzw 0 TARGET float xyzw
//
ps_4_0
dcl_constantbuffer cb0[1], immediateIndexed
dcl_sampler s0, mode_default
dcl_resource_texture3d (float,float,float,float) t0
dcl_input_ps linear v2.xyz
dcl_output o0.xyzw
dcl_temps 1
dcl_indexableTemp x0[6], 4
sample r0.xyzw, v2.xyzx, t0.xyzw, s0
mov x0[0].x, r0.x
mov x0[1].x, r0.y
mov x0[2].x, r0.z
mov x0[3].x, r0.w
mov x0[4].x, l(0)
mov x0[5].x, l(1.000000)
mov r0.x, cb0[0].x
mov o0.x, x0[r0.x + 0].x
mov r0.x, cb0[0].y
mov o0.y, x0[r0.x + 0].x
mov r0.x, cb0[0].z
mov o0.z, x0[r0.x + 0].x
mov r0.x, cb0[0].w
mov o0.w, x0[r0.x + 0].x
ret
// Approximately 16 instruction slots used
#endif
const BYTE g_PS_SwizzleF3D[] =
{
68, 88, 66, 67, 112, 23,
39, 219, 141, 10, 170, 22,
165, 204, 123, 149, 248, 84,
184, 117, 1, 0, 0, 0,
144, 4, 0, 0, 5, 0,
0, 0, 52, 0, 0, 0,
100, 1, 0, 0, 236, 1,
0, 0, 32, 2, 0, 0,
20, 4, 0, 0, 82, 68,
69, 70, 40, 1, 0, 0,
1, 0, 0, 0, 164, 0,
0, 0, 3, 0, 0, 0,
28, 0, 0, 0, 0, 4,
255, 255, 0, 1, 0, 0,
244, 0, 0, 0, 124, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 1, 0, 0, 0,
132, 0, 0, 0, 2, 0,
0, 0, 5, 0, 0, 0,
8, 0, 0, 0, 255, 255,
255, 255, 0, 0, 0, 0,
1, 0, 0, 0, 13, 0,
0, 0, 143, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
1, 0, 0, 0, 83, 97,
109, 112, 108, 101, 114, 0,
84, 101, 120, 116, 117, 114,
101, 70, 51, 68, 0, 83,
119, 105, 122, 122, 108, 101,
80, 114, 111, 112, 101, 114,
116, 105, 101, 115, 0, 171,
171, 171, 143, 0, 0, 0,
1, 0, 0, 0, 188, 0,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 212, 0, 0, 0,
0, 0, 0, 0, 16, 0,
0, 0, 2, 0, 0, 0,
228, 0, 0, 0, 0, 0,
0, 0, 83, 119, 105, 122,
122, 108, 101, 73, 110, 100,
105, 99, 101, 115, 0, 171,
1, 0, 19, 0, 1, 0,
4, 0, 0, 0, 0, 0,
0, 0, 0, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 57, 46, 51,
48, 46, 57, 50, 48, 48,
46, 49, 54, 51, 56, 52,
0, 171, 73, 83, 71, 78,
128, 0, 0, 0, 3, 0,
0, 0, 8, 0, 0, 0,
80, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 0, 0, 0,
92, 0, 0, 0, 0, 0,
0, 0, 4, 0, 0, 0,
1, 0, 0, 0, 1, 0,
0, 0, 1, 0, 0, 0,
118, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 2, 0,
0, 0, 7, 7, 0, 0,
83, 86, 95, 80, 79, 83,
73, 84, 73, 79, 78, 0,
83, 86, 95, 82, 69, 78,
68, 69, 82, 84, 65, 82,
71, 69, 84, 65, 82, 82,
65, 89, 73, 78, 68, 69,
88, 0, 84, 69, 88, 67,
79, 79, 82, 68, 0, 171,
79, 83, 71, 78, 44, 0,
0, 0, 1, 0, 0, 0,
8, 0, 0, 0, 32, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 0, 0, 0, 83, 86,
95, 84, 65, 82, 71, 69,
84, 0, 171, 171, 83, 72,
68, 82, 236, 1, 0, 0,
64, 0, 0, 0, 123, 0,
0, 0, 89, 0, 0, 4,
70, 142, 32, 0, 0, 0,
0, 0, 1, 0, 0, 0,
90, 0, 0, 3, 0, 96,
16, 0, 0, 0, 0, 0,
88, 40, 0, 4, 0, 112,
16, 0, 0, 0, 0, 0,
85, 85, 0, 0, 98, 16,
0, 3, 114, 16, 16, 0,
2, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
0, 0, 0, 0, 104, 0,
0, 2, 1, 0, 0, 0,
105, 0, 0, 4, 0, 0,
0, 0, 6, 0, 0, 0,
4, 0, 0, 0, 69, 0,
0, 9, 242, 0, 16, 0,
0, 0, 0, 0, 70, 18,
16, 0, 2, 0, 0, 0,
70, 126, 16, 0, 0, 0,
0, 0, 0, 96, 16, 0,
0, 0, 0, 0, 54, 0,
0, 6, 18, 48, 32, 0,
0, 0, 0, 0, 0, 0,
0, 0, 10, 0, 16, 0,
0, 0, 0, 0, 54, 0,
0, 6, 18, 48, 32, 0,
0, 0, 0, 0, 1, 0,
0, 0, 26, 0, 16, 0,
0, 0, 0, 0, 54, 0,
0, 6, 18, 48, 32, 0,
0, 0, 0, 0, 2, 0,
0, 0, 42, 0, 16, 0,
0, 0, 0, 0, 54, 0,
0, 6, 18, 48, 32, 0,
0, 0, 0, 0, 3, 0,
0, 0, 58, 0, 16, 0,
0, 0, 0, 0, 54, 0,
0, 6, 18, 48, 32, 0,
0, 0, 0, 0, 4, 0,
0, 0, 1, 64, 0, 0,
0, 0, 0, 0, 54, 0,
0, 6, 18, 48, 32, 0,
0, 0, 0, 0, 5, 0,
0, 0, 1, 64, 0, 0,
0, 0, 128, 63, 54, 0,
0, 6, 18, 0, 16, 0,
0, 0, 0, 0, 10, 128,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 54, 0,
0, 7, 18, 32, 16, 0,
0, 0, 0, 0, 10, 48,
32, 4, 0, 0, 0, 0,
10, 0, 16, 0, 0, 0,
0, 0, 54, 0, 0, 6,
18, 0, 16, 0, 0, 0,
0, 0, 26, 128, 32, 0,
0, 0, 0, 0, 0, 0,
0, 0, 54, 0, 0, 7,
34, 32, 16, 0, 0, 0,
0, 0, 10, 48, 32, 4,
0, 0, 0, 0, 10, 0,
16, 0, 0, 0, 0, 0,
54, 0, 0, 6, 18, 0,
16, 0, 0, 0, 0, 0,
42, 128, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
54, 0, 0, 7, 66, 32,
16, 0, 0, 0, 0, 0,
10, 48, 32, 4, 0, 0,
0, 0, 10, 0, 16, 0,
0, 0, 0, 0, 54, 0,
0, 6, 18, 0, 16, 0,
0, 0, 0, 0, 58, 128,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 54, 0,
0, 7, 130, 32, 16, 0,
0, 0, 0, 0, 10, 48,
32, 4, 0, 0, 0, 0,
10, 0, 16, 0, 0, 0,
0, 0, 62, 0, 0, 1,
83, 84, 65, 84, 116, 0,
0, 0, 16, 0, 0, 0,
1, 0, 0, 0, 0, 0,
0, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
6, 0, 0, 0, 10, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
5, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0
};
#if 0
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384
//
//
///
// Buffer Definitions:
//
// cbuffer SwizzleProperties
// {
//
// uint4 SwizzleIndices; // Offset: 0 Size: 16
//
// }
//
//
// Resource Bindings:
//
// Name Type Format Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// TextureI2DArray texture sint4 2darray 0 1
// SwizzleProperties cbuffer NA NA 0 1
//
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION 0 xyzw 0 POS float
// SV_RENDERTARGETARRAYINDEX 0 x 1 RTINDEX uint x
// TEXCOORD 0 xyz 2 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_TARGET 0 xyzw 0 TARGET int xyzw
//
ps_4_0
dcl_constantbuffer cb0[1], immediateIndexed
dcl_resource_texture2darray (sint,sint,sint,sint) t0
dcl_input_ps_siv constant v1.x, rendertarget_array_index
dcl_input_ps linear v2.xy
dcl_output o0.xyzw
dcl_temps 1
dcl_indexableTemp x0[6], 4
resinfo_uint r0.xyzw, l(0), t0.xyzw
utof r0.xy, r0.xyxx
mul r0.xy, r0.xyxx, v2.xyxx
ftoi r0.xy, r0.xyxx
mov r0.z, v1.x
mov r0.w, l(0)
ld r0.xyzw, r0.xyzw, t0.xyzw
mov x0[0].x, r0.x
mov x0[1].x, r0.y
mov x0[2].x, r0.z
mov x0[3].x, r0.w
mov x0[4].x, l(0)
mov x0[5].x, l(1)
mov r0.x, cb0[0].x
mov o0.x, x0[r0.x + 0].x
mov r0.x, cb0[0].y
mov o0.y, x0[r0.x + 0].x
mov r0.x, cb0[0].z
mov o0.z, x0[r0.x + 0].x
mov r0.x, cb0[0].w
mov o0.w, x0[r0.x + 0].x
ret
// Approximately 22 instruction slots used
#endif
const BYTE g_PS_SwizzleI2DArray[] =
{
68, 88, 66, 67, 75, 76,
4, 200, 179, 192, 148, 142,
191, 41, 209, 141, 122, 203,
184, 74, 1, 0, 0, 0,
240, 4, 0, 0, 5, 0,
0, 0, 52, 0, 0, 0,
64, 1, 0, 0, 200, 1,
0, 0, 252, 1, 0, 0,
116, 4, 0, 0, 82, 68,
69, 70, 4, 1, 0, 0,
1, 0, 0, 0, 128, 0,
0, 0, 2, 0, 0, 0,
28, 0, 0, 0, 0, 4,
255, 255, 0, 1, 0, 0,
208, 0, 0, 0, 92, 0,
0, 0, 2, 0, 0, 0,
3, 0, 0, 0, 5, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 1, 0,
0, 0, 13, 0, 0, 0,
108, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 1, 0,
0, 0, 84, 101, 120, 116,
117, 114, 101, 73, 50, 68,
65, 114, 114, 97, 121, 0,
83, 119, 105, 122, 122, 108,
101, 80, 114, 111, 112, 101,
114, 116, 105, 101, 115, 0,
171, 171, 108, 0, 0, 0,
1, 0, 0, 0, 152, 0,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 176, 0, 0, 0,
0, 0, 0, 0, 16, 0,
0, 0, 2, 0, 0, 0,
192, 0, 0, 0, 0, 0,
0, 0, 83, 119, 105, 122,
122, 108, 101, 73, 110, 100,
105, 99, 101, 115, 0, 171,
1, 0, 19, 0, 1, 0,
4, 0, 0, 0, 0, 0,
0, 0, 0, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 57, 46, 51,
48, 46, 57, 50, 48, 48,
46, 49, 54, 51, 56, 52,
0, 171, 73, 83, 71, 78,
128, 0, 0, 0, 3, 0,
0, 0, 8, 0, 0, 0,
80, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 0, 0, 0,
92, 0, 0, 0, 0, 0,
0, 0, 4, 0, 0, 0,
1, 0, 0, 0, 1, 0,
0, 0, 1, 1, 0, 0,
118, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 2, 0,
0, 0, 7, 3, 0, 0,
83, 86, 95, 80, 79, 83,
73, 84, 73, 79, 78, 0,
83, 86, 95, 82, 69, 78,
68, 69, 82, 84, 65, 82,
71, 69, 84, 65, 82, 82,
65, 89, 73, 78, 68, 69,
88, 0, 84, 69, 88, 67,
79, 79, 82, 68, 0, 171,
79, 83, 71, 78, 44, 0,
0, 0, 1, 0, 0, 0,
8, 0, 0, 0, 32, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 2, 0,
0, 0, 0, 0, 0, 0,
15, 0, 0, 0, 83, 86,
95, 84, 65, 82, 71, 69,
84, 0, 171, 171, 83, 72,
68, 82, 112, 2, 0, 0,
64, 0, 0, 0, 156, 0,
0, 0, 89, 0, 0, 4,
70, 142, 32, 0, 0, 0,
0, 0, 1, 0, 0, 0,
88, 64, 0, 4, 0, 112,
16, 0, 0, 0, 0, 0,
51, 51, 0, 0, 100, 8,
0, 4, 18, 16, 16, 0,
1, 0, 0, 0, 4, 0,
0, 0, 98, 16, 0, 3,
50, 16, 16, 0, 2, 0,
0, 0, 101, 0, 0, 3,
242, 32, 16, 0, 0, 0,
0, 0, 104, 0, 0, 2,
1, 0, 0, 0, 105, 0,
0, 4, 0, 0, 0, 0,
6, 0, 0, 0, 4, 0,
0, 0, 61, 16, 0, 7,
242, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
0, 0, 0, 0, 70, 126,
16, 0, 0, 0, 0, 0,
86, 0, 0, 5, 50, 0,
16, 0, 0, 0, 0, 0,
70, 0, 16, 0, 0, 0,
0, 0, 56, 0, 0, 7,
50, 0, 16, 0, 0, 0,
0, 0, 70, 0, 16, 0,
0, 0, 0, 0, 70, 16,
16, 0, 2, 0, 0, 0,
27, 0, 0, 5, 50, 0,
16, 0, 0, 0, 0, 0,
70, 0, 16, 0, 0, 0,
0, 0, 54, 0, 0, 5,
66, 0, 16, 0, 0, 0,
0, 0, 10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 32, 4, 0, 0,
0, 0, 10, 0, 16, 0,
0, 0, 0, 0, 54, 0,
0, 6, 18, 0, 16, 0,
0, 0, 0, 0, 58, 128,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 54, 0,
0, 7, 130, 32, 16, 0,
0, 0, 0, 0, 10, 48,
32, 4, 0, 0, 0, 0,
10, 0, 16, 0, 0, 0,
0, 0, 62, 0, 0, 1,
83, 84, 65, 84, 116, 0,
0, 0, 22, 0, 0, 0,
1, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
6, 0, 0, 0, 10, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
7, 0, 0, 0, 0, 0,
0, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0
};
#if 0
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384
//
//
///
// Buffer Definitions:
//
// cbuffer SwizzleProperties
// {
//
// uint4 SwizzleIndices; // Offset: 0 Size: 16
//
// }
//
//
// Resource Bindings:
//
// Name Type Format Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// TextureI2D texture sint4 2d 0 1
// SwizzleProperties cbuffer NA NA 0 1
//
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION 0 xyzw 0 POS float
// TEXCOORD 0 xy 1 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_TARGET 0 xyzw 0 TARGET int xyzw
//
ps_4_0
dcl_constantbuffer cb0[1], immediateIndexed
dcl_resource_texture2d (sint,sint,sint,sint) t0
dcl_input_ps linear v1.xy
dcl_output o0.xyzw
dcl_temps 1
dcl_indexableTemp x0[6], 4
resinfo_uint r0.xyzw, l(0), t0.xyzw
utof r0.xy, r0.xyxx
mul r0.xy, r0.xyxx, v1.xyxx
ftoi r0.xy, r0.xyxx
mov r0.zw, l(0,0,0,0)
ld r0.xyzw, r0.xyzw, t0.xyzw
mov x0[0].x, r0.x
mov x0[1].x, r0.y
mov x0[2].x, r0.z
mov x0[3].x, r0.w
mov x0[4].x, l(0)
mov x0[5].x, l(1)
mov r0.x, cb0[0].x
mov o0.x, x0[r0.x + 0].x
mov r0.x, cb0[0].y
mov o0.y, x0[r0.x + 0].x
mov r0.x, cb0[0].z
mov o0.z, x0[r0.x + 0].x
mov r0.x, cb0[0].w
mov o0.w, x0[r0.x + 0].x
ret
// Approximately 21 instruction slots used
#endif
const BYTE g_PS_SwizzleI2D[] =
{
68, 88, 66, 67, 137, 89,
210, 142, 141, 7, 14, 194,
111, 71, 23, 167, 232, 166,
154, 59, 1, 0, 0, 0,
164, 4, 0, 0, 5, 0,
0, 0, 52, 0, 0, 0,
60, 1, 0, 0, 148, 1,
0, 0, 200, 1, 0, 0,
40, 4, 0, 0, 82, 68,
69, 70, 0, 1, 0, 0,
1, 0, 0, 0, 124, 0,
0, 0, 2, 0, 0, 0,
28, 0, 0, 0, 0, 4,
255, 255, 0, 1, 0, 0,
204, 0, 0, 0, 92, 0,
0, 0, 2, 0, 0, 0,
3, 0, 0, 0, 4, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 1, 0,
0, 0, 13, 0, 0, 0,
103, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 1, 0,
0, 0, 84, 101, 120, 116,
117, 114, 101, 73, 50, 68,
0, 83, 119, 105, 122, 122,
108, 101, 80, 114, 111, 112,
101, 114, 116, 105, 101, 115,
0, 171, 171, 171, 103, 0,
0, 0, 1, 0, 0, 0,
148, 0, 0, 0, 16, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 172, 0,
0, 0, 0, 0, 0, 0,
16, 0, 0, 0, 2, 0,
0, 0, 188, 0, 0, 0,
0, 0, 0, 0, 83, 119,
105, 122, 122, 108, 101, 73,
110, 100, 105, 99, 101, 115,
0, 171, 1, 0, 19, 0,
1, 0, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0,
77, 105, 99, 114, 111, 115,
111, 102, 116, 32, 40, 82,
41, 32, 72, 76, 83, 76,
32, 83, 104, 97, 100, 101,
114, 32, 67, 111, 109, 112,
105, 108, 101, 114, 32, 57,
46, 51, 48, 46, 57, 50,
48, 48, 46, 49, 54, 51,
56, 52, 0, 171, 73, 83,
71, 78, 80, 0, 0, 0,
2, 0, 0, 0, 8, 0,
0, 0, 56, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 68, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 3, 3,
0, 0, 83, 86, 95, 80,
79, 83, 73, 84, 73, 79,
78, 0, 84, 69, 88, 67,
79, 79, 82, 68, 0, 171,
171, 171, 79, 83, 71, 78,
44, 0, 0, 0, 1, 0,
0, 0, 8, 0, 0, 0,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 0, 0,
0, 0, 15, 0, 0, 0,
83, 86, 95, 84, 65, 82,
71, 69, 84, 0, 171, 171,
83, 72, 68, 82, 88, 2,
0, 0, 64, 0, 0, 0,
150, 0, 0, 0, 89, 0,
0, 4, 70, 142, 32, 0,
0, 0, 0, 0, 1, 0,
0, 0, 88, 24, 0, 4,
0, 112, 16, 0, 0, 0,
0, 0, 51, 51, 0, 0,
98, 16, 0, 3, 50, 16,
16, 0, 1, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0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 128, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
54, 0, 0, 7, 18, 32,
16, 0, 0, 0, 0, 0,
10, 48, 32, 4, 0, 0,
0, 0, 10, 0, 16, 0,
0, 0, 0, 0, 54, 0,
0, 6, 18, 0, 16, 0,
0, 0, 0, 0, 26, 128,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 54, 0,
0, 7, 34, 32, 16, 0,
0, 0, 0, 0, 10, 48,
32, 4, 0, 0, 0, 0,
10, 0, 16, 0, 0, 0,
0, 0, 54, 0, 0, 6,
18, 0, 16, 0, 0, 0,
0, 0, 42, 128, 32, 0,
0, 0, 0, 0, 0, 0,
0, 0, 54, 0, 0, 7,
66, 32, 16, 0, 0, 0,
0, 0, 10, 48, 32, 4,
0, 0, 0, 0, 10, 0,
16, 0, 0, 0, 0, 0,
54, 0, 0, 6, 18, 0,
16, 0, 0, 0, 0, 0,
58, 128, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
54, 0, 0, 7, 130, 32,
16, 0, 0, 0, 0, 0,
10, 48, 32, 4, 0, 0,
0, 0, 10, 0, 16, 0,
0, 0, 0, 0, 62, 0,
0, 1, 83, 84, 65, 84,
116, 0, 0, 0, 21, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 2, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 6, 0, 0, 0,
10, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 6, 0, 0, 0,
0, 0, 0, 0, 2, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0
};
#if 0
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384
//
//
///
// Buffer Definitions:
//
// cbuffer SwizzleProperties
// {
//
// uint4 SwizzleIndices; // Offset: 0 Size: 16
//
// }
//
//
// Resource Bindings:
//
// Name Type Format Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// TextureI3D texture sint4 3d 0 1
// SwizzleProperties cbuffer NA NA 0 1
//
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION 0 xyzw 0 POS float
// SV_RENDERTARGETARRAYINDEX 0 x 1 RTINDEX uint
// TEXCOORD 0 xyz 2 NONE float xyz
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_TARGET 0 xyzw 0 TARGET int xyzw
//
ps_4_0
dcl_constantbuffer cb0[1], immediateIndexed
dcl_resource_texture3d (sint,sint,sint,sint) t0
dcl_input_ps linear v2.xyz
dcl_output o0.xyzw
dcl_temps 1
dcl_indexableTemp x0[6], 4
resinfo_uint r0.xyzw, l(0), t0.xyzw
utof r0.xyz, r0.xyzx
mul r0.xyz, r0.xyzx, v2.xyzx
ftoi r0.xyz, r0.xyzx
mov r0.w, l(0)
ld r0.xyzw, r0.xyzw, t0.xyzw
mov x0[0].x, r0.x
mov x0[1].x, r0.y
mov x0[2].x, r0.z
mov x0[3].x, r0.w
mov x0[4].x, l(0)
mov x0[5].x, l(1)
mov r0.x, cb0[0].x
mov o0.x, x0[r0.x + 0].x
mov r0.x, cb0[0].y
mov o0.y, x0[r0.x + 0].x
mov r0.x, cb0[0].z
mov o0.z, x0[r0.x + 0].x
mov r0.x, cb0[0].w
mov o0.w, x0[r0.x + 0].x
ret
// Approximately 21 instruction slots used
#endif
const BYTE g_PS_SwizzleI3D[] =
{
68, 88, 66, 67, 101, 41,
194, 229, 103, 175, 204, 102,
192, 43, 200, 161, 117, 114,
19, 252, 1, 0, 0, 0,
200, 4, 0, 0, 5, 0,
0, 0, 52, 0, 0, 0,
60, 1, 0, 0, 196, 1,
0, 0, 248, 1, 0, 0,
76, 4, 0, 0, 82, 68,
69, 70, 0, 1, 0, 0,
1, 0, 0, 0, 124, 0,
0, 0, 2, 0, 0, 0,
28, 0, 0, 0, 0, 4,
255, 255, 0, 1, 0, 0,
204, 0, 0, 0, 92, 0,
0, 0, 2, 0, 0, 0,
3, 0, 0, 0, 8, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 1, 0,
0, 0, 13, 0, 0, 0,
103, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 1, 0,
0, 0, 84, 101, 120, 116,
117, 114, 101, 73, 51, 68,
0, 83, 119, 105, 122, 122,
108, 101, 80, 114, 111, 112,
101, 114, 116, 105, 101, 115,
0, 171, 171, 171, 103, 0,
0, 0, 1, 0, 0, 0,
148, 0, 0, 0, 16, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 172, 0,
0, 0, 0, 0, 0, 0,
16, 0, 0, 0, 2, 0,
0, 0, 188, 0, 0, 0,
0, 0, 0, 0, 83, 119,
105, 122, 122, 108, 101, 73,
110, 100, 105, 99, 101, 115,
0, 171, 1, 0, 19, 0,
1, 0, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0,
77, 105, 99, 114, 111, 115,
111, 102, 116, 32, 40, 82,
41, 32, 72, 76, 83, 76,
32, 83, 104, 97, 100, 101,
114, 32, 67, 111, 109, 112,
105, 108, 101, 114, 32, 57,
46, 51, 48, 46, 57, 50,
48, 48, 46, 49, 54, 51,
56, 52, 0, 171, 73, 83,
71, 78, 128, 0, 0, 0,
3, 0, 0, 0, 8, 0,
0, 0, 80, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 92, 0, 0, 0,
0, 0, 0, 0, 4, 0,
0, 0, 1, 0, 0, 0,
1, 0, 0, 0, 1, 0,
0, 0, 118, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
2, 0, 0, 0, 7, 7,
0, 0, 83, 86, 95, 80,
79, 83, 73, 84, 73, 79,
78, 0, 83, 86, 95, 82,
69, 78, 68, 69, 82, 84,
65, 82, 71, 69, 84, 65,
82, 82, 65, 89, 73, 78,
68, 69, 88, 0, 84, 69,
88, 67, 79, 79, 82, 68,
0, 171, 79, 83, 71, 78,
44, 0, 0, 0, 1, 0,
0, 0, 8, 0, 0, 0,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 0, 0,
0, 0, 15, 0, 0, 0,
83, 86, 95, 84, 65, 82,
71, 69, 84, 0, 171, 171,
83, 72, 68, 82, 76, 2,
0, 0, 64, 0, 0, 0,
147, 0, 0, 0, 89, 0,
0, 4, 70, 142, 32, 0,
0, 0, 0, 0, 1, 0,
0, 0, 88, 40, 0, 4,
0, 112, 16, 0, 0, 0,
0, 0, 51, 51, 0, 0,
98, 16, 0, 3, 114, 16,
16, 0, 2, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0, 0, 0, 0, 0,
104, 0, 0, 2, 1, 0,
0, 0, 105, 0, 0, 4,
0, 0, 0, 0, 6, 0,
0, 0, 4, 0, 0, 0,
61, 16, 0, 7, 242, 0,
16, 0, 0, 0, 0, 0,
1, 64, 0, 0, 0, 0,
0, 0, 70, 126, 16, 0,
0, 0, 0, 0, 86, 0,
0, 5, 114, 0, 16, 0,
0, 0, 0, 0, 70, 2,
16, 0, 0, 0, 0, 0,
56, 0, 0, 7, 114, 0,
16, 0, 0, 0, 0, 0,
70, 2, 16, 0, 0, 0,
0, 0, 70, 18, 16, 0,
2, 0, 0, 0, 27, 0,
0, 5, 114, 0, 16, 0,
0, 0, 0, 0, 70, 2,
16, 0, 0, 0, 0, 0,
54, 0, 0, 5, 130, 0,
16, 0, 0, 0, 0, 0,
1, 64, 0, 0, 0, 0,
0, 0, 45, 0, 0, 7,
242, 0, 16, 0, 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, 0, 0,
54, 0, 0, 7, 130, 32,
16, 0, 0, 0, 0, 0,
10, 48, 32, 4, 0, 0,
0, 0, 10, 0, 16, 0,
0, 0, 0, 0, 62, 0,
0, 1, 83, 84, 65, 84,
116, 0, 0, 0, 21, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 2, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 6, 0, 0, 0,
10, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 6, 0, 0, 0,
0, 0, 0, 0, 2, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0
};
#if 0
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384
//
//
///
// Buffer Definitions:
//
// cbuffer SwizzleProperties
// {
//
// uint4 SwizzleIndices; // Offset: 0 Size: 16
//
// }
//
//
// Resource Bindings:
//
// Name Type Format Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// TextureUI2DArray texture uint4 2darray 0 1
// SwizzleProperties cbuffer NA NA 0 1
//
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION 0 xyzw 0 POS float
// SV_RENDERTARGETARRAYINDEX 0 x 1 RTINDEX uint x
// TEXCOORD 0 xyz 2 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_TARGET 0 xyzw 0 TARGET uint xyzw
//
ps_4_0
dcl_constantbuffer cb0[1], immediateIndexed
dcl_resource_texture2darray (uint,uint,uint,uint) t0
dcl_input_ps_siv constant v1.x, rendertarget_array_index
dcl_input_ps linear v2.xy
dcl_output o0.xyzw
dcl_temps 1
dcl_indexableTemp x0[6], 4
resinfo_uint r0.xyzw, l(0), t0.xyzw
utof r0.xy, r0.xyxx
mul r0.xy, r0.xyxx, v2.xyxx
ftoi r0.xy, r0.xyxx
mov r0.z, v1.x
mov r0.w, l(0)
ld r0.xyzw, r0.xyzw, t0.xyzw
mov x0[0].x, r0.x
mov x0[1].x, r0.y
mov x0[2].x, r0.z
mov x0[3].x, r0.w
mov x0[4].x, l(0)
mov x0[5].x, l(1)
mov r0.x, cb0[0].x
mov o0.x, x0[r0.x + 0].x
mov r0.x, cb0[0].y
mov o0.y, x0[r0.x + 0].x
mov r0.x, cb0[0].z
mov o0.z, x0[r0.x + 0].x
mov r0.x, cb0[0].w
mov o0.w, x0[r0.x + 0].x
ret
// Approximately 22 instruction slots used
#endif
const BYTE g_PS_SwizzleUI2DArray[] =
{
68, 88, 66, 67, 239, 117,
221, 64, 238, 147, 130, 15,
39, 48, 171, 143, 66, 71,
242, 70, 1, 0, 0, 0,
240, 4, 0, 0, 5, 0,
0, 0, 52, 0, 0, 0,
64, 1, 0, 0, 200, 1,
0, 0, 252, 1, 0, 0,
116, 4, 0, 0, 82, 68,
69, 70, 4, 1, 0, 0,
1, 0, 0, 0, 128, 0,
0, 0, 2, 0, 0, 0,
28, 0, 0, 0, 0, 4,
255, 255, 0, 1, 0, 0,
208, 0, 0, 0, 92, 0,
0, 0, 2, 0, 0, 0,
4, 0, 0, 0, 5, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 1, 0,
0, 0, 13, 0, 0, 0,
109, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 1, 0,
0, 0, 84, 101, 120, 116,
117, 114, 101, 85, 73, 50,
68, 65, 114, 114, 97, 121,
0, 83, 119, 105, 122, 122,
108, 101, 80, 114, 111, 112,
101, 114, 116, 105, 101, 115,
0, 171, 109, 0, 0, 0,
1, 0, 0, 0, 152, 0,
0, 0, 16, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 176, 0, 0, 0,
0, 0, 0, 0, 16, 0,
0, 0, 2, 0, 0, 0,
192, 0, 0, 0, 0, 0,
0, 0, 83, 119, 105, 122,
122, 108, 101, 73, 110, 100,
105, 99, 101, 115, 0, 171,
1, 0, 19, 0, 1, 0,
4, 0, 0, 0, 0, 0,
0, 0, 0, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 57, 46, 51,
48, 46, 57, 50, 48, 48,
46, 49, 54, 51, 56, 52,
0, 171, 73, 83, 71, 78,
128, 0, 0, 0, 3, 0,
0, 0, 8, 0, 0, 0,
80, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 0, 0, 0,
92, 0, 0, 0, 0, 0,
0, 0, 4, 0, 0, 0,
1, 0, 0, 0, 1, 0,
0, 0, 1, 1, 0, 0,
118, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 2, 0,
0, 0, 7, 3, 0, 0,
83, 86, 95, 80, 79, 83,
73, 84, 73, 79, 78, 0,
83, 86, 95, 82, 69, 78,
68, 69, 82, 84, 65, 82,
71, 69, 84, 65, 82, 82,
65, 89, 73, 78, 68, 69,
88, 0, 84, 69, 88, 67,
79, 79, 82, 68, 0, 171,
79, 83, 71, 78, 44, 0,
0, 0, 1, 0, 0, 0,
8, 0, 0, 0, 32, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0,
15, 0, 0, 0, 83, 86,
95, 84, 65, 82, 71, 69,
84, 0, 171, 171, 83, 72,
68, 82, 112, 2, 0, 0,
64, 0, 0, 0, 156, 0,
0, 0, 89, 0, 0, 4,
70, 142, 32, 0, 0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0, 0, 0,
0, 0, 0, 0, 0, 0,
7, 0, 0, 0, 0, 0,
0, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0
};
#if 0
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384
//
//
///
// Buffer Definitions:
//
// cbuffer SwizzleProperties
// {
//
// uint4 SwizzleIndices; // Offset: 0 Size: 16
//
// }
//
//
// Resource Bindings:
//
// Name Type Format Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// TextureUI2D texture uint4 2d 0 1
// SwizzleProperties cbuffer NA NA 0 1
//
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION 0 xyzw 0 POS float
// TEXCOORD 0 xy 1 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_TARGET 0 xyzw 0 TARGET uint xyzw
//
ps_4_0
dcl_constantbuffer cb0[1], immediateIndexed
dcl_resource_texture2d (uint,uint,uint,uint) t0
dcl_input_ps linear v1.xy
dcl_output o0.xyzw
dcl_temps 1
dcl_indexableTemp x0[6], 4
resinfo_uint r0.xyzw, l(0), t0.xyzw
utof r0.xy, r0.xyxx
mul r0.xy, r0.xyxx, v1.xyxx
ftoi r0.xy, r0.xyxx
mov r0.zw, l(0,0,0,0)
ld r0.xyzw, r0.xyzw, t0.xyzw
mov x0[0].x, r0.x
mov x0[1].x, r0.y
mov x0[2].x, r0.z
mov x0[3].x, r0.w
mov x0[4].x, l(0)
mov x0[5].x, l(1)
mov r0.x, cb0[0].x
mov o0.x, x0[r0.x + 0].x
mov r0.x, cb0[0].y
mov o0.y, x0[r0.x + 0].x
mov r0.x, cb0[0].z
mov o0.z, x0[r0.x + 0].x
mov r0.x, cb0[0].w
mov o0.w, x0[r0.x + 0].x
ret
// Approximately 21 instruction slots used
#endif
const BYTE g_PS_SwizzleUI2D[] =
{
68, 88, 66, 67, 255, 167,
19, 151, 79, 137, 69, 230,
159, 28, 107, 211, 13, 155,
249, 151, 1, 0, 0, 0,
164, 4, 0, 0, 5, 0,
0, 0, 52, 0, 0, 0,
60, 1, 0, 0, 148, 1,
0, 0, 200, 1, 0, 0,
40, 4, 0, 0, 82, 68,
69, 70, 0, 1, 0, 0,
1, 0, 0, 0, 124, 0,
0, 0, 2, 0, 0, 0,
28, 0, 0, 0, 0, 4,
255, 255, 0, 1, 0, 0,
204, 0, 0, 0, 92, 0,
0, 0, 2, 0, 0, 0,
4, 0, 0, 0, 4, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 1, 0,
0, 0, 13, 0, 0, 0,
104, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 1, 0,
0, 0, 84, 101, 120, 116,
117, 114, 101, 85, 73, 50,
68, 0, 83, 119, 105, 122,
122, 108, 101, 80, 114, 111,
112, 101, 114, 116, 105, 101,
115, 0, 171, 171, 104, 0,
0, 0, 1, 0, 0, 0,
148, 0, 0, 0, 16, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 172, 0,
0, 0, 0, 0, 0, 0,
16, 0, 0, 0, 2, 0,
0, 0, 188, 0, 0, 0,
0, 0, 0, 0, 83, 119,
105, 122, 122, 108, 101, 73,
110, 100, 105, 99, 101, 115,
0, 171, 1, 0, 19, 0,
1, 0, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0,
77, 105, 99, 114, 111, 115,
111, 102, 116, 32, 40, 82,
41, 32, 72, 76, 83, 76,
32, 83, 104, 97, 100, 101,
114, 32, 67, 111, 109, 112,
105, 108, 101, 114, 32, 57,
46, 51, 48, 46, 57, 50,
48, 48, 46, 49, 54, 51,
56, 52, 0, 171, 73, 83,
71, 78, 80, 0, 0, 0,
2, 0, 0, 0, 8, 0,
0, 0, 56, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 68, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 3, 3,
0, 0, 83, 86, 95, 80,
79, 83, 73, 84, 73, 79,
78, 0, 84, 69, 88, 67,
79, 79, 82, 68, 0, 171,
171, 171, 79, 83, 71, 78,
44, 0, 0, 0, 1, 0,
0, 0, 8, 0, 0, 0,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 0, 0,
0, 0, 15, 0, 0, 0,
83, 86, 95, 84, 65, 82,
71, 69, 84, 0, 171, 171,
83, 72, 68, 82, 88, 2,
0, 0, 64, 0, 0, 0,
150, 0, 0, 0, 89, 0,
0, 4, 70, 142, 32, 0,
0, 0, 0, 0, 1, 0,
0, 0, 88, 24, 0, 4,
0, 112, 16, 0, 0, 0,
0, 0, 68, 68, 0, 0,
98, 16, 0, 3, 50, 16,
16, 0, 1, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0, 0, 0, 0, 0,
104, 0, 0, 2, 1, 0,
0, 0, 105, 0, 0, 4,
0, 0, 0, 0, 6, 0,
0, 0, 4, 0, 0, 0,
61, 16, 0, 7, 242, 0,
16, 0, 0, 0, 0, 0,
1, 64, 0, 0, 0, 0,
0, 0, 70, 126, 16, 0,
0, 0, 0, 0, 86, 0,
0, 5, 50, 0, 16, 0,
0, 0, 0, 0, 70, 0,
16, 0, 0, 0, 0, 0,
56, 0, 0, 7, 50, 0,
16, 0, 0, 0, 0, 0,
70, 0, 16, 0, 0, 0,
0, 0, 70, 16, 16, 0,
1, 0, 0, 0, 27, 0,
0, 5, 50, 0, 16, 0,
0, 0, 0, 0, 70, 0,
16, 0, 0, 0, 0, 0,
54, 0, 0, 8, 194, 0,
16, 0, 0, 0, 0, 0,
2, 64, 0, 0, 0, 0,
0, 0,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0, 0, 6, 18, 0,
16, 0, 0, 0, 0, 0,
58, 128, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
54, 0, 0, 7, 130, 32,
16, 0, 0, 0, 0, 0,
10, 48, 32, 4, 0, 0,
0, 0, 10, 0, 16, 0,
0, 0, 0, 0, 62, 0,
0, 1, 83, 84, 65, 84,
116, 0, 0, 0, 21, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 2, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 6, 0, 0, 0,
10, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 6, 0, 0, 0,
0, 0, 0, 0, 2, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0
};
#if 0
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384
//
//
///
// Buffer Definitions:
//
// cbuffer SwizzleProperties
// {
//
// uint4 SwizzleIndices; // Offset: 0 Size: 16
//
// }
//
//
// Resource Bindings:
//
// Name Type Format Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// TextureUI3D texture uint4 3d 0 1
// SwizzleProperties cbuffer NA NA 0 1
//
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION 0 xyzw 0 POS float
// SV_RENDERTARGETARRAYINDEX 0 x 1 RTINDEX uint
// TEXCOORD 0 xyz 2 NONE float xyz
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_TARGET 0 xyzw 0 TARGET uint xyzw
//
ps_4_0
dcl_constantbuffer cb0[1], immediateIndexed
dcl_resource_texture3d (uint,uint,uint,uint) t0
dcl_input_ps linear v2.xyz
dcl_output o0.xyzw
dcl_temps 1
dcl_indexableTemp x0[6], 4
resinfo_uint r0.xyzw, l(0), t0.xyzw
utof r0.xyz, r0.xyzx
mul r0.xyz, r0.xyzx, v2.xyzx
ftoi r0.xyz, r0.xyzx
mov r0.w, l(0)
ld r0.xyzw, r0.xyzw, t0.xyzw
mov x0[0].x, r0.x
mov x0[1].x, r0.y
mov x0[2].x, r0.z
mov x0[3].x, r0.w
mov x0[4].x, l(0)
mov x0[5].x, l(1)
mov r0.x, cb0[0].x
mov o0.x, x0[r0.x + 0].x
mov r0.x, cb0[0].y
mov o0.y, x0[r0.x + 0].x
mov r0.x, cb0[0].z
mov o0.z, x0[r0.x + 0].x
mov r0.x, cb0[0].w
mov o0.w, x0[r0.x + 0].x
ret
// Approximately 21 instruction slots used
#endif
const BYTE g_PS_SwizzleUI3D[] =
{
68, 88, 66, 67, 49, 1,
112, 225, 163, 227, 102, 82,
218, 3, 161, 60, 179, 27,
12, 252, 1, 0, 0, 0,
200, 4, 0, 0, 5, 0,
0, 0, 52, 0, 0, 0,
60, 1, 0, 0, 196, 1,
0, 0, 248, 1, 0, 0,
76, 4, 0, 0, 82, 68,
69, 70, 0, 1, 0, 0,
1, 0, 0, 0, 124, 0,
0, 0, 2, 0, 0, 0,
28, 0, 0, 0, 0, 4,
255, 255, 0, 1, 0, 0,
204, 0, 0, 0, 92, 0,
0, 0, 2, 0, 0, 0,
4, 0, 0, 0, 8, 0,
0, 0, 255, 255, 255, 255,
0, 0, 0, 0, 1, 0,
0, 0, 13, 0, 0, 0,
104, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 1, 0,
0, 0, 84, 101, 120, 116,
117, 114, 101, 85, 73, 51,
68, 0, 83, 119, 105, 122,
122, 108, 101, 80, 114, 111,
112, 101, 114, 116, 105, 101,
115, 0, 171, 171, 104, 0,
0, 0, 1, 0, 0, 0,
148, 0, 0, 0, 16, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 172, 0,
0, 0, 0, 0, 0, 0,
16, 0, 0, 0, 2, 0,
0, 0, 188, 0, 0, 0,
0, 0, 0, 0, 83, 119,
105, 122, 122, 108, 101, 73,
110, 100, 105, 99, 101, 115,
0, 171, 1, 0, 19, 0,
1, 0, 4, 0, 0, 0,
0, 0, 0, 0, 0, 0,
77, 105, 99, 114, 111, 115,
111, 102, 116, 32, 40, 82,
41, 32, 72, 76, 83, 76,
32, 83, 104, 97, 100, 101,
114, 32, 67, 111, 109, 112,
105, 108, 101, 114, 32, 57,
46, 51, 48, 46, 57, 50,
48, 48, 46, 49, 54, 51,
56, 52, 0, 171, 73, 83,
71, 78, 128, 0, 0, 0,
3, 0, 0, 0, 8, 0,
0, 0, 80, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 92, 0, 0, 0,
0, 0, 0, 0, 4, 0,
0, 0, 1, 0, 0, 0,
1, 0, 0, 0, 1, 0,
0, 0, 118, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
2, 0, 0, 0, 7, 7,
0, 0, 83, 86, 95, 80,
79, 83, 73, 84, 73, 79,
78, 0, 83, 86, 95, 82,
69, 78, 68, 69, 82, 84,
65, 82, 71, 69, 84, 65,
82, 82, 65, 89, 73, 78,
68, 69, 88, 0, 84, 69,
88, 67, 79, 79, 82, 68,
0, 171, 79, 83, 71, 78,
44, 0, 0, 0, 1, 0,
0, 0, 8, 0, 0, 0,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 0, 0,
0, 0, 15, 0, 0, 0,
83, 86, 95, 84, 65, 82,
71, 69, 84, 0, 171, 171,
83, 72, 68, 82, 76, 2,
0, 0, 64, 0, 0, 0,
147, 0, 0, 0, 89, 0,
0, 4, 70, 142, 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 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0
};
......@@ -55,6 +55,18 @@ call:BuildShader Passthrough3D11.hlsl PS_PassthroughR3DI ps_4_0 compiled\p
call:BuildShader Passthrough3D11.hlsl PS_PassthroughLum3D ps_4_0 compiled\passthroughlum3d11ps.h %debug%
call:BuildShader Passthrough3D11.hlsl PS_PassthroughLumAlpha3D ps_4_0 compiled\passthroughlumalpha3d11ps.h %debug%
call:BuildShader Swizzle11.hlsl PS_SwizzleF2D ps_4_0 compiled\swizzlef2dps.h %debug%
call:BuildShader Swizzle11.hlsl PS_SwizzleI2D ps_4_0 compiled\swizzlei2dps.h %debug%
call:BuildShader Swizzle11.hlsl PS_SwizzleUI2D ps_4_0 compiled\swizzleui2dps.h %debug%
call:BuildShader Swizzle11.hlsl PS_SwizzleF3D ps_4_0 compiled\swizzlef3dps.h %debug%
call:BuildShader Swizzle11.hlsl PS_SwizzleI3D ps_4_0 compiled\swizzlei3dps.h %debug%
call:BuildShader Swizzle11.hlsl PS_SwizzleUI3D ps_4_0 compiled\swizzleui3dps.h %debug%
call:BuildShader Swizzle11.hlsl PS_SwizzleF2DArray ps_4_0 compiled\swizzlef2darrayps.h %debug%
call:BuildShader Swizzle11.hlsl PS_SwizzleI2DArray ps_4_0 compiled\swizzlei2darrayps.h %debug%
call:BuildShader Swizzle11.hlsl PS_SwizzleUI2DArray ps_4_0 compiled\swizzleui2darrayps.h %debug%
call:BuildShader Clear11.hlsl VS_ClearFloat vs_4_0 compiled\clearfloat11vs.h %debug%
call:BuildShader Clear11.hlsl PS_ClearFloat ps_4_0 compiled\clearfloat11ps.h %debug%
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment