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:

committed by
David Heidelberg

parent
9063d554f3
commit
d3cec6cdf1
@@ -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];
|
||||
|
||||
|
Reference in New Issue
Block a user