* Compute the VUE map for a shader stage.
*/
void
-brw_compute_vue_map(const struct brw_device_info *devinfo,
+brw_compute_vue_map(const struct gen_device_info *devinfo,
struct brw_vue_map *vue_map,
GLbitfield64 slots_valid,
bool separate)
static const char *
varying_name(brw_varying_slot slot)
{
+ assume(slot < BRW_VARYING_SLOT_COUNT);
+
if (slot < VARYING_SLOT_MAX)
return gl_varying_slot_name(slot);
[BRW_VARYING_SLOT_PNTC - VARYING_SLOT_MAX] = "BRW_VARYING_SLOT_PNTC",
};
- assert(slot < BRW_VARYING_SLOT_COUNT);
return brw_names[slot - VARYING_SLOT_MAX];
}