Home
last modified time | relevance | path

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

/external/deqp/external/vulkancts/modules/vulkan/amber/
DvktAmberTestCase.cpp206 …programCollection.spirvAsmSources.add(shader.shader_name) << shader.shader_source << m_asm_options; in initPrograms()
213 programCollection.glslSources.add(shader.shader_name) in initPrograms()
218 programCollection.glslSources.add(shader.shader_name) in initPrograms()
223 programCollection.glslSources.add(shader.shader_name) in initPrograms()
228 programCollection.glslSources.add(shader.shader_name) in initPrograms()
233 programCollection.glslSources.add(shader.shader_name) in initPrograms()
238 programCollection.glslSources.add(shader.shader_name) in initPrograms()
284 if (!m_context.getBinaryCollection().contains(shader.shader_name)) in iterate()
287 size_t len = m_context.getBinaryCollection().get(shader.shader_name).getSize(); in iterate()
293 deMemcpy(data.data(), m_context.getBinaryCollection().get(shader.shader_name).getBinary(), len); in iterate()
[all …]
/external/deqp-deps/amber/android_sample/jni/
Damber_script.cc46 std::string GetShaderID(const std::string& shader_name) { in GetShaderID() argument
47 size_t spv_extension_pos = shader_name.find_last_of('.'); in GetShaderID()
52 shader_name.find_last_of('.', spv_extension_pos - 1UL) + 1UL; in GetShaderID()
56 if (shader_id_pos >= spv_extension_pos || shader_name.size() <= shader_id_pos) in GetShaderID()
59 return shader_name.substr(shader_id_pos, spv_extension_pos - shader_id_pos); in GetShaderID()
146 const std::string& shader_name) { in ReadSpvShader() argument
147 auto content = ReadContent(shader_name); in ReadSpvShader()
Damber_script.h62 std::vector<uint32_t> ReadSpvShader(const std::string& shader_name);
/external/mesa3d/src/mesa/state_tracker/
Dst_nir_builtins.c120 const char *shader_name, in st_nir_make_passthrough_shader() argument
160 return st_nir_finish_builtin_shader(st, b.shader, shader_name); in st_nir_make_passthrough_shader()
Dst_nir.h70 const char *shader_name,
Dst_cb_clear.c142 const char *shader_name = layered ? "layered clear VS" : "clear VS"; in make_nir_clear_vertex_shader() local
154 return st_nir_make_passthrough_shader(st, shader_name, MESA_SHADER_VERTEX, in make_nir_clear_vertex_shader()
/external/deqp-deps/amber/include/amber/
Dshader_info.h52 std::string shader_name; member
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineCreationFeedbackTests.cpp788 std::string shader_name("color_vert_"); in GraphicsCacheTestInstance() local
789 shader_name += (ndx == PIPELINE_CACHE_NDX_DERIVATIVE) ? "2" : "1"; in GraphicsCacheTestInstance()
790 m_pipelineBuilder.bindShaderStage(VK_SHADER_STAGE_VERTEX_BIT, shader_name.c_str(), "main"); in GraphicsCacheTestInstance()
1057 std::string shader_name("basic_compute_"); in buildShader() local
1059 shader_name += (ndx == PIPELINE_CACHE_NDX_DERIVATIVE) ? "2" : "1"; in buildShader()
1067 m_context.getBinaryCollection().get(shader_name).getSize(), // deUintptr codeSize; in buildShader()
1068 …(deUint32*)m_context.getBinaryCollection().get(shader_name).getBinary(), // const deUint32* pCo… in buildShader()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_blit.c112 char shader_name[64]; in build_nir_copy_fragment_shader() local
118 sprintf(shader_name, "meta_blit_fs.%d", tex_dim); in build_nir_copy_fragment_shader()
119 b.shader->info.name = ralloc_strdup(b.shader, shader_name); in build_nir_copy_fragment_shader()
170 char shader_name[64]; in build_nir_copy_fragment_shader_depth() local
176 sprintf(shader_name, "meta_blit_depth_fs.%d", tex_dim); in build_nir_copy_fragment_shader_depth()
177 b.shader->info.name = ralloc_strdup(b.shader, shader_name); in build_nir_copy_fragment_shader_depth()
228 char shader_name[64]; in build_nir_copy_fragment_shader_stencil() local
234 sprintf(shader_name, "meta_blit_stencil_fs.%d", tex_dim); in build_nir_copy_fragment_shader_stencil()
235 b.shader->info.name = ralloc_strdup(b.shader, shader_name); in build_nir_copy_fragment_shader_stencil()
/external/mesa3d/src/intel/blorp/
Dblorp.c35 static const char *shader_name[] = { in blorp_shader_type_to_name() local
43 assert(type < ARRAY_SIZE(shader_name)); in blorp_shader_type_to_name()
45 return shader_name[type]; in blorp_shader_type_to_name()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_debug.c648 const char *shader_name; member
678 fprintf(f, COLOR_GREEN "%s%s slot %u (%s):" COLOR_RESET "\n", chunk->shader_name, in si_log_chunk_desc_list_print()
731 const char *shader_name, const char *elem_name, in si_dump_descriptor_list() argument
757 chunk->shader_name = shader_name; in si_dump_descriptor_list()
786 static const char *shader_name[] = {"VS", "PS", "GS", "TCS", "TES", "CS"}; in si_dump_descriptors() local
787 const char *name = shader_name[processor]; in si_dump_descriptors()
/external/mesa3d/src/gallium/drivers/svga/svgadump/
Dsvga_dump.c42 shader_name(unsigned type) in shader_name() function
578 _debug_printf("\t\t.type = %s\n", shader_name(cmd->type)); in dump_SVGA3dCmdSetShader()
1045 _debug_printf("\t\t.type = %s\n", shader_name((*cmd).type)); in dump_SVGA3dCmdSetShaderConst()
1054 _debug_printf("\t\t.type = %s\n", shader_name((*cmd).shaderType)); in dump_SVGA3dCmdSetGBShaderConstInline()
1416 _debug_printf("\t\t.type = %s\n", shader_name(cmd->type)); in dump_SVGA3dCmdDefineGBShader()
1507 debug_printf("\t\t.type = %s\n", shader_name(cmd->type)); in SVGA3D_DUMP_HEADER()
1513 debug_printf("\t\t.type = %s\n", shader_name(cmd->type)); in SVGA3D_DUMP_HEADER()
1709 debug_printf("\t\t.type = %s\n", shader_name(cmd->type)); in SVGA3D_DUMP_HEADER()
1892 debug_printf("\t\t.type = %s\n", shader_name(cmd->type)); in SVGA3D_DUMP_HEADER()
1940 debug_printf("\t\t.type = %s\n", shader_name(cmd->type)); in SVGA3D_DUMP_HEADER()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_compiler.c456 static const char *shader_name[RC_NUM_PROGRAM_TYPES] = { variable
471 fprintf(stderr, "%s: after '%s'\n", shader_name[c->type], list[i].name); in rc_run_compiler_passes()
487 fprintf(stderr, "%s: before compilation\n", shader_name[c->type]); in rc_run_compiler()
/external/deqp-deps/amber/src/
Dscript_test.cc54 EXPECT_EQ("Shader1", info[0].shader_name); in TEST_F()
60 EXPECT_EQ("Shader2", info[1].shader_name); in TEST_F()
/external/deqp-deps/amber/docs/
Damber_script.md93 SHADER vertex {shader_name} PASSTHROUGH
95 # Creates a shader of |shader_type| with the given |shader_name|. The shader
98 SHADER {shader_type} {shader_name} {shader_format}
213 SHADER_OPTIMIZATION {shader_name}
221 COMPILE_OPTIONS {shader_name}
/external/mesa3d/src/intel/compiler/
Dbrw_fs.h471 void enable_debug(const char *shader_name);
577 const char *shader_name; variable
Dbrw_fs_generator.cpp196 shader_name(NULL), stage(stage), mem_ctx(mem_ctx) in fs_generator()
1867 fs_generator::enable_debug(const char *shader_name) in enable_debug() argument
1870 this->shader_name = shader_name; in enable_debug()
2655 shader_name, sha1buf, in generate_code()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_program.c683 const char *shader_name = brw->shader_time.names[i]; in brw_report_shader_time() local
715 print_shader_time_line(stage, shader_name, shader_num, in brw_report_shader_time()
/external/deqp-deps/amber/src/vkscript/
Dcommand_parser.cc137 std::string shader_name = cmd_name; in Parse() local
147 shader_name += " " + token->AsString(); in Parse()
152 return Result(make_error("Unknown command: " + shader_name)); in Parse()
154 r = ProcessEntryPoint(shader_name); in Parse()