u_sampler.h revision 3464ebd5
11.4Sthorpej/************************************************************************** 21.4Sthorpej * 31.1Scgd * Copyright 2010 VMware, Inc. 41.1Scgd * All Rights Reserved. 51.1Scgd * 61.1Scgd * Permission is hereby granted, free of charge, to any person obtaining a 71.1Scgd * copy of this software and associated documentation files (the 81.1Scgd * "Software"), to deal in the Software without restriction, including 91.1Scgd * without limitation the rights to use, copy, modify, merge, publish, 101.1Scgd * distribute, sub license, and/or sell copies of the Software, and to 111.1Scgd * permit persons to whom the Software is furnished to do so, subject to 121.1Scgd * the following conditions: 131.1Scgd * 141.1Scgd * The above copyright notice and this permission notice (including the 151.1Scgd * next paragraph) shall be included in all copies or substantial portions 161.1Scgd * of the Software. 171.1Scgd * 181.1Scgd * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 191.1Scgd * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 201.1Scgd * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 211.1Scgd * IN NO EVENT SHALL VMWARE AND/OR ITS SUPPLIERS BE LIABLE FOR 221.1Scgd * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 231.1Scgd * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 241.1Scgd * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 251.1Scgd * 261.1Scgd **************************************************************************/ 271.1Scgd 281.1Scgd 291.1Scgd#ifndef U_SAMPLER_H 301.1Scgd#define U_SAMPLER_H 311.1Scgd 321.1Scgd 331.1Scgd#include "pipe/p_defines.h" 341.1Scgd#include "pipe/p_format.h" 351.1Scgd#include "pipe/p_state.h" 361.1Scgd 371.1Scgd#ifdef __cplusplus 381.1Scgdextern "C" { 391.1Scgd#endif 401.4Sthorpej 411.4Sthorpej 421.4Sthorpejvoid 431.4Sthorpeju_sampler_view_default_template(struct pipe_sampler_view *view, 441.4Sthorpej const struct pipe_resource *texture, 451.1Scgd enum pipe_format format); 461.1Scgd 471.1Scgdvoid 481.1Scgdu_sampler_view_default_dx9_template(struct pipe_sampler_view *view, 491.1Scgd const struct pipe_resource *texture, 501.1Scgd enum pipe_format format); 511.1Scgd 521.1Scgd 531.1Scgd#ifdef __cplusplus 541.1Scgd} /* extern "C" { */ 551.1Scgd#endif 561.1Scgd 571.1Scgd#endif /* U_SAMPLER_H */ 581.1Scgd