Home
last modified time | relevance | path

Searched refs:shader_code (Results 1 – 25 of 28) sorted by relevance

12

/aosp_15_r20/external/libultrahdr/lib/src/gpu/
H A Dapplygainmap_gl.cpp204 std::string shader_code = R"__SHADER__(#version 300 es in getApplyGainMapFragmentShader() local
213 shader_code.append(getYuv444PixelShader); in getApplyGainMapFragmentShader()
215 shader_code.append(getYuv422PixelShader); in getApplyGainMapFragmentShader()
217 shader_code.append(getYuv420PixelShader); in getApplyGainMapFragmentShader()
219 shader_code.append(p3YUVToRGBShader); in getApplyGainMapFragmentShader()
220 shader_code.append(sRGBEOTFShader); in getApplyGainMapFragmentShader()
221 shader_code.append(gm_fmt == UHDR_IMG_FMT_8bppYCbCr400 ? getGainMapSampleSingleChannel in getApplyGainMapFragmentShader()
223 shader_code.append(applyGainMapShader); in getApplyGainMapFragmentShader()
225 shader_code.append(IdentityInverseOOTFShader); in getApplyGainMapFragmentShader()
226 shader_code.append(linearOETFShader); in getApplyGainMapFragmentShader()
[all …]
H A Deditorhelper_gl.cpp318 std::string shader_code = R"__SHADER__(#version 300 es in apply_resize_gles() local
323 shader_code.append(resizeShader); in apply_resize_gles()
324 shader_code.append(R"__SHADER__( in apply_resize_gles()
331 gl_ctxt->create_shader_program(vertex_shader.c_str(), shader_code.c_str()); in apply_resize_gles()
/aosp_15_r20/external/tensorflow/tensorflow/lite/delegates/gpu/gl/workgroups/
H A Ddefault_calculator.cc33 uint3 CalculateInternal(const ShaderCode& shader_code) const final { in CalculateInternal()
34 const auto& workload = shader_code.workload; in CalculateInternal()
61 uint3 CalculateInternal(const ShaderCode& shader_code) const final { in CalculateInternal()
62 const auto& workload = shader_code.workload; in CalculateInternal()
H A Dcalculator.cc64 uint3 WorkgroupsCalculator::Calculate(const ShaderCode& shader_code) const { in Calculate()
65 uint3 workgroup_size = shader_code.recommended_workgroup; in Calculate()
67 workgroup_size = CalculateInternal(shader_code); in Calculate()
H A Dcalculator_from_metadata.cc57 uint3 CalculateInternal(const ShaderCode& shader_code) const final { in CalculateInternal()
58 auto it = workgroups_.find(shader_code.node_indices[0]); in CalculateInternal()
61 : default_calculator_->Calculate(shader_code); in CalculateInternal()
H A Dcalculator.h45 uint3 Calculate(const ShaderCode& shader_code) const;
48 virtual uint3 CalculateInternal(const ShaderCode& shader_code) const = 0;
H A DBUILD13 "//tensorflow/lite/delegates/gpu/gl/compiler:shader_code",
/aosp_15_r20/external/deqp/external/openglcts/modules/gl/
H A Dgl4cStencilTexturingTests.cpp893 std::string shader_code[N_FUNCTIONAL_TEST_SHADER_STAGES]; in prepareProgram() local
910 shader_code[i] = shader_templates[i]; in prepareProgram()
914 Utils::replaceToken("TYPE", position, type, shader_code[i]); in prepareProgram()
915 … Utils::replaceToken("SAMPLER_DEFINITION", position, sampler_definition, shader_code[i]); in prepareProgram()
920 … Utils::replaceToken("SAMPLER_DEFINITION", position, sampler_definition, shader_code[i]); in prepareProgram()
921 Utils::replaceToken("EXPECTED_VALUE", position, expected_value, shader_code[i]); in prepareProgram()
926 … Utils::createAndBuildProgram(m_context, 0 /* cs_code */, shader_code[0].c_str() /* fs_code */, in prepareProgram()
927shader_code[1].c_str() /* gs_code */, shader_code[2].c_str() /* tcs_code */, in prepareProgram()
928shader_code[3].c_str() /* tes_code */, shader_code[4].c_str() /* vs_code */); in prepareProgram()
H A Dgl3cGLSLnoperspectiveTests.cpp42 void compile_shader(deqp::Context &context, glw::GLuint shader_id, const glw::GLchar *shader_code) in compile_shader() argument
51 gl.shaderSource(shader_id, 1 /* count */, &shader_code, 0); in compile_shader()
82 << &message[0] << tcu::TestLog::EndMessage << tcu::TestLog::KernelSource(shader_code); in compile_shader()
H A Dgl3cGPUShader5Tests.cpp136 void Utils::programInfo::compile(glw::GLuint shader_id, const glw::GLchar *shader_code) const in compile()
145 gl.shaderSource(shader_id, 1 /* count */, &shader_code, 0); in compile()
176 << shader_code << tcu::TestLog::EndMessage; in compile()
H A Dgl3cGPUShader5Tests.hpp73 void compile(glw::GLuint shader_id, const glw::GLchar *shader_code) const;
H A Dgl3cClipDistance.cpp1270 const glw::GLenum shader_type, const glw::GLchar *const *shader_code) in compileShader() argument
1274 if (shader_code != DE_NULL) in compileShader()
1284 m_gl.shaderSource(shader.shader_id, 1, shader_code, NULL); in compileShader()
H A Dgl3cTextureSwizzleTests.hpp54 void compile(glw::GLuint shader_id, const glw::GLchar *shader_code) const;
H A Dgl4cGPUShaderFP64Tests.hpp58 void compile(glw::GLuint shader_id, const glw::GLchar *shader_code) const;
708 … void compile(deqp::Context &context, glw::GLuint shader_id, const glw::GLchar *shader_code) const;
H A Dgl3cClipDistance.hpp104 …pilationStatus compileShader(const glw::GLenum shader_type, const glw::GLchar *const *shader_code);
H A Dgl3cTextureSwizzleTests.cpp2050 void Utils::programInfo::compile(glw::GLuint shader_id, const glw::GLchar *shader_code) const in compile()
2059 gl.shaderSource(shader_id, 1 /* count */, &shader_code, 0); in compile()
2090 << shader_code << tcu::TestLog::EndMessage; in compile()
/aosp_15_r20/external/tensorflow/tensorflow/lite/delegates/gpu/gl/compiler/
H A DBUILD64 name = "shader_code",
65 hdrs = ["shader_code.h"],
82 ":shader_code",
132 ":shader_code",
H A Dshader_codegen.cc39 ShaderCode* shader_code) const { in Build()
177 *shader_code = in Build()
H A Dshader_codegen.h43 ShaderCode* shader_code) const;
/aosp_15_r20/external/deqp/external/openglcts/modules/glesext/texture_buffer/
H A DesextcTextureBufferPrecision.cpp221 std::string shader_code = specializeShader(parts_count, sh_code_parts); in verifyShaderCompilationStatus() local
222 const char *shader_code_ptr = shader_code.c_str(); in verifyShaderCompilationStatus()
249 … << shader_code << "\n\n did compile with result different than expected:\n" in verifyShaderCompilationStatus()
/aosp_15_r20/external/tensorflow/tensorflow/lite/delegates/gpu/gl/
H A Dcompiler.cc286 ShaderCode shader_code; in Compile() local
287 RETURN_IF_ERROR(codegen.Build(std::move(attr), &shader_code)); in Compile()
288 RETURN_IF_ERROR(callback(std::move(shader_code))); in Compile()
H A DBUILD128 "//tensorflow/lite/delegates/gpu/gl/compiler:shader_code",
/aosp_15_r20/external/mesa3d/src/imagination/vulkan/
H A Dpvr_query_compute.c152 shader_factory_info->shader_code, in pvr_create_compute_query_program()
/aosp_15_r20/external/mesa3d/src/imagination/vulkan/usc/programs/
H A Dpvr_static_shaders.h45 const uint8_t *const shader_code; member
/aosp_15_r20/external/vulkan-validation-layers/tests/
H A Dvkrenderframework.cpp1514 VkShaderObj::VkShaderObj(VkDeviceObj *device, const char *shader_code, VkShaderStageFlagBits stage,… in VkShaderObj() argument
1532 framework->GLSLtoSPV(stage, shader_code, spv, debug); in VkShaderObj()

12