OSDN Git Service

cso: don't cycle through PIPE_MAX_SHADER_SAMPLER_VIEWS on context destroy
authorRoland Scheidegger <sroland@vmware.com>
Wed, 28 Feb 2018 02:01:23 +0000 (03:01 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Wed, 28 Feb 2018 17:22:28 +0000 (18:22 +0100)
commitb923f21eaadb77ee70e1bf4c5e2f9aee2a5fa205
tree612eb15fedd3db3ad9924ed72f496420d2972bb5
parent89ae5def8cea9311727ac80d7274f80650279373
cso: don't cycle through PIPE_MAX_SHADER_SAMPLER_VIEWS on context destroy

There's no point, we know the highest non-null one.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/cso_cache/cso_context.c