Path: blob/21.2-virgl/src/gallium/drivers/iris/iris_genx_protos.h
4565 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 iris_context.h.25*26* NOTE: This header can be included multiple times, from the same file.27*/2829/* iris_state.c */30void genX(init_state)(struct iris_context *ice);31void genX(init_screen_state)(struct iris_screen *screen);32void genX(emit_hashing_mode)(struct iris_context *ice,33struct iris_batch *batch,34unsigned width, unsigned height,35unsigned scale);36void genX(update_pma_fix)(struct iris_context *ice,37struct iris_batch *batch,38bool enable);3940void genX(invalidate_aux_map_state)(struct iris_batch *batch);4142/* iris_blorp.c */43void genX(init_blorp)(struct iris_context *ice);4445/* iris_query.c */46void genX(init_query)(struct iris_context *ice);47void genX(math_add32_gpr0)(struct iris_context *ice,48struct iris_batch *batch,49uint32_t x);50void genX(math_div32_gpr0)(struct iris_context *ice,51struct iris_batch *batch,52uint32_t D);53545556