#Is it possible to access the multidraw BaseInstance from inside the shader in HLSL?

5 messages · Page 1 of 1 (latest)

keen monolith
#

Like the title says. I essentially want an equivalent to gl_BaseInstance.

keen monolith
#

seems i needed to update spirv-cross

barren creek
#
namespace spirv
{
[[vk::ext_builtin_input(4425/*spv::BaseInstance*/)]]
static const uint32_t BaseInstance;
}
#

here you go