mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 17:00:09 +01:00
i965/vec4/tcs: Return NULL instead of false in brw_compile_tcs()
brw_compile_tcs() is expected to return 'const unsigned *', so the compiler complains. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
13b87e02b9
commit
263f829d2e
1 changed files with 1 additions and 1 deletions
|
|
@ -546,7 +546,7 @@ brw_compile_tcs(const struct brw_compiler *compiler,
|
|||
|
||||
assert(output_size_bytes >= 1);
|
||||
if (output_size_bytes > GEN7_MAX_HS_URB_ENTRY_SIZE_BYTES)
|
||||
return false;
|
||||
return NULL;
|
||||
|
||||
/* URB entry sizes are stored as a multiple of 64 bytes. */
|
||||
vue_prog_data->urb_entry_size = ALIGN(output_size_bytes, 64) / 64;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue