diff options
author | Corbin Simpson <MostAwesomeDude@gmail.com> | 2009-11-07 14:14:19 -0800 |
---|---|---|
committer | Corbin Simpson <MostAwesomeDude@gmail.com> | 2009-11-07 14:14:19 -0800 |
commit | 547e939afb980c2fcc3edbbb07dba0f44be785c1 (patch) | |
tree | 87e4ee8477d0b24c9540190d3517bd024384da63 /src/gallium/drivers/r300/r300_state_inlines.h | |
parent | 9f49db6f843885620a52a06721d5972afb29f21a (diff) |
r300g: DCE.
This must never have been called before; it's completely wrong.
Diffstat (limited to 'src/gallium/drivers/r300/r300_state_inlines.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_state_inlines.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_state_inlines.h b/src/gallium/drivers/r300/r300_state_inlines.h index e53db3d0b5..b0f3386c62 100644 --- a/src/gallium/drivers/r300/r300_state_inlines.h +++ b/src/gallium/drivers/r300/r300_state_inlines.h @@ -436,7 +436,7 @@ r300_translate_vertex_data_type(enum pipe_format format) { if (pf_layout(format) != PIPE_FORMAT_LAYOUT_RGBAZS) { debug_printf("r300: Bad format %s in %s:%d\n", pf_name(format), __FUNCTION__, __LINE__); - return 0; + assert(0); } switch (pf_type(format)) { |