diff options
author | Brian Paul <[email protected]> | 2018-01-25 12:50:12 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-01-26 13:52:48 -0700 |
commit | bacf72a18dc07ee2a9fb23e8f17aeb04ec31ea50 (patch) | |
tree | 43a24017244f7ddc5aa9d775f6211be1cd8893ee /src/mesa/drivers/dri/i965/brw_cs.c | |
parent | aff5d9c256d471de1722dbfcacdc09faa260799b (diff) |
mesa: change gl_link_status enums to uppercase
follow the convention of other enums.
Reviewed-by: Neha Bhende <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_cs.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_cs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_cs.c b/src/mesa/drivers/dri/i965/brw_cs.c index 71d0beaae97..e3f8fc67a4b 100644 --- a/src/mesa/drivers/dri/i965/brw_cs.c +++ b/src/mesa/drivers/dri/i965/brw_cs.c @@ -62,7 +62,7 @@ brw_codegen_cs_prog(struct brw_context *brw, memset(&prog_data, 0, sizeof(prog_data)); if (cp->program.info.cs.shared_size > 64 * 1024) { - cp->program.sh.data->LinkStatus = linking_failure; + cp->program.sh.data->LinkStatus = LINKING_FAILURE; const char *error_str = "Compute shader used more than 64KB of shared variables"; ralloc_strcat(&cp->program.sh.data->InfoLog, error_str); @@ -94,7 +94,7 @@ brw_codegen_cs_prog(struct brw_context *brw, &prog_data, cp->program.nir, st_index, &error_str); if (program == NULL) { - cp->program.sh.data->LinkStatus = linking_failure; + cp->program.sh.data->LinkStatus = LINKING_FAILURE; ralloc_strcat(&cp->program.sh.data->InfoLog, error_str); _mesa_problem(NULL, "Failed to compile compute shader: %s\n", error_str); |