mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
blorp: assert that shaders don't spill
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Acked-by: Nanley Chery <nanley.g.chery@intel.com> Acked-by: Ivan Briano <ivan.briano@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31983>
This commit is contained in:
parent
4226c50b3f
commit
fe2f173413
1 changed files with 4 additions and 0 deletions
|
|
@ -689,6 +689,8 @@ blorp_emit_vs_config(struct blorp_batch *batch,
|
|||
|
||||
blorp_emit(batch, GENX(3DSTATE_VS), vs) {
|
||||
if (vs_prog_data) {
|
||||
assert(vs_prog_data->base.base.total_scratch == 0);
|
||||
|
||||
vs.Enable = true;
|
||||
|
||||
vs.KernelStartPointer = params->vs_prog_kernel;
|
||||
|
|
@ -885,6 +887,8 @@ blorp_emit_ps_config(struct blorp_batch *batch,
|
|||
#endif
|
||||
|
||||
if (prog_data) {
|
||||
assert(prog_data->base.total_scratch == 0);
|
||||
|
||||
intel_set_ps_dispatch_state(&ps, devinfo, prog_data,
|
||||
params->num_samples,
|
||||
0 /* msaa_flags */);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue