diff options
author | Eduardo Lima Mitev <[email protected]> | 2015-11-17 09:49:43 +0100 |
---|---|---|
committer | Eduardo Lima Mitev <[email protected]> | 2015-11-17 12:50:09 +0100 |
commit | 252b143e9e8ca0b98143c237f14cb0b548ffd510 (patch) | |
tree | fbb2600c34435a6329cad5ce1d1689850bc0b4c5 /src/glx/dri3_priv.h | |
parent | dfa60e7057ef8e5b07c49c7ba22fbddaa75e848b (diff) |
i965: Return the correct value type from brw_compile_gs()
brw_compile_gs() should return a pointer to unsigned, but it is returning the
bool 'false' at some point, hence annoying us with a compiler warning:
In function 'const unsigned int* brw::brw_compile_gs(const brw_compiler*,
void*, void*, const brw_gs_prog_key*, brw_gs_prog_data*, const nir_shader*,
gl_shader_program*, int, unsigned int*, char**)':
brw_vec4_gs_visitor.cpp:776:14: warning: converting 'false' to pointer type
'const unsigned int*' [-Wconversion-null]
return false;
^
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/glx/dri3_priv.h')
0 files changed, 0 insertions, 0 deletions