mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-27 02:20:38 +02:00
gallium: added some sanity check assertions
This commit is contained in:
parent
f6152c3510
commit
f006358d56
1 changed files with 5 additions and 0 deletions
|
|
@ -941,6 +941,11 @@ setup_line(struct setup_context *setup,
|
|||
print_vertex(setup, v1);
|
||||
#endif
|
||||
|
||||
assert(v0[0][0] < 1.0e9);
|
||||
assert(v0[0][1] < 1.0e9);
|
||||
assert(v1[0][0] < 1.0e9);
|
||||
assert(v1[0][1] < 1.0e9);
|
||||
|
||||
if (setup->softpipe->no_rast)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue