mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
frontend/nine: Fix programmable vs check
Checking if context->vs is set is not
equivalent to checking programmable vs
Cc: mesa-stable
Signed-off-by: Axel Davy <davyaxel0@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28232>
(cherry picked from commit d3cec6cdf1)
This commit is contained in:
parent
e1c686778a
commit
64b0629062
2 changed files with 2 additions and 2 deletions
|
|
@ -244,7 +244,7 @@
|
|||
"description": "frontend/nine: Fix programmable vs check",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ nine_ff_get_projected_key(struct nine_context *context, unsigned num_stages)
|
|||
unsigned idx = context->ff.tex_stage[s][D3DTSS_TEXCOORDINDEX] & 7;
|
||||
unsigned proj = !!(context->ff.tex_stage[s][D3DTSS_TEXTURETRANSFORMFLAGS] & D3DTTFF_PROJECTED);
|
||||
|
||||
if (!context->vs) {
|
||||
if (!context->programmable_vs) {
|
||||
if (dim > 4)
|
||||
dim = input_texture_coord[idx];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue