vrend/shader: combine shader info to be passed to next into a structure

In addition combine values into a bitfield so that the compiler can use a
64 bit move instead of individual moves.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Rohan Garg <rohan.garg@collabora.com>
macos/master
Gert Wollny 4 years ago
parent 47c899764a
commit 729a819274
  1. 16
      src/vrend_renderer.c
  2. 88
      src/vrend_shader.c
  3. 26
      src/vrend_shader.h

@ -3369,18 +3369,14 @@ static inline void vrend_fill_shader_key(struct vrend_sub_context *sub_ctx,
} }
} }
if (prev_type != -1 && sub_ctx->shaders[prev_type]) { struct vrend_shader_selector *prev = sub_ctx->shaders[prev_type];
key->prev_stage_num_clip_out = sub_ctx->shaders[prev_type]->sinfo.num_clip_out; if (prev_type != -1 && prev) {
key->prev_stage_num_cull_out = sub_ctx->shaders[prev_type]->sinfo.num_cull_out; key->input = prev->sinfo.out;
key->num_indirect_generic_inputs = sub_ctx->shaders[prev_type]->sinfo.num_indirect_generic_outputs; key->force_invariant_inputs = prev->sinfo.invariant_outputs;
key->num_indirect_patch_inputs = sub_ctx->shaders[prev_type]->sinfo.num_indirect_patch_outputs;
key->num_prev_generic_and_patch_outputs = sub_ctx->shaders[prev_type]->sinfo.num_generic_and_patch_outputs;
key->guest_sent_io_arrays = sub_ctx->shaders[prev_type]->sinfo.guest_sent_io_arrays;
memcpy(key->prev_stage_generic_and_patch_outputs_layout, memcpy(key->prev_stage_generic_and_patch_outputs_layout,
sub_ctx->shaders[prev_type]->sinfo.generic_outputs_layout, prev->sinfo.generic_outputs_layout,
sub_ctx->shaders[prev_type]->sinfo.num_generic_and_patch_outputs * sizeof (struct vrend_layout_info)); prev->sinfo.out.num_generic_and_patch * sizeof (struct vrend_layout_info));
key->force_invariant_inputs = sub_ctx->shaders[prev_type]->sinfo.invariant_outputs;
} }
int next_type = -1; int next_type = -1;

@ -2891,9 +2891,9 @@ create_swizzled_clipdist(const struct dump_ctx *ctx,
char clip_indirect[32] = ""; char clip_indirect[32] = "";
bool has_prev_vals = (ctx->key->prev_stage_num_cull_out + ctx->key->prev_stage_num_clip_out) > 0; bool has_prev_vals = (ctx->key->input.num_cull + ctx->key->input.num_clip) > 0;
int num_culls = has_prev_vals ? ctx->key->prev_stage_num_cull_out : 0; int num_culls = has_prev_vals ? ctx->key->input.num_cull : 0;
int num_clips = has_prev_vals ? ctx->key->prev_stage_num_clip_out : ctx->num_in_clip_dist; int num_clips = has_prev_vals ? ctx->key->input.num_clip : ctx->num_in_clip_dist;
int base_idx = ctx->inputs[input_idx].sid * 4; int base_idx = ctx->inputs[input_idx].sid * 4;
/* With arrays enabled , but only when gl_ClipDistance or gl_CullDistance are emitted (>4) /* With arrays enabled , but only when gl_ClipDistance or gl_CullDistance are emitted (>4)
@ -2920,12 +2920,12 @@ create_swizzled_clipdist(const struct dump_ctx *ctx,
idx -= num_clips; idx -= num_clips;
cc_name = "gl_CullDistance"; cc_name = "gl_CullDistance";
} }
if (ctx->key->prev_stage_num_cull_out) if (ctx->key->input.num_cull)
if (idx >= ctx->key->prev_stage_num_cull_out) if (idx >= ctx->key->input.num_cull)
idx = 0; idx = 0;
} else { } else {
if (ctx->key->prev_stage_num_clip_out) if (ctx->key->input.num_clip)
if (idx >= ctx->key->prev_stage_num_clip_out) if (idx >= ctx->key->input.num_clip)
idx = 0; idx = 0;
} }
if (gl_in) if (gl_in)
@ -4368,8 +4368,8 @@ static
void rewrite_io_ranged(struct dump_ctx *ctx) void rewrite_io_ranged(struct dump_ctx *ctx)
{ {
if ((ctx->info.indirect_files & (1 << TGSI_FILE_INPUT)) || if ((ctx->info.indirect_files & (1 << TGSI_FILE_INPUT)) ||
ctx->key->num_indirect_generic_inputs || ctx->key->input.num_indirect_generic ||
ctx->key->num_indirect_patch_inputs) { ctx->key->input.num_indirect_patch) {
for (uint i = 0; i < ctx->num_inputs; ++i) { for (uint i = 0; i < ctx->num_inputs; ++i) {
if (ctx->inputs[i].name == TGSI_SEMANTIC_PATCH) { if (ctx->inputs[i].name == TGSI_SEMANTIC_PATCH) {
@ -4402,10 +4402,10 @@ void rewrite_io_ranged(struct dump_ctx *ctx)
ctx->generic_ios.input_range.io.last = ctx->inputs[i].sid; ctx->generic_ios.input_range.io.last = ctx->inputs[i].sid;
} }
if (ctx->key->num_indirect_generic_inputs > 0) if (ctx->key->input.num_indirect_generic > 0)
ctx->generic_ios.input_range.io.last = ctx->generic_ios.input_range.io.sid + ctx->key->num_indirect_generic_inputs - 1; ctx->generic_ios.input_range.io.last = ctx->generic_ios.input_range.io.sid + ctx->key->input.num_indirect_generic - 1;
if (ctx->key->num_indirect_patch_inputs > 0) if (ctx->key->input.num_indirect_patch > 0)
ctx->patch_ios.input_range.io.last = ctx->patch_ios.input_range.io.sid + ctx->key->num_indirect_patch_inputs - 1; ctx->patch_ios.input_range.io.last = ctx->patch_ios.input_range.io.sid + ctx->key->input.num_indirect_patch - 1;
} }
snprintf(ctx->patch_ios.input_range.io.glsl_name, 64, "%s_p%d", snprintf(ctx->patch_ios.input_range.io.glsl_name, 64, "%s_p%d",
get_stage_input_name_prefix(ctx, ctx->prog_type), ctx->patch_ios.input_range.io.sid); get_stage_input_name_prefix(ctx, ctx->prog_type), ctx->patch_ios.input_range.io.sid);
@ -4571,7 +4571,7 @@ void emit_fs_clipdistance_load(const struct dump_ctx *ctx,
if (!ctx->fs_uses_clipdist_input) if (!ctx->fs_uses_clipdist_input)
return; return;
int prev_num = ctx->key->prev_stage_num_clip_out + ctx->key->prev_stage_num_cull_out; int prev_num = ctx->key->input.num_clip + ctx->key->input.num_cull;
int ndists; int ndists;
const char *prefix=""; const char *prefix="";
@ -4595,12 +4595,12 @@ void emit_fs_clipdistance_load(const struct dump_ctx *ctx,
} }
bool is_cull = false; bool is_cull = false;
if (prev_num > 0) { if (prev_num > 0) {
if (i >= ctx->key->prev_stage_num_clip_out && i < prev_num) if (i >= ctx->key->input.num_clip && i < prev_num)
is_cull = true; is_cull = true;
} }
const char *clip_cull = is_cull ? "Cull" : "Clip"; const char *clip_cull = is_cull ? "Cull" : "Clip";
emit_buff(glsl_strbufs, "clip_dist_temp[%d].%c = %sgl_%sDistance[%d];\n", clipidx, wm, prefix, clip_cull, emit_buff(glsl_strbufs, "clip_dist_temp[%d].%c = %sgl_%sDistance[%d];\n", clipidx, wm, prefix, clip_cull,
is_cull ? i - ctx->key->prev_stage_num_clip_out : i); is_cull ? i - ctx->key->input.num_clip : i);
} }
} }
@ -4627,7 +4627,7 @@ static bool apply_prev_layout(const struct vrend_shader_key *key,
if (io->name == TGSI_SEMANTIC_GENERIC || io->name == TGSI_SEMANTIC_PATCH) { if (io->name == TGSI_SEMANTIC_GENERIC || io->name == TGSI_SEMANTIC_PATCH) {
const struct vrend_layout_info *layout = key->prev_stage_generic_and_patch_outputs_layout; const struct vrend_layout_info *layout = key->prev_stage_generic_and_patch_outputs_layout;
for (unsigned generic_index = 0; generic_index < key->num_prev_generic_and_patch_outputs; ++generic_index, ++layout) { for (unsigned generic_index = 0; generic_index < key->input.num_generic_and_patch; ++generic_index, ++layout) {
bool already_found_one = false; bool already_found_one = false;
@ -5524,7 +5524,7 @@ static void emit_header(const struct dump_ctx *ctx, struct vrend_glsl_strbufs *g
if (ctx->ubo_used_mask) if (ctx->ubo_used_mask)
emit_ext(glsl_strbufs, "ARB_uniform_buffer_object", "require"); emit_ext(glsl_strbufs, "ARB_uniform_buffer_object", "require");
if (ctx->num_cull_dist_prop || ctx->key->prev_stage_num_cull_out) if (ctx->num_cull_dist_prop || ctx->key->input.num_cull)
emit_ext(glsl_strbufs, "ARB_cull_distance", "require"); emit_ext(glsl_strbufs, "ARB_cull_distance", "require");
if (ctx->ssbo_used_mask) if (ctx->ssbo_used_mask)
emit_ext(glsl_strbufs, "ARB_shader_storage_buffer_object", "require"); emit_ext(glsl_strbufs, "ARB_shader_storage_buffer_object", "require");
@ -6014,10 +6014,10 @@ static void emit_ios_indirect_generics_input(const struct dump_ctx *ctx,
if (ctx->generic_ios.input_range.used) { if (ctx->generic_ios.input_range.used) {
int size = ctx->generic_ios.input_range.io.last - ctx->generic_ios.input_range.io.sid + 1; int size = ctx->generic_ios.input_range.io.last - ctx->generic_ios.input_range.io.sid + 1;
assert(size < 256 && size >= 0); assert(size < 256 && size >= 0);
if (size < ctx->key->num_indirect_generic_inputs) { if (size < ctx->key->input.num_indirect_generic) {
VREND_DEBUG(dbg_shader, NULL, "WARNING: shader key indicates less indirect inputs" VREND_DEBUG(dbg_shader, NULL, "WARNING: shader key indicates less indirect inputs"
" (%d) then are actually used (%d)\n", " (%d) then are actually used (%d)\n",
ctx->key->num_indirect_generic_inputs, size); ctx->key->input.num_indirect_generic, size);
} }
if (prefer_generic_io_block(ctx, io_in)) { if (prefer_generic_io_block(ctx, io_in)) {
@ -6436,14 +6436,14 @@ static void emit_ios_fs(const struct dump_ctx *ctx,
} }
if (ctx->num_in_clip_dist) { if (ctx->num_in_clip_dist) {
if (ctx->key->prev_stage_num_clip_out) { if (ctx->key->input.num_clip) {
emit_hdrf(glsl_strbufs, "in float gl_ClipDistance[%d];\n", ctx->key->prev_stage_num_clip_out); emit_hdrf(glsl_strbufs, "in float gl_ClipDistance[%d];\n", ctx->key->input.num_clip);
} else if (ctx->num_in_clip_dist > 4 && !ctx->key->prev_stage_num_cull_out) { } else if (ctx->num_in_clip_dist > 4 && !ctx->key->input.num_cull) {
emit_hdrf(glsl_strbufs, "in float gl_ClipDistance[%d];\n", ctx->num_in_clip_dist); emit_hdrf(glsl_strbufs, "in float gl_ClipDistance[%d];\n", ctx->num_in_clip_dist);
} }
if (ctx->key->prev_stage_num_cull_out) { if (ctx->key->input.num_cull) {
emit_hdrf(glsl_strbufs, "in float gl_CullDistance[%d];\n", ctx->key->prev_stage_num_cull_out); emit_hdrf(glsl_strbufs, "in float gl_CullDistance[%d];\n", ctx->key->input.num_cull);
} }
if(ctx->fs_uses_clipdist_input) if(ctx->fs_uses_clipdist_input)
emit_hdr(glsl_strbufs, "vec4 clip_dist_temp[2];\n"); emit_hdr(glsl_strbufs, "vec4 clip_dist_temp[2];\n");
@ -6515,8 +6515,8 @@ static void emit_ios_geom(const struct dump_ctx *ctx,
char clip_var[64] = ""; char clip_var[64] = "";
char cull_var[64] = ""; char cull_var[64] = "";
clip_dist = ctx->key->prev_stage_num_clip_out ? ctx->key->prev_stage_num_clip_out : ctx->num_in_clip_dist; clip_dist = ctx->key->input.num_clip ? ctx->key->input.num_clip : ctx->num_in_clip_dist;
cull_dist = ctx->key->prev_stage_num_cull_out; cull_dist = ctx->key->input.num_cull;
if (clip_dist) if (clip_dist)
snprintf(clip_var, 64, "float gl_ClipDistance[%d];\n", clip_dist); snprintf(clip_var, 64, "float gl_ClipDistance[%d];\n", clip_dist);
@ -6592,8 +6592,8 @@ static void emit_ios_tcs(const struct dump_ctx *ctx,
int clip_dist, cull_dist; int clip_dist, cull_dist;
char clip_var[64] = "", cull_var[64] = ""; char clip_var[64] = "", cull_var[64] = "";
clip_dist = ctx->key->prev_stage_num_clip_out ? ctx->key->prev_stage_num_clip_out : ctx->num_in_clip_dist; clip_dist = ctx->key->input.num_clip ? ctx->key->input.num_clip : ctx->num_in_clip_dist;
cull_dist = ctx->key->prev_stage_num_cull_out; cull_dist = ctx->key->input.num_cull;
if (clip_dist) if (clip_dist)
snprintf(clip_var, 64, "float gl_ClipDistance[%d];\n", clip_dist); snprintf(clip_var, 64, "float gl_ClipDistance[%d];\n", clip_dist);
@ -6651,8 +6651,8 @@ static void emit_ios_tes(const struct dump_ctx *ctx,
int clip_dist, cull_dist; int clip_dist, cull_dist;
char clip_var[64] = "", cull_var[64] = ""; char clip_var[64] = "", cull_var[64] = "";
clip_dist = ctx->key->prev_stage_num_clip_out ? ctx->key->prev_stage_num_clip_out : ctx->num_in_clip_dist; clip_dist = ctx->key->input.num_clip ? ctx->key->input.num_clip : ctx->num_in_clip_dist;
cull_dist = ctx->key->prev_stage_num_cull_out; cull_dist = ctx->key->input.num_cull;
if (clip_dist) if (clip_dist)
snprintf(clip_var, 64, "float gl_ClipDistance[%d];\n", clip_dist); snprintf(clip_var, 64, "float gl_ClipDistance[%d];\n", clip_dist);
@ -6821,8 +6821,8 @@ static void fill_sinfo(const struct dump_ctx *ctx, struct vrend_shader_info *sin
sinfo->has_pervertex_in = ctx->has_pervertex; sinfo->has_pervertex_in = ctx->has_pervertex;
sinfo->fs_info.has_sample_input = ctx->has_sample_input; sinfo->fs_info.has_sample_input = ctx->has_sample_input;
bool has_prop = (ctx->num_clip_dist_prop + ctx->num_cull_dist_prop) > 0; bool has_prop = (ctx->num_clip_dist_prop + ctx->num_cull_dist_prop) > 0;
sinfo->num_clip_out = has_prop ? ctx->num_clip_dist_prop : (ctx->num_clip_dist ? ctx->num_clip_dist : 8); sinfo->out.num_clip = has_prop ? ctx->num_clip_dist_prop : (ctx->num_clip_dist ? ctx->num_clip_dist : 8);
sinfo->num_cull_out = has_prop ? ctx->num_cull_dist_prop : 0; sinfo->out.num_cull = has_prop ? ctx->num_cull_dist_prop : 0;
sinfo->samplers_used_mask = ctx->samplers_used; sinfo->samplers_used_mask = ctx->samplers_used;
sinfo->images_used_mask = ctx->images_used_mask; sinfo->images_used_mask = ctx->images_used_mask;
sinfo->num_consts = ctx->num_consts; sinfo->num_consts = ctx->num_consts;
@ -6838,9 +6838,9 @@ static void fill_sinfo(const struct dump_ctx *ctx, struct vrend_shader_info *sin
sinfo->num_indirect_patch_inputs = ctx->patch_ios.input_range.io.last - ctx->patch_ios.input_range.io.sid + 1; sinfo->num_indirect_patch_inputs = ctx->patch_ios.input_range.io.last - ctx->patch_ios.input_range.io.sid + 1;
if (ctx->generic_ios.output_range.used) if (ctx->generic_ios.output_range.used)
sinfo->num_indirect_generic_outputs = ctx->generic_ios.output_range.io.last - ctx->generic_ios.output_range.io.sid + 1; sinfo->out.num_indirect_generic = ctx->generic_ios.output_range.io.last - ctx->generic_ios.output_range.io.sid + 1;
if (ctx->patch_ios.output_range.used) if (ctx->patch_ios.output_range.used)
sinfo->num_indirect_patch_outputs = ctx->patch_ios.output_range.io.last - ctx->patch_ios.output_range.io.sid + 1; sinfo->out.num_indirect_patch = ctx->patch_ios.output_range.io.last - ctx->patch_ios.output_range.io.sid + 1;
sinfo->num_inputs = ctx->num_inputs; sinfo->num_inputs = ctx->num_inputs;
sinfo->fs_info.num_interps = ctx->num_interps; sinfo->fs_info.num_interps = ctx->num_interps;
@ -6864,16 +6864,16 @@ static void fill_sinfo(const struct dump_ctx *ctx, struct vrend_shader_info *sin
* to the next shader stage. mesa/tgsi doesn't provide this information for * to the next shader stage. mesa/tgsi doesn't provide this information for
* TCS, TES, and GEOM shaders. * TCS, TES, and GEOM shaders.
*/ */
sinfo->guest_sent_io_arrays = ctx->guest_sent_io_arrays; sinfo->out.guest_sent_io_arrays = ctx->guest_sent_io_arrays;
sinfo->num_generic_and_patch_outputs = 0; sinfo->out.num_generic_and_patch = 0;
for(unsigned i = 0; i < ctx->num_outputs; i++) { for(unsigned i = 0; i < ctx->num_outputs; i++) {
if (ctx->outputs[i].name == TGSI_SEMANTIC_GENERIC || ctx->outputs[i].name == TGSI_SEMANTIC_PATCH) { if (ctx->outputs[i].name == TGSI_SEMANTIC_GENERIC || ctx->outputs[i].name == TGSI_SEMANTIC_PATCH) {
sinfo->generic_outputs_layout[sinfo->num_generic_and_patch_outputs].name = ctx->outputs[i].name; sinfo->generic_outputs_layout[sinfo->out.num_generic_and_patch].name = ctx->outputs[i].name;
sinfo->generic_outputs_layout[sinfo->num_generic_and_patch_outputs].sid = ctx->outputs[i].sid; sinfo->generic_outputs_layout[sinfo->out.num_generic_and_patch].sid = ctx->outputs[i].sid;
sinfo->generic_outputs_layout[sinfo->num_generic_and_patch_outputs].location = ctx->outputs[i].layout_location; sinfo->generic_outputs_layout[sinfo->out.num_generic_and_patch].location = ctx->outputs[i].layout_location;
sinfo->generic_outputs_layout[sinfo->num_generic_and_patch_outputs].array_id = ctx->outputs[i].array_id; sinfo->generic_outputs_layout[sinfo->out.num_generic_and_patch].array_id = ctx->outputs[i].array_id;
sinfo->generic_outputs_layout[sinfo->num_generic_and_patch_outputs].usage_mask = ctx->outputs[i].usage_mask; sinfo->generic_outputs_layout[sinfo->out.num_generic_and_patch].usage_mask = ctx->outputs[i].usage_mask;
sinfo->num_generic_and_patch_outputs++; sinfo->out.num_generic_and_patch++;
} }
} }
@ -6971,7 +6971,7 @@ bool vrend_convert_shader(const struct vrend_context *rctx,
ctx.ssbo_atomic_array_base = 0xffffffff; ctx.ssbo_atomic_array_base = 0xffffffff;
ctx.has_sample_input = false; ctx.has_sample_input = false;
ctx.req_local_mem = req_local_mem; ctx.req_local_mem = req_local_mem;
ctx.guest_sent_io_arrays = key->guest_sent_io_arrays; ctx.guest_sent_io_arrays = key->input.guest_sent_io_arrays;
ctx.generic_ios.outputs_expected_mask = key->generic_outputs_expected_mask; ctx.generic_ios.outputs_expected_mask = key->generic_outputs_expected_mask;
tgsi_scan_shader(tokens, &ctx.info); tgsi_scan_shader(tokens, &ctx.info);

@ -80,8 +80,19 @@ struct vrend_fs_shader_info {
struct vrend_interp_info interpinfo[PIPE_MAX_SHADER_INPUTS]; struct vrend_interp_info interpinfo[PIPE_MAX_SHADER_INPUTS];
}; };
struct vrend_shader_info_out {
uint64_t num_clip : 8;
uint64_t num_cull : 8;
uint64_t num_indirect_generic : 8;
uint64_t num_indirect_patch : 8;
uint64_t num_generic_and_patch : 8;
uint64_t guest_sent_io_arrays : 1;
};
struct vrend_shader_info { struct vrend_shader_info {
uint64_t invariant_outputs; uint64_t invariant_outputs;
struct vrend_shader_info_out out;
struct vrend_layout_info generic_outputs_layout[64]; struct vrend_layout_info generic_outputs_layout[64];
struct vrend_array *sampler_arrays; struct vrend_array *sampler_arrays;
struct vrend_array *image_arrays; struct vrend_array *image_arrays;
@ -93,7 +104,6 @@ struct vrend_shader_info {
uint32_t images_used_mask; uint32_t images_used_mask;
uint32_t ubo_used_mask; uint32_t ubo_used_mask;
uint32_t ssbo_used_mask; uint32_t ssbo_used_mask;
uint32_t num_generic_and_patch_outputs;
uint32_t generic_inputs_emitted_mask; uint32_t generic_inputs_emitted_mask;
uint32_t shadow_samp_mask; uint32_t shadow_samp_mask;
uint32_t attrib_input_mask; uint32_t attrib_input_mask;
@ -108,15 +118,12 @@ struct vrend_shader_info {
int num_sampler_arrays; int num_sampler_arrays;
int num_image_arrays; int num_image_arrays;
uint8_t num_indirect_generic_outputs;
uint8_t num_indirect_patch_outputs;
uint8_t num_indirect_generic_inputs; uint8_t num_indirect_generic_inputs;
uint8_t num_indirect_patch_inputs; uint8_t num_indirect_patch_inputs;
uint8_t num_clip_out;
uint8_t num_cull_out;
uint8_t has_pervertex_in : 1; uint8_t has_pervertex_in : 1;
uint8_t guest_sent_io_arrays : 1;
uint8_t ubo_indirect : 1; uint8_t ubo_indirect : 1;
uint8_t tes_point_mode : 1; uint8_t tes_point_mode : 1;
}; };
@ -125,9 +132,9 @@ struct vrend_shader_key {
uint64_t force_invariant_inputs; uint64_t force_invariant_inputs;
struct vrend_fs_shader_info *fs_info; struct vrend_fs_shader_info *fs_info;
struct vrend_shader_info_out input;
uint32_t coord_replace; uint32_t coord_replace;
uint32_t num_prev_generic_and_patch_outputs;
uint32_t cbufs_are_a8_bitmask; uint32_t cbufs_are_a8_bitmask;
uint32_t cbufs_signed_int_bitmask; uint32_t cbufs_signed_int_bitmask;
uint32_t cbufs_unsigned_int_bitmask; uint32_t cbufs_unsigned_int_bitmask;
@ -145,19 +152,14 @@ struct vrend_shader_key {
uint32_t tcs_present : 1; uint32_t tcs_present : 1;
uint32_t tes_present : 1; uint32_t tes_present : 1;
uint32_t flatshade : 1; uint32_t flatshade : 1;
uint32_t guest_sent_io_arrays : 1;
uint32_t fs_logicop_enabled : 1; uint32_t fs_logicop_enabled : 1;
uint32_t next_stage_pervertex_in : 1; uint32_t next_stage_pervertex_in : 1;
uint32_t fs_logicop_func : 4; uint32_t fs_logicop_func : 4;
uint8_t alpha_test; uint8_t alpha_test;
uint8_t clip_plane_enable; uint8_t clip_plane_enable;
uint8_t prev_stage_num_clip_out;
uint8_t prev_stage_num_cull_out;
uint8_t num_indirect_generic_outputs; uint8_t num_indirect_generic_outputs;
uint8_t num_indirect_patch_outputs; uint8_t num_indirect_patch_outputs;
uint8_t num_indirect_generic_inputs;
uint8_t num_indirect_patch_inputs;
uint8_t fs_swizzle_output_rgb_to_bgr; uint8_t fs_swizzle_output_rgb_to_bgr;
uint8_t surface_component_bits[PIPE_MAX_COLOR_BUFS]; uint8_t surface_component_bits[PIPE_MAX_COLOR_BUFS];
struct vrend_layout_info prev_stage_generic_and_patch_outputs_layout[64]; struct vrend_layout_info prev_stage_generic_and_patch_outputs_layout[64];

Loading…
Cancel
Save