Home
last modified time | relevance | path

Searched refs:emit_ctx (Results 1 – 1 of 1) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_gs_variant.cpp140 d3d12_begin_emit_primitives_gs(struct emit_primitives_context *emit_ctx, in d3d12_begin_emit_primitives_gs() argument
146 nir_builder *b = &emit_ctx->b; in d3d12_begin_emit_primitives_gs()
151 emit_ctx->ctx = ctx; in d3d12_begin_emit_primitives_gs()
153 emit_ctx->b = nir_builder_init_simple_shader(MESA_SHADER_GEOMETRY, in d3d12_begin_emit_primitives_gs()
171 snprintf(tmp, ARRAY_SIZE(tmp), "in_%d", emit_ctx->num_vars); in d3d12_begin_emit_primitives_gs()
172 emit_ctx->in[emit_ctx->num_vars] = nir_variable_create(nir, in d3d12_begin_emit_primitives_gs()
176 emit_ctx->in[emit_ctx->num_vars]->data.location = i; in d3d12_begin_emit_primitives_gs()
177emit_ctx->in[emit_ctx->num_vars]->data.driver_location = key->varyings.vars[i].driver_location; in d3d12_begin_emit_primitives_gs()
178 emit_ctx->in[emit_ctx->num_vars]->data.interpolation = key->varyings.vars[i].interpolation; in d3d12_begin_emit_primitives_gs()
182 edgeflag_var = emit_ctx->in[emit_ctx->num_vars]; in d3d12_begin_emit_primitives_gs()
[all …]