OSDN Git Service

gallivm: honor d3d10's wishes of out-of-bounds behavior for texture size query
authorRoland Scheidegger <sroland@vmware.com>
Thu, 8 Aug 2013 00:34:32 +0000 (02:34 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Fri, 9 Aug 2013 18:49:18 +0000 (20:49 +0200)
commit38ad404f7633aded98a0d67438e6bec0d684a5c6
treebe753d436c1a4afafcf7784aa367e856c1603379
parent417dc8081ba123fb93c34a3b14cd174dbce702f5
gallivm: honor d3d10's wishes of out-of-bounds behavior for texture size query

Specifically, must return 0 for non-existent mip levels (and non-existent
textures which is an unsolved problem) for everything but total mip count.

Reviewed-by: Zack Rusin <zackr@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c