diff options
author | Mauro Rossi <[email protected]> | 2019-04-13 18:34:53 +0200 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2019-04-14 18:07:02 +1000 |
commit | 1af7701666bea2d6f4d0d226f5efc2fa65103872 (patch) | |
tree | 5c2d840e3bb502e5b2e8b16991942bdb48383e5e /src/compiler/glsl/glcpp/tests/134-hash-comment-directive.c | |
parent | b46b661f532978c0e41ba81e4c203978fa9ba4ac (diff) |
draw: fix building error in draw_gs_init()
Fixes the following building error happening with Android build system:
external/mesa/src/gallium/auxiliary/draw/draw_gs.c:740:79:
error: address of array 'draw->gs.tgsi.machine->PrimitiveOffsets' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
if (!draw->gs.tgsi.machine->Primitives[i] || !draw->gs.tgsi.machine->PrimitiveOffsets)
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
1 error generated.
Fixes: 7720ce3 ("draw: add support to tgsi paths for geometry streams. (v2)")
Signed-off-by: Mauro Rossi <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/compiler/glsl/glcpp/tests/134-hash-comment-directive.c')
0 files changed, 0 insertions, 0 deletions