Home
last modified time | relevance | path

Searched refs:shader_source (Results 1 – 25 of 122) sorted by relevance

12345

/external/deqp/external/openglcts/modules/gles31/
Des31cArrayOfArraysTests.cpp608 std::string shader_source; in compile_shader_and_get_compilation_result() local
618 shader_source = API::shader_version_gpu5; in compile_shader_and_get_compilation_result()
623 shader_source = API::shader_version; in compile_shader_and_get_compilation_result()
634 shader_source += preamble_cs; in compile_shader_and_get_compilation_result()
637 shader_source += preamble_gs; in compile_shader_and_get_compilation_result()
640 shader_source += preamble_tcs; in compile_shader_and_get_compilation_result()
643 shader_source += preamble_tes; in compile_shader_and_get_compilation_result()
650 shader_source += tested_snippet; in compile_shader_and_get_compilation_result()
724 const char* code_ptr = shader_source.c_str(); in compile_shader_and_get_compilation_result()
787 typename TestCaseBase<API>::TestShaderType tested_shader_type, const std::string& shader_source) in execute_negative_test() argument
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/kernels/
Dpooling.cc38 std::string shader_source = R"( in GetMaxPoolingCode() local
79 return absl::Substitute(shader_source, kernel_size.w, kernel_size.h); in GetMaxPoolingCode()
83 std::string shader_source = R"( in GetMaxPoolingIndicesCode() local
142 return absl::Substitute(shader_source, kernel_size.w, kernel_size.h); in GetMaxPoolingIndicesCode()
146 std::string shader_source = R"( in GetAveragePoolingCode() local
191 return absl::Substitute(shader_source, kernel_size.w, kernel_size.h); in GetAveragePoolingCode()
202 desc->shader_source = generate_indices in PoolingInternal()
206 desc->shader_source = GetAveragePoolingCode(params.kernel); in PoolingInternal()
Dprelu.cc50 desc->shader_source = in PReLU()
56 desc->shader_source = in PReLU()
93 desc->shader_source = in PReLUFull()
99 desc->shader_source = in PReLUFull()
Ddepthwise_conv.cc475 std::string shader_source = R"( in DepthWiseConvolution() local
509 shader_source += R"( in DepthWiseConvolution()
515 shader_source += R"( in DepthWiseConvolution()
523 shader_source += R"( in DepthWiseConvolution()
531 shader_source += R"( in DepthWiseConvolution()
543 shader_source += R"( in DepthWiseConvolution()
554 desc->shader_source = absl::Substitute(shader_source, attr.weights.shape.w, in DepthWiseConvolution()
629 desc->shader_source = GetKernelDepthWiseConv3x3Stride1x1(); in DepthWiseConv3x3Stride1x1()
693 desc->shader_source = GetKernelDepthWiseConv3x3Stride2(); in DepthWiseConv3x3Stride2()
Dtranspose_conv.cc49 std::string shader_source = R"( in GetDeconvolution() local
136 return absl::Substitute(shader_source, src_depth * dst_channels_aligned, in GetDeconvolution()
150 std::string shader_source = R"( in GetDeconvolutionShared() local
273 shader_source, src_depth * dst_channels_aligned, src_depth, dst_depth, in GetDeconvolutionShared()
395 std::string shader_source = R"( in GetDeconvolutionBorder() local
502 return absl::Substitute(shader_source, src_depth * dst_channels_aligned, in GetDeconvolutionBorder()
508 std::string shader_source = R"( in GetDeconvolution3x3() local
665 return absl::Substitute(shader_source, src_depth * dst_channels_aligned, in GetDeconvolution3x3()
672 std::string shader_source = R"( in GetDeconvolutionShared3x3() local
885 return absl::Substitute(shader_source, src_depth * dst_channels_aligned, in GetDeconvolutionShared3x3()
[all …]
Dsoftmax.cc105 desc->shader_source = R"( in Softmax()
109 desc->shader_source += std::to_string(channels_count); in Softmax()
110 desc->shader_source += R"(; in Softmax()
178 desc->shader_source = GetSoftmax1x1Code(); in Softmax1x1()
Dmul.cc41 std::string shader_source = R"( in GetMaxUnpoolingCode() local
78 return shader_source; in GetMaxUnpoolingCode()
89 desc->shader_source = GetMaxUnpoolingCode(); in ApplyMask()
153 desc->shader_source = code; in Multiply()
Delementwise.cc99 desc->shader_source = in ElementwiseWithTwoInputs()
158 desc->shader_source = in ElementwiseWithOneInput()
160 desc->shader_source += " return " + functors.at(op_type) + ";\n"; in ElementwiseWithOneInput()
161 desc->shader_source += " }"; in ElementwiseWithOneInput()
Dmean.cc41 std::string shader_source = R"( in GetMeanCode() local
77 return shader_source; in GetMeanCode()
92 desc->shader_source = code; in Mean()
Dmax_unpooling.cc38 std::string shader_source = R"( in GetMaxUnpoolingCode() local
85 return absl::Substitute(shader_source, kernel_size.w); in GetMaxUnpoolingCode()
95 desc->shader_source = GetMaxUnpoolingCode(params.kernel); in MaxUnpooling()
Dadd.cc81 desc->shader_source = in Add()
93 desc->shader_source = in Add()
106 desc->shader_source = GetAddTableCode(input_ids.size()); in Add()
Drelu.cc45 desc->shader_source = parameters + " return FLT4(clamp(value, " + in ReLU()
48 desc->shader_source = in ReLU()
Dresize.cc98 desc->shader_source = GetResizeBilinearCode(); in Resize()
101 desc->shader_source = GetResizeNearestCode(); in Resize()
Dreshape.cc125 desc->shader_source = GetReshapeCode(); in Reshape()
179 desc->shader_source = GetReshapex4Code(); in Reshapex4()
Dconcat.cc123 desc->shader_source = GetConcatZCode(channels); in ConcatZ()
216 desc->shader_source = code; in ConcatX()
307 desc->shader_source = code; in ConcatY()
/external/deqp/external/openglcts/modules/gl/
Dgl3cCullDistanceTests.cpp1323 std::string& shader_source = shaders_configuration[n_shader_index].body; in buildPO() local
1326 shader_source = shaders_configuration[n_shader_index].shader_template; in buildPO()
1328 CullDistance::Utilities::replaceAll(shader_source, std::string("TEMPLATE_HEADER_DECLARATION"), in buildPO()
1340 CullDistance::Utilities::replaceAll(shader_source, std::string("TEMPLATE_ASSIGN_RETURN_VALUE"), in buildPO()
1365 CullDistance::Utilities::replaceAll(shader_source, std::string("TEMPLATE_SUM_SETTER"), in buildPO()
1368 shader_source, std::string("TEMPLATE_SUM_DIVIDER"), in buildPO()
1376 CullDistance::Utilities::replaceAll(shader_source, std::string("TEMPLATE_ASSIGN_RETURN_VALUE"), in buildPO()
1388 shader_source, std::string("TEMPLATE_ASSIGN_CLIP_DISTANCE"), in buildPO()
1391 shader_source, std::string("TEMPLATE_ASSIGN_CULL_DISTANCE"), in buildPO()
1398 CullDistance::Utilities::replaceAll(shader_source, std::string("TEMPLATE_LAYOUT_IN"), in buildPO()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/amber/
DvktAmberTestCase.cpp206 …programCollection.spirvAsmSources.add(shader.shader_name) << shader.shader_source << m_asm_options; in initPrograms()
214 << glu::ComputeSource(shader.shader_source) in initPrograms()
219 << glu::GeometrySource(shader.shader_source) in initPrograms()
224 << glu::FragmentSource(shader.shader_source) in initPrograms()
229 << glu::VertexSource(shader.shader_source) in initPrograms()
234 << glu::TessellationControlSource(shader.shader_source) in initPrograms()
239 << glu::TessellationEvaluationSource(shader.shader_source) in initPrograms()
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/
Dgl_shader.cc46 const std::string& shader_source, in CompileShader() argument
53 const char* src = shader_source.c_str(); in CompileShader()
68 "\nProblem shader is:\n" + shader_source); in CompileShader()
Dgl_shader.h37 const std::string& shader_source,
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/converters/
Dphwc4_to_bhwc.cc36 std::string shader_source = GetShaderHeader(workgroup_size) + R"( in Create() local
61 GlShader::CompileShader(GL_COMPUTE_SHADER, shader_source, &shader)); in Create()
Dbhwc_to_phwc4.cc36 std::string shader_source = GetShaderHeader(workgroup_size) + R"( in Create() local
68 GlShader::CompileShader(GL_COMPUTE_SHADER, shader_source, &shader)); in Create()
/external/deqp-deps/amber/include/amber/
Dshader_info.h54 std::string shader_source; member
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/
Dinference_context_test.mm45 desc->shader_source = R"(FLT4 linkable$0(FLT4 value, int linear_index, uint3 gid) {
58 desc->shader_source = R"(
113 desc->shader_source = R"(FLT4 linkable$0(FLT4 value, int linear_index, uint3 gid, FLT4 multiplier)
134 desc->shader_source = R"(FLT4 linkable$0(FLT4 value, int linear_index, uint3 gid,
Dcompiled_model.cc397 desc->shader_source = R"( in NonLinkableStub()
486 absl::Substitute(desc->shader_source, function_index) + "\n"; in FuseChain()
539 fused_desciptor->shader_source = in FuseChain()
540 absl::Substitute(non_linkable->shader_source, function_code, in FuseChain()
/external/webrtc/webrtc/modules/video_render/ios/
Dopen_gles20.h43 GLuint LoadShader(GLenum shader_type, const char* shader_source);

12345