Home
last modified time | relevance | path

Searched refs:tcs (Results 1 – 25 of 133) sorted by relevance

123456

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_ts.c41 struct svga_tcs_shader *tcs, in compile_tcs() argument
48 variant = svga_tgsi_vgpu10_translate(svga, &tcs->base, key, in compile_tcs()
68 struct svga_tcs_shader *tcs = svga->curr.tcs; in make_tcs_key() local
75 svga_init_shader_key_common(svga, PIPE_SHADER_TESS_CTRL, &tcs->base, key); in make_tcs_key()
78 key->tcs.vertices_per_patch = svga->curr.vertices_per_patch; in make_tcs_key()
87 key->tcs.prim_mode = tes->prim_mode; in make_tcs_key()
88 key->tcs.spacing = tes->spacing; in make_tcs_key()
89 key->tcs.vertices_order_cw = tes->vertices_order_cw; in make_tcs_key()
90 key->tcs.point_mode = tes->point_mode; in make_tcs_key()
98 key->tcs.vertices_out = tes->base.key.tes.vertices_per_patch; in make_tcs_key()
[all …]
Dsvga_pipe_ts.c55 struct svga_tcs_shader *tcs; in svga_create_tcs_state() local
57 tcs = CALLOC_STRUCT(svga_tcs_shader); in svga_create_tcs_state()
58 if (!tcs) in svga_create_tcs_state()
63 tcs->base.tokens = tgsi_dup_tokens(templ->tokens); in svga_create_tcs_state()
67 tgsi_scan_shader(tcs->base.tokens, &tcs->base.info); in svga_create_tcs_state()
69 tcs->base.id = svga->debug.shader_id++; in svga_create_tcs_state()
71 tcs->generic_outputs = svga_get_generic_outputs_mask(&tcs->base.info); in svga_create_tcs_state()
74 return tcs; in svga_create_tcs_state()
81 struct svga_tcs_shader *tcs = (struct svga_tcs_shader *) shader; in svga_bind_tcs_state() local
84 if (tcs == svga->curr.tcs) in svga_bind_tcs_state()
[all …]
Dsvga_tgsi_vgpu10.c364 } tcs; member
1296 if (index == emit->tcs.inner.tgsi_index) { in emit_dst_register()
1301 if (emit->tcs.control_point_phase) { in emit_dst_register()
1307 index = emit->tcs.inner.temp_index; in emit_dst_register()
1310 else if (index == emit->tcs.outer.tgsi_index) { in emit_dst_register()
1315 if (emit->tcs.control_point_phase) { in emit_dst_register()
1321 index = emit->tcs.outer.temp_index; in emit_dst_register()
1324 else if (index >= emit->tcs.patch_generic_out_index && in emit_dst_register()
1325 index < (emit->tcs.patch_generic_out_index + in emit_dst_register()
1326 emit->tcs.patch_generic_out_count)) { in emit_dst_register()
[all …]
Dsvga_state_tgsi_transform.c421 struct svga_tcs_shader *tcs = svga->curr.tcs; /* currently bound tcs */ in update_tgsi_transform() local
441 if (tcs && has_dynamic_indexing(&tcs->base.info)) { in update_tgsi_transform()
442 transform_dynamic_indexing(svga, &tcs->base); in update_tgsi_transform()
Dsvga_shader.c648 svga->rebind.flags.tcs = 0; in svga_rebind_shaders()
675 if (svga->rebind.flags.tcs && hw->tcs && hw->tcs->gb_shader) { in svga_rebind_shaders()
676 ret = swc->resource_rebind(swc, NULL, hw->tcs->gb_shader, SVGA_RELOC_READ); in svga_rebind_shaders()
680 svga->rebind.flags.tcs = 0; in svga_rebind_shaders()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_tcs_surface_state.c41 struct brw_stage_state *stage_state = &brw->tcs.base; in brw_upload_tcs_pull_constants()
51 const struct brw_stage_prog_data *prog_data = brw->tcs.base.prog_data; in brw_upload_tcs_pull_constants()
79 struct brw_stage_prog_data *prog_data = brw->tcs.base.prog_data; in brw_upload_tcs_ubo_surfaces()
81 brw_upload_ubo_surfaces(brw, prog, &brw->tcs.base, prog_data); in brw_upload_tcs_ubo_surfaces()
102 brw_upload_image_surfaces(brw, tcp, &brw->tcs.base, in brw_upload_tcs_image_surfaces()
103 brw->tcs.base.prog_data); in brw_upload_tcs_image_surfaces()
Dbrw_tcs.c44 struct brw_stage_state *stage_state = &brw->tcs.base; in brw_codegen_tcs_prog()
152 &stage_state->prog_offset, &brw->tcs.base.prog_data); in brw_codegen_tcs_prog()
203 struct brw_stage_state *stage_state = &brw->tcs.base; in brw_upload_tcs_prog()
221 &stage_state->prog_offset, &brw->tcs.base.prog_data, in brw_upload_tcs_prog()
276 uint32_t old_prog_offset = brw->tcs.base.prog_offset; in brw_tcs_precompile()
277 struct brw_stage_prog_data *old_prog_data = brw->tcs.base.prog_data; in brw_tcs_precompile()
289 brw->tcs.base.prog_offset = old_prog_offset; in brw_tcs_precompile()
290 brw->tcs.base.prog_data = old_prog_data; in brw_tcs_precompile()
Dbrw_disk_cache.c99 brw_tcs_populate_key(brw, &prog_key.tcs); in read_and_upload()
175 stage_state = &brw->tcs.base; in read_and_upload()
327 write_program_data(brw, prog, &tcs_key, brw->tcs.base.prog_data, in brw_disk_cache_write_render_programs()
328 brw->tcs.base.prog_offset, cache, in brw_disk_cache_write_render_programs()
Dbrw_link.cpp50 struct gl_linked_shader *tcs = sh_prog->_LinkedShaders[MESA_SHADER_TESS_CTRL]; in brw_shader_precompile() local
65 if (tcs && !brw_tcs_precompile(ctx, sh_prog, tcs->Program)) in brw_shader_precompile()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_tess.c78 llvmpipe_bind_tcs_state(struct pipe_context *pipe, void *tcs) in llvmpipe_bind_tcs_state() argument
82 llvmpipe->tcs = (struct lp_tess_ctrl_shader *)tcs; in llvmpipe_bind_tcs_state()
85 (llvmpipe->tcs ? llvmpipe->tcs->dtcs : NULL)); in llvmpipe_bind_tcs_state()
92 llvmpipe_delete_tcs_state(struct pipe_context *pipe, void *tcs) in llvmpipe_delete_tcs_state() argument
97 (struct lp_tess_ctrl_shader *)tcs; in llvmpipe_delete_tcs_state()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_tess.c422 struct draw_tess_ctrl_shader *tcs; in draw_create_tess_ctrl_shader() local
431 tcs = &llvm_tcs->base; in draw_create_tess_ctrl_shader()
437 tcs = CALLOC_STRUCT(draw_tess_ctrl_shader); in draw_create_tess_ctrl_shader()
440 if (!tcs) in draw_create_tess_ctrl_shader()
443 tcs->draw = draw; in draw_create_tess_ctrl_shader()
444 tcs->state = *state; in draw_create_tess_ctrl_shader()
446 nir_tgsi_scan_shader(state->ir.nir, &tcs->info, true); in draw_create_tess_ctrl_shader()
448 tcs->vector_length = 4; in draw_create_tess_ctrl_shader()
449 tcs->vertices_out = tcs->info.properties[TGSI_PROPERTY_TCS_VERTICES_OUT]; in draw_create_tess_ctrl_shader()
453 tcs->tcs_input = align_malloc(sizeof(struct draw_tcs_inputs), 16); in draw_create_tess_ctrl_shader()
[all …]
Ddraw_pt_fetch_shade_pipeline_llvm.c147 struct draw_tess_ctrl_shader *tcs = draw->tcs.tess_ctrl_shader; in llvm_middle_end_prepare_tcs() local
151 struct llvm_tess_ctrl_shader *shader = llvm_tess_ctrl_shader(tcs); in llvm_middle_end_prepare_tcs()
209 tcs->current_variant = variant; in llvm_middle_end_prepare_tcs()
298 struct draw_tess_ctrl_shader *tcs = draw->tcs.tess_ctrl_shader; in llvm_middle_end_prepare() local
416 if (tcs) { in llvm_middle_end_prepare()
571 struct draw_tess_ctrl_shader *tcs_shader = draw->tcs.tess_ctrl_shader; in llvm_pipeline_generic()
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Sparc/
Dsparc-v9-traps.s108 ! CHECK: tcs %icc, %i5 ! encoding: [0x8b,0xd0,0x00,0x1d]
109 ! CHECK: tcs %icc, 82 ! encoding: [0x8b,0xd0,0x20,0x52]
110 ! CHECK: tcs %icc, %g1 + %i2 ! encoding: [0x8b,0xd0,0x40,0x1a]
111 ! CHECK: tcs %icc, %i5 + 41 ! encoding: [0x8b,0xd7,0x60,0x29]
112 tcs %icc, %i5
113 tcs %icc, 82
114 tcs %icc, %g1 + %i2
115 tcs %icc, %i5 + 41
259 ! CHECK: tcs %xcc, %i5 ! encoding: [0x8b,0xd0,0x10,0x1d]
260 ! CHECK: tcs %xcc, 82 ! encoding: [0x8b,0xd0,0x30,0x52]
[all …]
Dsparc-traps.s108 ! CHECK: tcs %i5 ! encoding: [0x8b,0xd0,0x00,0x1d]
109 ! CHECK: tcs 82 ! encoding: [0x8b,0xd0,0x20,0x52]
110 ! CHECK: tcs %g1 + %i2 ! encoding: [0x8b,0xd0,0x40,0x1a]
111 ! CHECK: tcs %i5 + 41 ! encoding: [0x8b,0xd7,0x60,0x29]
112 tcs %i5
113 tcs 82
114 tcs %g1 + %i2
115 tcs %i5 + 41
/external/llvm/test/MC/Sparc/
Dsparc-v9-traps.s108 ! CHECK: tcs %icc, %i5 ! encoding: [0x8b,0xd0,0x00,0x1d]
109 ! CHECK: tcs %icc, 82 ! encoding: [0x8b,0xd0,0x20,0x52]
110 ! CHECK: tcs %icc, %g1 + %i2 ! encoding: [0x8b,0xd0,0x40,0x1a]
111 ! CHECK: tcs %icc, %i5 + 41 ! encoding: [0x8b,0xd7,0x60,0x29]
112 tcs %icc, %i5
113 tcs %icc, 82
114 tcs %icc, %g1 + %i2
115 tcs %icc, %i5 + 41
259 ! CHECK: tcs %xcc, %i5 ! encoding: [0x8b,0xd0,0x10,0x1d]
260 ! CHECK: tcs %xcc, 82 ! encoding: [0x8b,0xd0,0x30,0x52]
[all …]
Dsparc-traps.s108 ! CHECK: tcs %i5 ! encoding: [0x8b,0xd0,0x00,0x1d]
109 ! CHECK: tcs 82 ! encoding: [0x8b,0xd0,0x20,0x52]
110 ! CHECK: tcs %g1 + %i2 ! encoding: [0x8b,0xd0,0x40,0x1a]
111 ! CHECK: tcs %i5 + 41 ! encoding: [0x8b,0xd7,0x60,0x29]
112 tcs %i5
113 tcs 82
114 tcs %g1 + %i2
115 tcs %i5 + 41
/external/grpc-grpc/src/csharp/Grpc.Core/
DChannel.cs128 var tcs = (TaskCompletionSource<bool>) state;
129 tcs.SetResult(success);
154 var tcs = new TaskCompletionSource<bool>(); in TryWaitForStateChangedAsync()
167 …ityState(lastObservedState, deadlineTimespec, completionQueue, WatchConnectivityStateHandler, tcs); in TryWaitForStateChangedAsync()
170 return tcs.Task; in TryWaitForStateChangedAsync()
/external/deqp/external/openglcts/docs/specs/
DCTS_ARB_shader_viewport_layer_array.txt46 b) vertex + tcs + tes + fragment
47 c) vertex + tcs + tes + geometry + fragment
58 b) vertex + tcs + tes + fragment
59 c) vertex + tcs + tes + geometry + fragment
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DQpsWorker.cs69 var tcs = new TaskCompletionSource<object>(); in RunAsync()
70 … var workerServiceImpl = new WorkerServiceImpl(() => { Task.Run(() => tcs.SetResult(null)); }); in RunAsync()
80 await tcs.Task; in RunAsync()
/external/deqp/external/openglcts/modules/gl/
Dgl4cProgramInterfaceQueryTests.cpp3828 const GLuint tcs = CreateShaderProgram(GL_TESS_CONTROL_SHADER, 1, &srcTCS); in Run() local
3831 VerifyGetProgramInterfaceiv(tcs, GL_PROGRAM_INPUT, GL_MAX_NAME_LENGTH, 16, error); in Run()
3832 VerifyGetProgramInterfaceiv(tcs, GL_PROGRAM_INPUT, GL_ACTIVE_RESOURCES, 5, error); in Run()
3836 …VerifyGetProgramResourceIndex(tcs, GL_PROGRAM_OUTPUT, indicesO, "gl_PerVertex.gl_Position", error); in Run()
3837 VerifyGetProgramResourceIndex(tcs, GL_PROGRAM_OUTPUT, indicesO, "data", error); in Run()
3838 VerifyGetProgramResourceIndex(tcs, GL_PROGRAM_INPUT, indicesI, "Color.r", error); in Run()
3839 VerifyGetProgramResourceIndex(tcs, GL_PROGRAM_INPUT, indicesI, "Color.g", error); in Run()
3840 VerifyGetProgramResourceIndex(tcs, GL_PROGRAM_INPUT, indicesI, "Color.b", error); in Run()
3841 VerifyGetProgramResourceIndex(tcs, GL_PROGRAM_INPUT, indicesI, "Color.iLikePie", error); in Run()
3843 VerifyGetProgramResourceName(tcs, GL_PROGRAM_OUTPUT, indicesO["gl_PerVertex.gl_Position"], in Run()
[all …]
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/
DAsyncCall.cs440 var tcs = new TaskCompletionSource<object>(); in CheckSendAllowedOrEarlyResult()
441tcs.SetException(new RpcException(finishedStatus.Value.Status, finishedStatus.Value.Trailers)); in CheckSendAllowedOrEarlyResult()
442 return tcs.Task; in CheckSendAllowedOrEarlyResult()
456 var tcs = new TaskCompletionSource<object>(); in CheckSendPreconditionsClientSide()
457 tcs.SetCanceled(); in CheckSendPreconditionsClientSide()
458 return tcs.Task; in CheckSendPreconditionsClientSide()
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/
DTimeoutsTest.cs125 var tcs = new TaskCompletionSource<object>(); in ServerReceivesCancellationOnTimeout()
126 context.CancellationToken.Register(() => { tcs.SetResult(null); }); in ServerReceivesCancellationOnTimeout()
127 await tcs.Task; in ServerReceivesCancellationOnTimeout()
/external/mesa3d/.gitlab-ci/piglit/
Dquick_gl.txt230 spec/!opengl 2.0/vertex-program-two-side back back2/tcs-out, tes and fs: skip
233 spec/!opengl 2.0/vertex-program-two-side back back2/vs, tcs, tes and fs: skip
235 spec/!opengl 2.0/vertex-program-two-side back front2 back2/tcs-out, tes and fs: skip
238 spec/!opengl 2.0/vertex-program-two-side back front2 back2/vs, tcs, tes and fs: skip
240 spec/!opengl 2.0/vertex-program-two-side back front2/tcs-out, tes and fs: skip
243 spec/!opengl 2.0/vertex-program-two-side back front2/vs, tcs, tes and fs: skip
245 spec/!opengl 2.0/vertex-program-two-side back2/tcs-out, tes and fs: skip
248 spec/!opengl 2.0/vertex-program-two-side back2/vs, tcs, tes and fs: skip
250 spec/!opengl 2.0/vertex-program-two-side back/tcs-out, tes and fs: skip
253 spec/!opengl 2.0/vertex-program-two-side back/vs, tcs, tes and fs: skip
[all …]
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_shader_tcs.cpp12 sh->scratch_space_needed, chip_class, key.tcs.first_atomic_counter), in TcsShaderFromNir()
15 sh_info().tcs_prim_mode = key.tcs.prim_mode; in TcsShaderFromNir()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_state.cpp468 const struct pipe_shader_state *tcs) in swr_create_tcs_state() argument
474 swr_tcs->pipe.tokens = tgsi_dup_tokens(tcs->tokens); in swr_create_tcs_state()
475 lp_build_tgsi_info(tcs->tokens, &swr_tcs->info); in swr_create_tcs_state()
480 swr_bind_tcs_state(struct pipe_context *pipe, void *tcs) in swr_bind_tcs_state() argument
484 if (ctx->tcs == tcs) in swr_bind_tcs_state()
487 ctx->tcs = (swr_tess_control_shader *)tcs; in swr_bind_tcs_state()
493 swr_delete_tcs_state(struct pipe_context *pipe, void *tcs) in swr_delete_tcs_state() argument
495 struct swr_tess_control_shader *swr_tcs = (swr_tess_control_shader *)tcs; in swr_delete_tcs_state()
1152 else if (ctx->tcs) { in swr_get_last_fe()
1153 pLastFE = &ctx->tcs->info.base; in swr_get_last_fe()
[all …]

123456