Lines Matching refs:emit_hdrf
665 static void emit_hdrf(struct vrend_glsl_strbufs *glsl_strbufs, const char *fmt, ...) in emit_hdrf() function
5653 …emit_hdrf(glsl_strbufs, "uniform %s %csampler%s %ssamp%d[%d];\n", precision, ptc, stc, sname, i, r… in emit_sampler_decl()
5655 emit_hdrf(glsl_strbufs, "uniform %s %csampler%s %ssamp%d;\n", precision, ptc, stc, sname, i); in emit_sampler_decl()
5658 emit_hdrf(glsl_strbufs, "uniform %s vec4 %sshadmask%d;\n", precision, sname, i); in emit_sampler_decl()
5659 emit_hdrf(glsl_strbufs, "uniform %s vec4 %sshadadd%d;\n", precision, sname, i); in emit_sampler_decl()
5820 emit_hdrf(glsl_strbufs, "layout(binding=%d%s%s) ", in emit_image_decl()
5823 emit_hdrf(glsl_strbufs, "layout(%s) ", formatstr); in emit_image_decl()
5827 emit_hdrf(glsl_strbufs, "%s%suniform %s%cimage%s %simg%d[%d];\n", in emit_image_decl()
5830 emit_hdrf(glsl_strbufs, "%s%suniform %s%cimage%s %simg%d;\n", in emit_image_decl()
5843 …emit_hdrf(glsl_strbufs, "vec4 temp%d[%d];\n", ctx->temp_ranges[i].first, ctx->temp_ranges[i].last … in emit_ios_common()
5866 emit_hdrf(glsl_strbufs, "int addr%d;\n", i); in emit_ios_common()
5870 emit_hdrf(glsl_strbufs, "uniform uvec4 %sconst0[%d];\n", cname, ctx->num_consts); in emit_ios_common()
5880 …emit_hdrf(glsl_strbufs, "uniform %subo { vec4 ubocontents[%d]; } %suboarr[%d];\n", cname, ctx->ubo… in emit_ios_common()
5885 …emit_hdrf(glsl_strbufs, "uniform %subo%d { vec4 %subo%dcontents[%d]; };\n", cname, i, cname, i, ct… in emit_ios_common()
5923 …emit_hdrf(glsl_strbufs, "layout (binding = %d, offset = %d) uniform atomic_uint ac%d[%d];\n", ctx-… in emit_ios_common()
5925 …emit_hdrf(glsl_strbufs, "layout (binding = %d, offset = %d) uniform atomic_uint ac%d;\n", ctx->abo… in emit_ios_common()
5934 …emit_hdrf(glsl_strbufs, "layout (binding = %d, std430) buffer %sssbo%d { uint %sssbocontents%d[]; … in emit_ios_common()
5942 …emit_hdrf(glsl_strbufs, "layout (binding = %d, std430) %s buffer %sssbo%d { %s %sssbocontents%d[];… in emit_ios_common()
5964 …emit_hdrf(glsl_strbufs, "layout (stream=%d) out %s tfout%d;\n", ctx->so->output[i].stream, outtype… in emit_ios_streamout()
5972 emit_hdrf(glsl_strbufs, "out %s tfout%d[];\n", outtype, i); in emit_ios_streamout()
5974 emit_hdrf(glsl_strbufs, "out %s tfout%d;\n", outtype, i); in emit_ios_streamout()
6000 emit_hdrf(glsl_strbufs, "out %s {\n vec4 %s[%d]; \n} %s;\n", blockname, in emit_ios_indirect_generics_output()
6003 emit_hdrf(glsl_strbufs, "out vec4 %s%s[%d];\n", in emit_ios_indirect_generics_output()
6033 emit_hdrf(glsl_strbufs, "in %s {\n vec4 %s[%d]; \n} %s;\n", in emit_ios_indirect_generics_input()
6037 emit_hdrf(glsl_strbufs, "in vec4 %s%s[%d];\n", in emit_ios_indirect_generics_input()
6077 emit_hdrf(glsl_strbufs, "%s%s\n%s %s %s %s%s;\n", in emit_ios_generic()
6104 emit_hdrf(glsl_strbufs, "%s %s {\n", inout, blockname); in emit_ios_generic()
6106 emit_hdrf(glsl_strbufs, "%s%s\n%s %s %s[%d]; \n} %s;\n", in emit_ios_generic()
6116 emit_hdrf(glsl_strbufs, "%s%s\n%s %s %s %s%s[%d];\n", in emit_ios_generic()
6175 emit_hdrf(glsl_strbufs, "%s%s;\n", in emit_ios_generic_outputs()
6200 emit_hdrf(glsl_strbufs, "layout(location = %d, component = %d)\n", in emit_ios_patch()
6203 emit_hdrf(glsl_strbufs, "layout(location = %d)\n", io->layout_location - 1); in emit_ios_patch()
6210 emit_hdrf(glsl_strbufs, "%s %s %s %s;\n", prefix, inout, t, io->glsl_name); in emit_ios_patch()
6212 emit_hdrf(glsl_strbufs, "%s %s %s %s[%d];\n", prefix, inout, t, in emit_ios_patch()
6235 emit_hdrf(glsl_strbufs, "layout(location=%d) ", ctx->inputs[i].first); in emit_ios_vs()
6240 emit_hdrf(glsl_strbufs, "in %s %s%s;\n", in emit_ios_vs()
6263 emit_hdrf(glsl_strbufs, "%sout vec4 ex_bc%d;\n", INTERP_PREFIX, ctx->outputs[i].sid); in emit_ios_vs()
6267 emit_hdrf(glsl_strbufs, "%sout vec4 ex_c%d;\n", INTERP_PREFIX, ctx->outputs[i].sid); in emit_ios_vs()
6276 emit_hdrf(glsl_strbufs, "%svec4 clipv_tmp;\n", ctx->has_clipvertex_so ? "out " : ""); in emit_ios_vs()
6297 … emit_hdrf(glsl_strbufs, "out gl_PerVertex {\n vec4 gl_Position;\n %s%s};\n", clip_buf, cull_buf); in emit_ios_vs()
6299 emit_hdrf(glsl_strbufs, "%s%s", clip_buf, cull_buf); in emit_ios_vs()
6333 emit_hdrf(glsl_strbufs, "layout(%s%c%s) in vec4 gl_FragCoord;\n", in emit_ios_fs()
6385 emit_hdrf(glsl_strbufs, "layout(blend_support_%s) out;\n", blend_to_name(choice)); in emit_ios_fs()
6398 emit_hdrf(glsl_strbufs, "%s fsout_tmp_c%d;\n", type, i); in emit_ios_fs()
6402 …emit_hdrf(glsl_strbufs, "layout (location=%d%s) inout highp %s fsout_c%d;\n", i, noncoherent, type… in emit_ios_fs()
6404 emit_hdrf(glsl_strbufs, "layout (location=%d) out %s fsout_c%d;\n", i, in emit_ios_fs()
6407 emit_hdrf(glsl_strbufs, "out %s fsout_c%d;\n", type, i); in emit_ios_fs()
6424 emit_hdrf(glsl_strbufs, "%s%s;\n", in emit_ios_fs()
6435 emit_hdrf(glsl_strbufs, "layout (%s) out float gl_FragDepth;\n", depth_layout); in emit_ios_fs()
6440 … emit_hdrf(glsl_strbufs, "in float gl_ClipDistance[%d];\n", ctx->key->prev_stage_num_clip_out); in emit_ios_fs()
6442 emit_hdrf(glsl_strbufs, "in float gl_ClipDistance[%d];\n", ctx->num_in_clip_dist); in emit_ios_fs()
6446 … emit_hdrf(glsl_strbufs, "in float gl_CullDistance[%d];\n", ctx->key->prev_stage_num_cull_out); in emit_ios_fs()
6473 emit_hdrf(glsl_strbufs, "layout(%s%s) in;\n", prim_to_name(ctx->gs_in_prim), in emit_ios_geom()
6475 …emit_hdrf(glsl_strbufs, "layout(%s, max_vertices = %d) out;\n", prim_to_name(ctx->gs_out_prim), ct… in emit_ios_geom()
6501 …emit_hdrf(glsl_strbufs, "layout (stream = %d) %s%s%sout vec4 %s;\n", ctx->outputs[i].stream, prefi… in emit_ios_geom()
6527 …emit_hdrf(glsl_strbufs, "in gl_PerVertex {\n vec4 gl_Position; \n %s%s\n} gl_in[];\n", clip_var, c… in emit_ios_geom()
6544 emit_hdrf(glsl_strbufs, "%s%s\n", clip_buf, cull_buf); in emit_ios_geom()
6545 emit_hdrf(glsl_strbufs, "vec4 clip_dist_temp[2];\n"); in emit_ios_geom()
6568 emit_hdrf(glsl_strbufs, "layout(vertices = %d) out;\n", ctx->tcs_vertices_out); in emit_ios_tcs()
6584 emit_hdrf(glsl_strbufs, "%s%s;\n", in emit_ios_tcs()
6604 …emit_hdrf(glsl_strbufs, "in gl_PerVertex {\n vec4 gl_Position; \n %s%s} gl_in[];\n", clip_var, cul… in emit_ios_tcs()
6607 …emit_hdrf(glsl_strbufs, "out gl_PerVertex {\n vec4 gl_Position;\n float gl_ClipDistance[%d];\n} gl… in emit_ios_tcs()
6639 emit_hdrf(glsl_strbufs, "layout(%s, %s, %s%s) in;\n", in emit_ios_tes()
6663 …emit_hdrf(glsl_strbufs, "in gl_PerVertex {\n vec4 gl_Position; \n %s%s} gl_in[];\n", clip_var, cul… in emit_ios_tes()
6666 …emit_hdrf(glsl_strbufs, "out gl_PerVertex {\n vec4 gl_Position;\n float gl_ClipDistance[%d];\n} gl… in emit_ios_tes()
6675 emit_hdrf(glsl_strbufs, "layout (local_size_x = %d, local_size_y = %d, local_size_z = %d) in;\n", in emit_ios_cs()
6680 emit_hdrf(glsl_strbufs, "shared %s values[%d];\n", get_string(type), ctx->req_local_mem / 4); in emit_ios_cs()
6734 emit_hdrf(glsl_strbufs, " out vec4 %s_g%dA0_f%s;\n", in emit_ios()