/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_genX.h | 43 extern const uint32_t genX(vk_to_intel_cullmode)[]; 45 extern const uint32_t genX(vk_to_intel_front_face)[]; 47 extern const uint32_t genX(vk_to_intel_primitive_type)[]; 49 extern const uint32_t genX(vk_to_intel_compare_op)[]; 51 extern const uint32_t genX(vk_to_intel_stencil_op)[]; 53 extern const uint32_t genX(vk_to_intel_logic_op)[]; 55 void genX(init_physical_device_state)(struct anv_physical_device *device); 57 VkResult genX(init_device_state)(struct anv_device *device); 59 void genX(init_cps_device_state)(struct anv_device *device); 61 void genX(cmd_buffer_emit_state_base_addres [all...] |
H A D | gfx7_cmd_buffer.c | 60 genX(cmd_buffer_flush_dynamic_state)(struct anv_cmd_buffer *cmd_buffer) in cmd_buffer_flush_dynamic_state() 78 genX(raster_polygon_mode)(cmd_buffer->state.gfx.pipeline, in cmd_buffer_flush_dynamic_state() 81 genX(ms_rasterization_mode)(pipeline, dynamic_raster_mode); in cmd_buffer_flush_dynamic_state() 92 .CullMode = genX(vk_to_intel_cullmode)[dyn->rs.cull_mode], in cmd_buffer_flush_dynamic_state() 93 .FrontWinding = genX(vk_to_intel_front_face)[dyn->rs.front_face], in cmd_buffer_flush_dynamic_state() 168 .DepthTestFunction = genX(vk_to_intel_compare_op)[opt_ds.depth.compare_op], in cmd_buffer_flush_dynamic_state() 171 .StencilFailOp = genX(vk_to_intel_stencil_op)[opt_ds.stencil.front.op.fail], in cmd_buffer_flush_dynamic_state() 172 .StencilPassDepthPassOp = genX(vk_to_intel_stencil_op)[opt_ds.stencil.front.op.pass], in cmd_buffer_flush_dynamic_state() 173 .StencilPassDepthFailOp = genX(vk_to_intel_stencil_op)[opt_ds.stencil.front.op.depth_fail], in cmd_buffer_flush_dynamic_state() 174 .StencilTestFunction = genX(vk_to_intel_compare_o in cmd_buffer_flush_dynamic_state() [all...] |
H A D | gfx8_cmd_buffer.c | 36 genX(cmd_buffer_enable_pma_fix)(struct anv_cmd_buffer *cmd_buffer, bool enable) in cmd_buffer_enable_pma_fix() 316 genX(cmd_buffer_flush_dynamic_state)(struct anv_cmd_buffer *cmd_buffer) in cmd_buffer_flush_dynamic_state() 325 genX(emit_shading_rate)(&cmd_buffer->batch, pipeline, &dyn->fsr); in cmd_buffer_flush_dynamic_state() 362 genX(raster_polygon_mode)(cmd_buffer->state.gfx.pipeline, in cmd_buffer_flush_dynamic_state() 365 genX(rasterization_mode)(dynamic_raster_mode, in cmd_buffer_flush_dynamic_state() 378 .CullMode = genX(vk_to_intel_cullmode)[dyn->rs.cull_mode], in cmd_buffer_flush_dynamic_state() 379 .FrontWinding = genX(vk_to_intel_front_face)[dyn->rs.front_face], in cmd_buffer_flush_dynamic_state() 449 ds.DepthTestFunction = genX(vk_to_intel_compare_op)[opt_ds.depth.compare_op]; in cmd_buffer_flush_dynamic_state() 452 ds.StencilFailOp = genX(vk_to_intel_stencil_op)[opt_ds.stencil.front.op.fail]; in cmd_buffer_flush_dynamic_state() 453 ds.StencilPassDepthPassOp = genX(vk_to_intel_stencil_o in cmd_buffer_flush_dynamic_state() [all...] |
H A D | genX_blorp_exec.c | 236 genX(cmd_buffer_set_binding_for_gfx8_vb_flush)(cmd_buffer, in blorp_vf_invalidate_for_vb_48b_transitions() 240 genX(cmd_buffer_apply_pipe_flushes)(cmd_buffer); in blorp_vf_invalidate_for_vb_48b_transitions() 246 genX(cmd_buffer_update_dirty_vbs_for_gfx8_vb_flush)(cmd_buffer, SEQUENTIAL, in blorp_vf_invalidate_for_vb_48b_transitions() 285 genX(cmd_buffer_emit_hashing_mode)(cmd_buffer, params->x1 - params->x0, in blorp_exec_on_render() 305 genX(cmd_buffer_emit_gfx12_depth_wa)(cmd_buffer, ¶ms->depth.surf); in blorp_exec_on_render() 307 genX(flush_pipeline_select_3d)(cmd_buffer); in blorp_exec_on_render() 310 genX(cmd_buffer_apply_pipe_flushes)(cmd_buffer); in blorp_exec_on_render() 312 genX(cmd_buffer_emit_gfx7_depth_flush)(cmd_buffer); in blorp_exec_on_render() 317 genX(cmd_buffer_enable_pma_fix)(cmd_buffer, false); in blorp_exec_on_render() 371 genX(flush_pipeline_select_gpgp in blorp_exec_on_compute() [all...] |
H A D | genX_gpu_memcpy.c | 95 genX(emit_urb_setup)(device, batch, l3_config, in emit_common_so_memcpy() 238 genX(emit_so_memcpy_init)(struct anv_memcpy_state *state, in emit_so_memcpy_init() 248 genX(emit_l3_config)(batch, device, cfg); in emit_so_memcpy_init() 262 genX(emit_so_memcpy_fini)(struct anv_memcpy_state *state) in emit_so_memcpy_fini() 264 genX(emit_apply_pipe_flushes)(state->batch, state->device, _3D, in emit_so_memcpy_fini() 274 genX(emit_so_memcpy)(struct anv_memcpy_state *state, in emit_so_memcpy() 283 genX(emit_apply_pipe_flushes)(state->batch, state->device, _3D, in emit_so_memcpy() 293 genX(cmd_buffer_so_memcpy)(struct anv_cmd_buffer *cmd_buffer, in cmd_buffer_so_memcpy() 303 genX(cmd_buffer_config_l3)(cmd_buffer, cfg); in cmd_buffer_so_memcpy() 306 genX(cmd_buffer_set_binding_for_gfx8_vb_flus in cmd_buffer_so_memcpy() [all...] |
H A D | genX_cmd_buffer.c | 56 static void genX(flush_pipeline_select)(struct anv_cmd_buffer *cmd_buffer, 98 genX(cmd_buffer_emit_state_base_address)(struct anv_cmd_buffer *cmd_buffer) in cmd_buffer_emit_state_base_address() 146 genX(flush_pipeline_select_3d)(cmd_buffer); in cmd_buffer_emit_state_base_address() 235 genX(flush_pipeline_select)(cmd_buffer, gfx12_wa_pipeline); in cmd_buffer_emit_state_base_address() 547 genX(cmd_buffer_apply_pipe_flushes)(cmd_buffer); in anv_image_init_aux_tt() 1027 genX(cmd_buffer_mark_image_written)(struct anv_cmd_buffer *cmd_buffer, in cmd_buffer_mark_image_written() 1106 genX(copy_fast_clear_dwords)(struct anv_cmd_buffer *cmd_buffer, in copy_fast_clear_dwords() 1145 genX(cmd_buffer_apply_pipe_flushes)(cmd_buffer); in copy_fast_clear_dwords() 1617 genX(BeginCommandBuffer)( in BeginCommandBuffer() 1657 genX(cmd_buffer_emit_state_base_addres in BeginCommandBuffer() [all...] |
H A D | genX_query.c | 62 VkResult genX(CreateQueryPool)( in CreateQueryPool() 240 void genX(DestroyQueryPool)( in DestroyQueryPool() 437 VkResult genX(GetQueryPoolResults)( in GetQueryPoolResults() 617 genX(cmd_buffer_apply_pipe_flushes)(cmd_buffer); in emit_ps_depth_count() 644 genX(cmd_buffer_apply_pipe_flushes)(cmd_buffer); in emit_query_pc_availability() 724 void genX(CmdResetQueryPool)( in CmdResetQueryPool() 755 genX(cmd_buffer_apply_pipe_flushes)(cmd_buffer); in CmdResetQueryPool() 801 void genX(ResetQueryPool)( in ResetQueryPool() 907 void genX(CmdBeginQuery)( in CmdBeginQuery() 913 genX(CmdBeginQueryIndexedEX in CmdBeginQuery() [all...] |
H A D | genX_state.c | 42 genX(emit_slice_hashing_state)(struct anv_device *device, in emit_slice_hashing_state() 172 genX(emit_l3_config)(batch, device, cfg); in init_common_queue_state() 275 genX(emit_sample_pattern)(&batch, NULL); in init_render_queue_state() 314 genX(emit_slice_hashing_state)(device, &batch); in init_render_queue_state() 454 genX(init_physical_device_state)(ASSERTED struct anv_physical_device *device) in init_physical_device_state() 460 genX(init_device_state)(struct anv_device *device) in init_device_state() 499 genX(init_cps_device_state)(struct anv_device *device) in init_cps_device_state() 591 genX(emit_l3_config)(struct anv_batch *batch, in emit_l3_config() 713 genX(emit_multisample)(struct anv_batch *batch, uint32_t samples, in emit_multisample() 758 genX(emit_sample_patter [all...] |
H A D | genX_pipeline.c | 270 genX(emit_urb_setup)(struct anv_device *device, struct anv_batch *batch, in emit_urb_setup() 386 genX(emit_urb_setup)(pipeline->base.device, &pipeline->base.batch, in emit_urb_setup() 571 genX(raster_polygon_mode)(struct anv_graphics_pipeline *pipeline, in raster_polygon_mode() 643 genX(ms_rasterization_mode)(struct anv_graphics_pipeline *pipeline, in ms_rasterization_mode() 668 const uint32_t genX(vk_to_intel_cullmode)[] = { 675 const uint32_t genX(vk_to_intel_fillmode)[] = { 681 const uint32_t genX(vk_to_intel_front_face)[] = { 687 genX(rasterization_mode)(VkPolygonMode raster_mode, in rasterization_mode() 819 raster.FrontFaceFillMode = genX(vk_to_intel_fillmode)[rs->polygon_mode]; in emit_rs_state() 820 raster.BackFaceFillMode = genX(vk_to_intel_fillmod in emit_rs_state() [all...] |
H A D | anv_private.h | 2773 * genX(cmd_buffer_apply_pipe_flushes). 2781 * genX(cmd_buffer_emit_hashing_mode)(). 4319 #ifdef genX 4322 # define genX(x) gfx7_##x 4324 # undef genX 4325 # define genX(x) gfx75_##x 4327 # undef genX 4328 # define genX(x) gfx8_##x 4330 # undef genX 4331 # define genX( [all...] |
/third_party/mesa3d/src/intel/isl/ |
H A D | isl_priv.h | 200 /* This is useful for adding the isl_prefix to genX functions */ 203 #define isl_genX(x) __PASTE(isl_, genX(x)) 205 #ifdef genX 208 # define genX(x) gfx4_##x macro 210 # undef genX macro 211 # define genX(x) gfx5_##x macro 213 # undef genX macro 214 # define genX(x) gfx6_##x macro 216 # undef genX macro 217 # define genX( macro 219 # undef genX global() macro 220 # define genX global() macro 222 # undef genX global() macro 223 # define genX global() macro 225 # undef genX global() macro 226 # define genX global() macro 228 # undef genX global() macro 229 # define genX global() macro 231 # undef genX global() macro 232 # define genX global() macro 234 # undef genX global() macro 235 # define genX global() macro 237 # undef genX global() macro [all...] |
/third_party/mesa3d/src/intel/genxml/ |
H A D | gen_macros.h | 29 * The prefixing macros GENX() and genX() automatically prefix whatever you 64 # define genX(x) gfx4_##x macro 67 # define genX(x) gfx45_##x macro 70 # define genX(x) gfx5_##x macro 73 # define genX(x) gfx6_##x macro 76 # define genX(x) gfx7_##x macro 79 # define genX(x) gfx75_##x macro 82 # define genX(x) gfx8_##x macro 85 # define genX(x) gfx9_##x macro 88 # define genX( macro 91 # define genX global() macro 94 # define genX global() macro [all...] |
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_context.h | 850 /** Last rendering scale argument provided to genX(emit_hashing_mode). */ 1091 #ifdef genX 1094 # define genX(x) gfx4_##x macro 1096 # undef genX macro 1097 # define genX(x) gfx5_##x macro 1099 # undef genX macro 1100 # define genX(x) gfx6_##x macro 1102 # undef genX macro 1103 # define genX(x) gfx7_##x macro 1105 # undef genX macro 1106 # define genX global() macro 1108 # undef genX global() macro 1109 # define genX global() macro 1111 # undef genX global() macro 1112 # define genX global() macro 1114 # undef genX global() macro 1115 # define genX global() macro 1117 # undef genX global() macro 1118 # define genX global() macro 1120 # undef genX global() macro 1121 # define genX global() macro 1123 # undef genX global() macro [all...] |
H A D | iris_blorp.c | 305 genX(emit_depth_state_workarounds)(ice, batch, ¶ms->depth.surf); in iris_blorp_exec_render() 320 genX(update_pma_fix)(ice, batch, false); in iris_blorp_exec_render() 325 genX(emit_hashing_mode)(ice, batch, params->x1 - params->x0, in iris_blorp_exec_render() 337 genX(invalidate_aux_map_state)(batch); in iris_blorp_exec_render() 488 genX(init_blorp)(struct iris_context *ice) in init_blorp()
|
H A D | iris_state.c | 1752 genX(update_pma_fix)(struct iris_context *ice, in update_pma_fix() 5557 genX(invalidate_aux_map_state)(struct iris_batch *batch) in invalidate_aux_map_state() 5750 genX(emit_depth_state_workarounds)(struct iris_context *ice, in emit_depth_state_workarounds() 6513 genX(emit_depth_state_workarounds)(ice, batch, &zres->surf); in iris_upload_dirty_render_state() 6842 genX(update_pma_fix)(ice, batch, enable); in iris_upload_dirty_render_state() 6847 genX(emit_hashing_mode)(ice, batch, UINT_MAX, UINT_MAX, 1); in iris_upload_dirty_render_state() 6850 genX(invalidate_aux_map_state)(batch); in iris_upload_dirty_render_state() 7378 genX(invalidate_aux_map_state)(batch); in iris_upload_compute_state() 8318 genX(emit_hashing_mode)(struct iris_context *ice, struct iris_batch *batch, in emit_hashing_mode() 8406 genX(init_screen_stat [all...] |
H A D | iris_query.c | 853 genX(init_query)(struct iris_context *ice) in init_query()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_context.h | 978 #ifdef genX 981 # define genX(x) gfx4_##x macro 983 # undef genX macro 984 # define genX(x) gfx45_##x macro 986 # undef genX macro 987 # define genX(x) gfx5_##x macro 989 # undef genX macro 990 # define genX(x) gfx6_##x macro 992 # undef genX macro 993 # define genX( macro 995 # undef genX global() macro 996 # define genX global() macro 998 # undef genX global() macro 999 # define genX global() macro 1001 # undef genX global() macro [all...] |
H A D | crocus_blorp.c | 272 genX(crocus_upload_urb)(batch, vs_entry_size, false, vs_entry_size); in blorp_emit_urb_config() 308 genX(crocus_update_pma_fix)(ice, batch, false); in crocus_blorp_exec() 418 genX(crocus_init_blorp)(struct crocus_context *ice) in crocus_init_blorp()
|
H A D | crocus_query.c | 980 genX(crocus_init_screen_query)(struct crocus_screen *screen) in crocus_init_screen_query() 989 genX(crocus_init_query)(struct crocus_context *ice) in crocus_init_query()
|
H A D | crocus_blt.c | 411 genX(crocus_init_blt)(struct crocus_screen *screen) in crocus_init_blt()
|
H A D | crocus_state.c | 1917 genX(crocus_update_pma_fix)(struct crocus_context *ice, in crocus_update_pma_fix() 6057 genX(crocus_upload_urb)(batch, vs_size, gs_present, gs_size); 7771 genX(crocus_update_pma_fix)(ice, batch, enable); 8913 genX(crocus_upload_urb)(struct crocus_batch *batch, 9184 genX(crocus_init_screen_state)(struct crocus_screen *screen) 9239 genX(crocus_init_blt)(screen); 9243 genX(crocus_init_state)(struct crocus_context *ice)
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/ |
H A D | vktProtectedMemUtils.cpp | 965 deUint64 genX = seed % genM; in fillWithUniqueColors() local 969 if (genX == 0) in fillWithUniqueColors() 970 genX = 1; in fillWithUniqueColors() 980 genX = (genA * genX) % genM; in fillWithUniqueColors() 982 DE_ASSERT(genX != seed); in fillWithUniqueColors() 984 const float r = float(deUint32((genX >> 0) & 0x7F)) / 127.0f; in fillWithUniqueColors() 985 const float g = float(deUint32((genX >> 7) & 0x7F)) / 127.0f; in fillWithUniqueColors() 986 const float b = float(deUint32((genX >> 14) & 0x7F)) / 127.0f; in fillWithUniqueColors()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/ |
H A D | vktProtectedMemUtils.cpp | 965 deUint64 genX = seed % genM; in fillWithUniqueColors() local 969 if (genX == 0) in fillWithUniqueColors() 970 genX = 1; in fillWithUniqueColors() 980 genX = (genA * genX) % genM; in fillWithUniqueColors() 982 DE_ASSERT(genX != seed); in fillWithUniqueColors() 984 const float r = float(deUint32((genX >> 0) & 0x7F)) / 127.0f; in fillWithUniqueColors() 985 const float g = float(deUint32((genX >> 7) & 0x7F)) / 127.0f; in fillWithUniqueColors() 986 const float b = float(deUint32((genX >> 14) & 0x7F)) / 127.0f; in fillWithUniqueColors()
|