diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-07-15 13:27:44 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-07-15 13:29:25 -0600 |
commit | f006358d56e6b24c3e32665e088d5ee11877ec2c (patch) | |
tree | ade48115ac4aac418b8df58bf77cc498a7990b42 /src/gallium | |
parent | f6152c35101311c2b128eb23b25b3f38d9e8b5be (diff) |
gallium: added some sanity check assertions
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_setup.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_setup.c b/src/gallium/drivers/softpipe/sp_setup.c index e99df9d018..4321ca46f4 100644 --- a/src/gallium/drivers/softpipe/sp_setup.c +++ b/src/gallium/drivers/softpipe/sp_setup.c @@ -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; |