diff --git a/src/gallium/drivers/crocus/crocus_program.c b/src/gallium/drivers/crocus/crocus_program.c index 663296b2ef0..94eb5d61e07 100644 --- a/src/gallium/drivers/crocus/crocus_program.c +++ b/src/gallium/drivers/crocus/crocus_program.c @@ -1231,7 +1231,7 @@ crocus_compile_vs(struct crocus_context *ice, if (program == NULL) { dbg_printf("Failed to compile vertex shader: %s\n", params.base.error_str); ralloc_free(mem_ctx); - return false; + return NULL; } if (ish->compiled_once) { @@ -1428,7 +1428,7 @@ crocus_compile_tcs(struct crocus_context *ice, if (program == NULL) { dbg_printf("Failed to compile control shader: %s\n", params.base.error_str); ralloc_free(mem_ctx); - return false; + return NULL; } if (ish) { @@ -1573,7 +1573,7 @@ crocus_compile_tes(struct crocus_context *ice, if (program == NULL) { dbg_printf("Failed to compile evaluation shader: %s\n", params.base.error_str); ralloc_free(mem_ctx); - return false; + return NULL; } if (ish->compiled_once) { @@ -1719,7 +1719,7 @@ crocus_compile_gs(struct crocus_context *ice, if (program == NULL) { dbg_printf("Failed to compile geometry shader: %s\n", params.base.error_str); ralloc_free(mem_ctx); - return false; + return NULL; } if (ish->compiled_once) { @@ -1859,7 +1859,7 @@ crocus_compile_fs(struct crocus_context *ice, if (program == NULL) { dbg_printf("Failed to compile fragment shader: %s\n", params.base.error_str); ralloc_free(mem_ctx); - return false; + return NULL; } if (ish->compiled_once) { @@ -2040,7 +2040,7 @@ crocus_compile_clip(struct crocus_context *ice, struct elk_clip_prog_key *key) if (program == NULL) { dbg_printf("failed to compile clip shader\n"); ralloc_free(mem_ctx); - return false; + return NULL; } struct crocus_binding_table bt; memset(&bt, 0, sizeof(bt)); @@ -2194,7 +2194,7 @@ crocus_compile_sf(struct crocus_context *ice, struct elk_sf_prog_key *key) if (program == NULL) { dbg_printf("failed to compile sf shader\n"); ralloc_free(mem_ctx); - return false; + return NULL; } struct crocus_binding_table bt; @@ -2287,7 +2287,7 @@ crocus_compile_ff_gs(struct crocus_context *ice, struct elk_ff_gs_prog_key *key) if (program == NULL) { dbg_printf("failed to compile sf shader\n"); ralloc_free(mem_ctx); - return false; + return NULL; } struct crocus_binding_table bt; @@ -2537,7 +2537,7 @@ crocus_compile_cs(struct crocus_context *ice, if (program == NULL) { dbg_printf("Failed to compile compute shader: %s\n", params.base.error_str); ralloc_free(mem_ctx); - return false; + return NULL; } if (ish->compiled_once) {