projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
926ab7d
)
vc4: Fix mixup of return type in reloc_tex().
author
Eric Anholt
<eric@anholt.net>
Tue, 28 Oct 2014 23:24:28 +0000
(16:24 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 29 Oct 2014 00:15:36 +0000
(17:15 -0700)
src/gallium/drivers/vc4/kernel/vc4_validate.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/kernel/vc4_validate.c
b/src/gallium/drivers/vc4/kernel/vc4_validate.c
index 67bc5f7873788cf56bed8575c320ba79a7bc8426..977e071d22dc5849e5826f973690604f27a28d6d 100644
(file)
--- a/
src/gallium/drivers/vc4/kernel/vc4_validate.c
+++ b/
src/gallium/drivers/vc4/kernel/vc4_validate.c
@@
-778,14
+778,14
@@
reloc_tex(struct exec_info *exec,
if ((p3 & (3 << 30)) == (1 << 30)) {
if (cube_map_stride) {
DRM_ERROR("Cube map stride set twice\n");
- return
-EINVAL
;
+ return
false
;
}
cube_map_stride = p3 & 0x3ffff000;
}
if (!cube_map_stride) {
DRM_ERROR("Cube map stride not set\n");
- return
-EINVAL
;
+ return
false
;
}
}