Path: blob/21.2-virgl/src/gallium/auxiliary/tgsi/tgsi_dynamic_indexing.h
4565 views
/*1* Copyright 2018 VMware, Inc.2* All Rights Reserved.3*4* Permission is hereby granted, free of charge, to any person obtaining a5* copy of this software and associated documentation files (the6* "Software"), to deal in the Software without restriction, including7* without limitation the rights to use, copy, modify, merge, publish,8* distribute, sub license, and/or sell copies of the Software, and to9* permit persons to whom the Software is furnished to do so, subject to10* the following conditions:11*12* The above copyright notice and this permission notice (including the13* next paragraph) shall be included in all copies or substantial portions14* of the Software.15*16* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS17* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF18* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.19* IN NO EVENT SHALL THE AUTHORS AND/OR ITS SUPPLIERS BE LIABLE FOR20* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,21* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE22* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.23*/2425#ifndef TGSI_DYNAMIC_INDEXING_H26#define TGSI_DYNAMIC_INDEXING_H2728struct tgsi_token;29struct tgsi_shader_info;3031struct tgsi_token *32tgsi_remove_dynamic_indexing(const struct tgsi_token *tokens_in,33unsigned const_buffers_declared,34unsigned samplers_declared,35unsigned imm_count);3637#endif /* TGSI_DYNAMIC_INDEXING_H */383940