diff options
author | Ian Romanick <[email protected]> | 2011-10-11 16:27:41 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-10-28 13:28:55 -0700 |
commit | 276000472abbc34d86fcb628bc3a1990e9581af3 (patch) | |
tree | ea58c8b163a8a51d98b7b29b9064e5c284d629d2 /src/gallium/drivers/nvc0/nvc0_push2.c | |
parent | 6da9b21f716d97fc9ef4797abb6368b0a5f92a14 (diff) |
ir_to_mesa: Let check_resources halt compilation
Previously check_resources could fail, but we'd still try to optimize
the shader, do device-specific code generation, etc. In some cases,
this could explode (especially in the device-specific code
generation). I haven't found that I could trigger this with the
current code. When too many samplers were used with the new uniform
handling code, I observed several crashes deep down in the driver.
NOTE: This is candidate for the 7.11 branch.
Signed-off-by: Ian Romanick <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41609
Cc: Eric Anholt <[email protected]>
Reviewed-and-tested-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_push2.c')
0 files changed, 0 insertions, 0 deletions