mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 01:28:07 +02:00
gallium: fix an assertion
This commit is contained in:
parent
84a496746e
commit
63c0970dca
1 changed files with 1 additions and 1 deletions
|
|
@ -298,7 +298,7 @@ struct draw_vs_varient *draw_vs_varient_generic( struct draw_vertex_shader *vs,
|
|||
emit.element[i].input_offset = key->element[i].out.vs_output * 4 * sizeof(float);
|
||||
emit.element[i].output_format = draw_translate_vinfo_format(key->element[i].out.format);
|
||||
emit.element[i].output_offset = key->element[i].out.offset;
|
||||
assert(emit.element[i].input_offset < fetch.output_stride);
|
||||
assert(emit.element[i].input_offset <= fetch.output_stride);
|
||||
}
|
||||
else {
|
||||
emit.element[i].input_format = PIPE_FORMAT_R32_FLOAT;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue