asahi: assert hw invariant
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26614>
This commit is contained in:
@@ -3198,6 +3198,8 @@ agx_encode_state(struct agx_batch *batch, uint8_t *out, bool is_lines,
|
||||
cfg.viewport_target = vs->info.writes_layer_viewport;
|
||||
cfg.render_target = vs->info.writes_layer_viewport;
|
||||
cfg.frag_coord_z = fs->info.varyings.fs.reads_z;
|
||||
|
||||
assert(cfg.point_size || !is_points);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user