mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
r300g: don't force vertex position for HW TCL path
It could be generated by vertex shader.
This commit is contained in:
parent
bedc6b7bdf
commit
98f6bea168
1 changed files with 3 additions and 1 deletions
|
|
@ -128,7 +128,9 @@ static void r300_vs_tab_routes(struct r300_context* r300,
|
|||
|
||||
vinfo->hwfmt[0] = 0x5555; /* XXX this is classic Mesa bonghits */
|
||||
|
||||
if (!pos) {
|
||||
/* We need to add vertex position attribute only for SW TCL case,
|
||||
* for HW TCL case it could be generated by vertex shader */
|
||||
if (!pos && !r300screen->caps->has_tcl) {
|
||||
debug_printf("r300: Forcing vertex position attribute emit...\n");
|
||||
/* Make room for the position attribute
|
||||
* at the beginning of the tab. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue