Graphics Reference
In-Depth Information
// cbuffer CameraParams
// {
//
//
float4x4 ViewMatrix;
// Offset:
0 Size:
64 [unused]
//
float4x4 ProjMatrix;
// Offset:
64 Size:
64
// float4x4 InvProjMatrix;
// Offset:
128 Size:
64 [unused]
// float2 ClipPlanes;
// Offset:
192 Size:
8 [unused]
//
// }
//
//
// Resource Bindings:
//
// Name
Type Format
Dim Slot Elements
//
// GBufferTexture
texture fioat4
2dMS 0
1
// DepthTexture
texture float
2dMS 1
1
// CameraParams
cbuffer
NA
NA 0
1
//
//
//
// Input signature:
//
// Name
Index Mask Register SysValue Format Used
//
// SV_Position
0 xyzw
0
POS float xy
// VIEWRAY
0 xyz
1 NONE float xyz
// RANGE
0
w
1 NONE float
W
// POSITION
0 xyz
2 NONE float xyz
// COLOR
0 xyz
3 NONE float xyz
// SV_SampleIndex
0 x
4 SAMPLE uint x
//
//
// Output signature:
//
// Name
Index Mask Register SysValue Format Used
//
//
SV_Target
0
xyzw
0
TARGET float
xyzw
//
// Pixel Shader runs at sample frequency
//
ps_5_0
dcl_globalFlags refactoringAllowed
dcl_constantbuffer cb0[7], immediatelndexed
dcl_resource_texture2dms(0) (float,float,float,float) t0
dcl_resource_texture2dms(0) (float,float,float,float) t1
dcl_input_ps_siv linear noperspective v0.xy, position
dcl_input_ps linear v1.xyz
dcl_input_ps linear v1.w
dcl_input_ps linear v2.xyz
dcl_input_ps linear v3.xyz
dcl_input_ps_sgv v4.x, samplelndex
dcl_output 00.xyzw
dcl_temps 4
ftoi r0.xy, v0.xyxx
mov r0.zw, 1(0,0,0,0)
Search WWH ::




Custom Search