projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb233ac
)
r300: don't assume position is always OUT[0] in rc_copy_output
author
Pavel Ondračka
<pavel.ondracka@gmail.com>
Thu, 31 Mar 2022 14:33:50 +0000
(16:33 +0200)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 1 Apr 2022 21:18:42 +0000
(21:18 +0000)
Signed-off-by: Pavel Ondračka <pavel.ondracka@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15677>
src/gallium/drivers/r300/r300_vs.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_vs.c
b/src/gallium/drivers/r300/r300_vs.c
index
365ae21
..
6e9c4cd
100644
(file)
--- a/
src/gallium/drivers/r300/r300_vs.c
+++ b/
src/gallium/drivers/r300/r300_vs.c
@@
-259,7
+259,7
@@
void r300_translate_vertex_shader(struct r300_context *r300,
/* Insert the WPOS output. */
if (vs->wpos)
- rc_copy_output(&compiler.Base,
0
, vs->outputs.wpos);
+ rc_copy_output(&compiler.Base,
vs->outputs.pos
, vs->outputs.wpos);
/* Invoke the compiler */
r3xx_compile_vertex_program(&compiler);