OSDN Git Service

i965: Remove pointless NULL check from Gen6 primitive counting code.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 17 Mar 2017 00:20:10 +0000 (17:20 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 24 Mar 2017 19:21:06 +0000 (12:21 -0700)
commit652d521408f4d680d17d6f36c78594bedee8c91e
tree5b4f3afe89f7336bfa178ff1834e358fc63b9481
parent61926733f979dc397e9011878e478fcb75aaa7cb
i965: Remove pointless NULL check from Gen6 primitive counting code.

We create the BO when creating a transform feedback object, and only
destroy it when deleting that object.  So it won't be NULL.

CID: 1401410

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/gen6_sol.c