mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 23:09:05 +02:00
intel/compiler: no need to check unsigned is >= 0
CID: 1338342 Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
This commit is contained in:
parent
7c4daf8c37
commit
226fae7849
1 changed files with 1 additions and 1 deletions
|
|
@ -1776,7 +1776,7 @@ fs_visitor::set_gs_stream_control_data_bits(const fs_reg &vertex_count,
|
|||
assert(gs_compile->control_data_bits_per_vertex == 2);
|
||||
|
||||
/* Must be a valid stream */
|
||||
assert(stream_id >= 0 && stream_id < MAX_VERTEX_STREAMS);
|
||||
assert(stream_id < MAX_VERTEX_STREAMS);
|
||||
|
||||
/* Control data bits are initialized to 0 so we don't have to set any
|
||||
* bits when sending vertices to stream 0.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue