search for: tgsi_text_translate

Displaying 1 result from an estimated 1 matches for "tgsi_text_translate".

2014 Feb 21
0
[PATCH] nouveau: add a nouveau_compiler binary to compile TGSI into shader ISA
...= PIPE_SHADER_VERTEX; + else if (!strncmp(text, "GEOM", 4)) + type = PIPE_SHADER_GEOMETRY; + else if (!strncmp(text, "COMP", 4)) + type = PIPE_SHADER_COMPUTE; + else { + _debug_printf("Unrecognized TGSI header\n"); + return 1; + } + + if (!tgsi_text_translate(text, tokens, Elements(tokens))) + return 1; + + info.type = type; + info.target = chipset; + info.bin.sourceRep = NV50_PROGRAM_IR_TGSI; + info.bin.source = tokens; + + info.io.ucpCBSlot = 15; + info.io.ucpBase = NV50_CB_AUX_UCP_OFFSET; + + info.io.resInfoCBSlot = 15; + info.io...