mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58: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>
This commit is contained in:
parent
9063d554f3
commit
d3cec6cdf1
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,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