• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Texture2DArray     g_tTex2df4a;
2Texture2D          g_tTex2df4;
3
4float4 main() : SV_Target0
5{
6    return g_tTex2df4.mips[2][uint2(3, 4)] +
7
8        // test float->uint cast on the mip arg
9        g_tTex2df4a.mips[5.2][uint3(6, 7, 8)] +
10
11        // Test nesting involving .mips operators:
12        //               ....outer operator mip level......     .....outer operator coordinate....
13        g_tTex2df4.mips[ g_tTex2df4.mips[9][uint2(10,11)][0] ][ g_tTex2df4.mips[13][uint2(14,15)].xy ];
14}
15