{ "nofc", DEBUG_NO_FAST_CLEAR },
{ "no32", DEBUG_NO32 },
{ "shaders", DEBUG_WM | DEBUG_VS | DEBUG_TCS |
- DEBUG_TES | DEBUG_GS | DEBUG_CS },
+ DEBUG_TES | DEBUG_GS | DEBUG_CS |
+ DEBUG_RT },
+ { "rt", DEBUG_RT },
{ NULL, 0 }
};
[MESA_SHADER_GEOMETRY] = DEBUG_GS,
[MESA_SHADER_FRAGMENT] = DEBUG_WM,
[MESA_SHADER_COMPUTE] = DEBUG_CS,
+
+ [MESA_SHADER_RAYGEN] = DEBUG_RT,
+ [MESA_SHADER_ANY_HIT] = DEBUG_RT,
+ [MESA_SHADER_CLOSEST_HIT] = DEBUG_RT,
+ [MESA_SHADER_MISS] = DEBUG_RT,
+ [MESA_SHADER_INTERSECTION] = DEBUG_RT,
+ [MESA_SHADER_CALLABLE] = DEBUG_RT,
};
- STATIC_ASSERT(MESA_SHADER_STAGES == 6);
return flags[stage];
}
#define DEBUG_PIPE_CONTROL (1ull << 45)
#define DEBUG_NO_FAST_CLEAR (1ull << 46)
#define DEBUG_NO32 (1ull << 47)
+#define DEBUG_RT (1ull << 48)
/* These flags are not compatible with the disk shader cache */
#define DEBUG_DISK_CACHE_DISABLE_MASK DEBUG_SHADER_TIME