mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 18:40:13 +01:00
r600: add missing return value check.
Pointed out by coverity scan. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
78b81be627
commit
5362e53a06
1 changed files with 2 additions and 0 deletions
|
|
@ -1745,6 +1745,8 @@ static int do_lds_fetch_values(struct r600_shader_ctx *ctx, unsigned temp_reg,
|
|||
temp_reg, i,
|
||||
temp_reg, 0,
|
||||
V_SQ_ALU_SRC_LITERAL, 4 * i);
|
||||
if (r)
|
||||
return r;
|
||||
}
|
||||
for (i = 0; i < 4; i++) {
|
||||
/* emit an LDS_READ_RET */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue