mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 03:48:06 +02:00
hasvk: remove dead code & comments related to mesh shading
Reviewed-by: Ivan Briano <ivan.briano@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24071>
This commit is contained in:
parent
55e75d89e3
commit
ed72d6e2a7
3 changed files with 2 additions and 10 deletions
|
|
@ -87,9 +87,7 @@ upload_blorp_shader(struct blorp_batch *batch, uint32_t stage,
|
|||
void
|
||||
anv_device_init_blorp(struct anv_device *device)
|
||||
{
|
||||
const struct blorp_config config = {
|
||||
.use_mesh_shading = device->physical->vk.supported_extensions.NV_mesh_shader,
|
||||
};
|
||||
const struct blorp_config config = {};
|
||||
|
||||
blorp_init(&device->blorp, device, &device->isl_dev, &config);
|
||||
device->blorp.compiler = device->physical->compiler;
|
||||
|
|
|
|||
|
|
@ -350,10 +350,7 @@ anv_cmd_buffer_bind_descriptor_set(struct anv_cmd_buffer *cmd_buffer,
|
|||
|
||||
switch (bind_point) {
|
||||
case VK_PIPELINE_BIND_POINT_GRAPHICS:
|
||||
stages &= VK_SHADER_STAGE_ALL_GRAPHICS |
|
||||
(cmd_buffer->device->vk.enabled_extensions.NV_mesh_shader ?
|
||||
(VK_SHADER_STAGE_TASK_BIT_NV |
|
||||
VK_SHADER_STAGE_MESH_BIT_NV) : 0);
|
||||
stages &= VK_SHADER_STAGE_ALL_GRAPHICS;
|
||||
pipe_state = &cmd_buffer->state.gfx.base;
|
||||
break;
|
||||
|
||||
|
|
|
|||
|
|
@ -346,9 +346,6 @@ emit_3dstate_sbe(struct anv_graphics_pipeline *pipeline)
|
|||
|
||||
struct GENX(3DSTATE_SBE) sbe = {
|
||||
GENX(3DSTATE_SBE_header),
|
||||
/* TODO(mesh): Figure out cases where we need attribute swizzling. See also
|
||||
* calculate_urb_setup() and related functions.
|
||||
*/
|
||||
.AttributeSwizzleEnable = anv_pipeline_is_primitive(pipeline),
|
||||
.PointSpriteTextureCoordinateOrigin = UPPERLEFT,
|
||||
.NumberofSFOutputAttributes = wm_prog_data->num_varying_inputs,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue