// texture-resource-type.slang // Tests reflection of inner texture type and formats. //TEST:REFLECTION:-stage compute -entry main -target hlsl Texture2D NoParameters; Texture2D FloatTexture; Texture2D FloatTwoTexture; Texture2D FloatThreeTexture; Texture2D FloatFourTexture; Texture2D IntTexture; Texture2D IntTwoTexture; Texture2D IntFourTexture; Texture2D UintTexture; Texture2D UintTwoTexture; Texture2D UintFourTexture; [format("r11f_g11f_b10f")] Texture2D R11G11B10Texture; [format("rgb10_a2ui")] Texture2D RGB10_A2_UI_Texture; [numthreads(1, 1, 1)] void main(uint3 dispatchThreadID : SV_DispatchThreadID) { }