OSDN Git Service

nv50,nvc0: add states mask to state validation function
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sat, 27 Aug 2011 18:49:36 +0000 (20:49 +0200)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Tue, 30 Aug 2011 11:55:07 +0000 (13:55 +0200)
commit222b3ea653e5525a4afa57e6a2353335953012d4
treea0a296f28409108acfdd6830fbc8aefb0e1f55bb
parent9f4998639c3c47f0b7ee3e2a29b7f3609d3f7796
nv50,nvc0: add states mask to state validation function

This prevents null dereferences in validation of interdependent
state after a switch to a pipe context where we mark all state
as dirty but where not all state is valid / set yet.
src/gallium/drivers/nv50/nv50_context.h
src/gallium/drivers/nv50/nv50_state_validate.c
src/gallium/drivers/nv50/nv50_surface.c
src/gallium/drivers/nv50/nv50_vbo.c
src/gallium/drivers/nvc0/nvc0_context.h
src/gallium/drivers/nvc0/nvc0_state_validate.c
src/gallium/drivers/nvc0/nvc0_surface.c
src/gallium/drivers/nvc0/nvc0_vbo.c