projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bf3729
)
r600g: fix a coverity defect in streamout code
author
Marek Olšák
<marek.olsak@amd.com>
Tue, 26 May 2015 17:07:35 +0000
(19:07 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Fri, 5 Jun 2015 17:44:32 +0000
(19:44 +0200)
Reported by Ilia Mirkin.
src/gallium/drivers/r600/r600_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_shader.c
b/src/gallium/drivers/r600/r600_shader.c
index 87b6e6e06ecc85d878963637fc2e02013ae4152d..2e83143b29d9a737c31c6f9315ecca215929772e 100644
(file)
--- a/
src/gallium/drivers/r600/r600_shader.c
+++ b/
src/gallium/drivers/r600/r600_shader.c
@@
-1337,7
+1337,7
@@
static int emit_streamout(struct r600_shader_ctx *ctx, struct pipe_stream_output
int i, j, r;
/* Sanity checking. */
- if (so->num_outputs > PIPE_MAX_S
HADER
_OUTPUTS) {
+ if (so->num_outputs > PIPE_MAX_S
O
_OUTPUTS) {
R600_ERR("Too many stream outputs: %d\n", so->num_outputs);
r = -EINVAL;
goto out_err;