1 2float float_array[5][4][3]; 3 4struct PS_OUTPUT 5{ 6 float4 Color : SV_Target0; 7}; 8 9PS_OUTPUT main() 10{ 11 float4 float4_array_1[2][3]; 12 float4 float4_array_2[5][3]; 13 14 float4_array_1[1][2] = float_array[2][3][1]; 15 float4_array_2[1] = float4_array_1[0]; 16 17 PS_OUTPUT psout; 18 psout.Color = float4_array_1[1][2]; 19 return psout; 20} 21