commit | 4bfcc86bf977ac18465c7be0a0fa14354b18d7c6 | [log] [tgz] |
---|---|---|
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | Thu Apr 07 12:19:56 2016 -0500 |
committer | Nicolai Hähnle <nicolai.haehnle@amd.com> | Thu Apr 07 13:15:05 2016 -0500 |
tree | 6d4f21b162449b19192986195e05a33051277081 | |
parent | cc39879989a1f24c232a7d1b7037c4d3fcff2ce2 [diff] |
tgsi/scan: add an assert for the size of the samplers_declared bitfield The literal 1 is a (signed) int, and shifting into the sign bit is undefined in C, so change occurences of 1 to 1u. Reviewed-by: Brian Paul <brianp@vmware.com>