Bez popisu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

DebugMipmapStreamingMacros.hlsl 805B

12345678910111213141516
  1. #ifndef UNITY_DEBUG_MIPMAP_STREAMING_MACROS_INCLUDED
  2. #define UNITY_DEBUG_MIPMAP_STREAMING_MACROS_INCLUDED
  3. // Beware that this macro is used in constant buffers, so this should not change in size based on conditionals
  4. #define UNITY_TEXTURE_STREAMING_DEBUG_VARS \
  5. float4 unity_MipmapStreaming_DebugTex_ST; \
  6. float4 unity_MipmapStreaming_DebugTex_TexelSize; \
  7. float4 unity_MipmapStreaming_DebugTex_MipInfo; \
  8. float4 unity_MipmapStreaming_DebugTex_StreamInfo;
  9. // Beware that this macro is used in constant buffers, so this should not change in size based on conditionals
  10. #define UNITY_TEXTURE_STREAMING_DEBUG_VARS_FOR_TEX(tex) \
  11. float4 tex##_MipInfo; \
  12. float4 tex##_StreamInfo;
  13. #endif // UNITY_DEBUG_MIPMAP_STREAMING_MACROS_INCLUDED