Path: blob/21.2-virgl/src/gallium/drivers/crocus/crocus_genx_protos.h
4570 views
/*1* Copyright © 2019 Intel Corporation2*3* Permission is hereby granted, free of charge, to any person obtaining a4* copy of this software and associated documentation files (the "Software"),5* to deal in the Software without restriction, including without limitation6* the rights to use, copy, modify, merge, publish, distribute, sublicense,7* and/or sell copies of the Software, and to permit persons to whom the8* Software is furnished to do so, subject to the following conditions:9*10* The above copyright notice and this permission notice shall be included11* in all copies or substantial portions of the Software.12*13* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS14* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,15* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL16* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER17* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING18* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER19* DEALINGS IN THE SOFTWARE.20*/2122/* GenX-specific function declarations.23*24* Don't include this directly, it will be included by crocus_context.h.25*26* NOTE: This header can be included multiple times, from the same file.27*/2829/* crocus_state.c */30void genX(crocus_init_state)(struct crocus_context *ice);31void genX(crocus_init_screen_state)(struct crocus_screen *screen);32void genX(crocus_upload_urb)(struct crocus_batch *batch,33unsigned vs_size,34bool gs_present,35unsigned gs_size);36void genX(crocus_update_pma_fix)(struct crocus_context *ice,37struct crocus_batch *batch,38bool enable);39/* crocus_blorp.c */40void genX(crocus_init_blorp)(struct crocus_context *ice);4142/* crocus_query.c */43void genX(crocus_init_query)(struct crocus_context *ice);44void genX(crocus_init_screen_query)(struct crocus_screen *screen);4546/* crocus_blt.c */47void genX(crocus_init_blt)(struct crocus_screen *screen);484950