mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
r300: don't assume position is always OUT[0] in rc_copy_output
Signed-off-by: Pavel Ondračka <pavel.ondracka@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15677>
This commit is contained in:
parent
fb233ac411
commit
b672814fe5
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue