Skip to content
Snippets Groups Projects
Commit 71a5bcb8 authored by Thomas Andersen's avatar Thomas Andersen Committed by Marge Bot
Browse files

nine: Fix assert in tx_src_param


A previous commit cleaned up the asserts but the last part of
this assert looks like it got mixed up. It should have allowed
param->rel for D3DSPR_INPUT if version is 3.0. Instead it does
&& on the enum value D3DSPR_ADDR which is of course always true,
with the version check. The result is that we miss input
validation with version 3.0.

Spotted by a compile warning

Fixes: 5974401a ("st/nine: Regroup param->rel tests")
Reviewed-by: default avatarAxel Davy <davyaxel0@gmail.com>
Part-of: <mesa/mesa!11880>
parent 390a3fcd
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment