From the 3DSTATE_URB_DS documentation:
"Project: IVB, HSW
If Domain Shader Thread Dispatch is Enabled then the minimum number of
handles that must be allocated is 10 URB entries."
"Project: BDW+
If Domain Shader Thread Dispatch is Enabled then the minimum number of
handles that must be allocated is 34 URB entries."
When the HS is run in SINGLE_PATCH mode (the only mode we support
today), there is no minimum for HS - it's just zero.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
.min_vs_entries = 32,
.max_vs_entries = 512,
.max_hs_entries = 32,
+ .min_ds_entries = 10,
.max_ds_entries = 288,
.max_gs_entries = 192,
},
.min_vs_entries = 32,
.max_vs_entries = 704,
.max_hs_entries = 64,
+ .min_ds_entries = 10,
.max_ds_entries = 448,
.max_gs_entries = 320,
},
.min_vs_entries = 32,
.max_vs_entries = 512,
.max_hs_entries = 32,
+ .min_ds_entries = 10,
.max_ds_entries = 288,
.max_gs_entries = 192,
},
.min_vs_entries = 32,
.max_vs_entries = 640,
.max_hs_entries = 64,
+ .min_ds_entries = 10,
.max_ds_entries = 384,
.max_gs_entries = 256,
},
.min_vs_entries = 64,
.max_vs_entries = 1664,
.max_hs_entries = 128,
+ .min_ds_entries = 10,
.max_ds_entries = 960,
.max_gs_entries = 640,
},
.min_vs_entries = 64,
.max_vs_entries = 1664,
.max_hs_entries = 128,
+ .min_ds_entries = 10,
.max_ds_entries = 960,
.max_gs_entries = 640,
},
.min_vs_entries = 64,
.max_vs_entries = 2560,
.max_hs_entries = 504,
+ .min_ds_entries = 34,
.max_ds_entries = 1536,
.max_gs_entries = 960,
}
.min_vs_entries = 64,
.max_vs_entries = 2560,
.max_hs_entries = 504,
+ .min_ds_entries = 34,
.max_ds_entries = 1536,
.max_gs_entries = 960,
}
.min_vs_entries = 64,
.max_vs_entries = 2560,
.max_hs_entries = 504,
+ .min_ds_entries = 34,
.max_ds_entries = 1536,
.max_gs_entries = 960,
}
.min_vs_entries = 34,
.max_vs_entries = 640,
.max_hs_entries = 80,
+ .min_ds_entries = 34,
.max_ds_entries = 384,
.max_gs_entries = 256,
}
.min_vs_entries = 64, \
.max_vs_entries = 1856, \
.max_hs_entries = 672, \
+ .min_ds_entries = 34, \
.max_ds_entries = 1120, \
.max_gs_entries = 640, \
}
unsigned min_vs_entries;
unsigned max_vs_entries;
unsigned max_hs_entries;
+ unsigned min_ds_entries;
unsigned max_ds_entries;
unsigned max_gs_entries;
} urb;