spec/!opengl 4.5/named-framebuffer-draw-buffers-errors: skip
spec/!opengl 4.5/named-framebuffer-read-buffer-errors: skip
spec/!opengl es 2.0/invalid-es3-queries_gles2: skip
-spec/!opengl es 3.0/gles-3.0-transform-feedback-uniform-buffer-object: fail
spec/!opengl es 3.0/minmax: fail
spec/3dfx_texture_compression_fxt1/compressedteximage gl_compressed_rgb_fxt1_3dfx: skip
spec/3dfx_texture_compression_fxt1/compressedteximage gl_compressed_rgba_fxt1_3dfx: skip
summary:
name: results
---- --------
- pass: 19301
- fail: 237
+ pass: 19302
+ fail: 236
crash: 2
skip: 1962
timeout: 0
{ "mem", DEBUG_MEM, NULL },
{ "fs", DEBUG_FS, NULL },
{ "cs", DEBUG_CS, NULL },
- { "nir", DEBUG_NIR, NULL },
+ { "tgsi_ir", DEBUG_TGSI_IR, NULL },
DEBUG_NAMED_VALUE_END
};
#endif
case PIPE_CAP_TGSI_FS_FACE_IS_INTEGER_SYSVAL:
return 1;
case PIPE_CAP_LOAD_CONSTBUF:
- case PIPE_CAP_PACKED_UNIFORMS:
- return !!(LP_DEBUG & DEBUG_NIR);
+ case PIPE_CAP_PACKED_UNIFORMS: {
+ struct llvmpipe_screen *lscreen = llvmpipe_screen(screen);
+ return !lscreen->use_tgsi;
+ }
default:
return u_pipe_screen_get_param_defaults(screen, param);
}
{
case PIPE_SHADER_FRAGMENT:
case PIPE_SHADER_COMPUTE:
+ if (param == PIPE_SHADER_CAP_PREFERRED_IR) {
+ struct llvmpipe_screen *lscreen = llvmpipe_screen(screen);
+ if (lscreen->use_tgsi)
+ return PIPE_SHADER_IR_TGSI;
+ else
+ return PIPE_SHADER_IR_NIR;
+ }
+
switch (param) {
default:
- if ((LP_DEBUG & DEBUG_NIR) && param == PIPE_SHADER_CAP_PREFERRED_IR)
- return PIPE_SHADER_IR_NIR;
return gallivm_get_shader_param(param);
}
case PIPE_SHADER_VERTEX:
case PIPE_SHADER_GEOMETRY:
- if ((LP_DEBUG & DEBUG_NIR) && param == PIPE_SHADER_CAP_PREFERRED_IR)
- return PIPE_SHADER_IR_NIR;
+ if (param == PIPE_SHADER_CAP_PREFERRED_IR) {
+ struct llvmpipe_screen *lscreen = llvmpipe_screen(screen);
+ if (lscreen->use_tgsi)
+ return PIPE_SHADER_IR_TGSI;
+ else
+ return PIPE_SHADER_IR_NIR;
+ }
switch (param) {
case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS:
screen->base.finalize_nir = llvmpipe_finalize_nir;
llvmpipe_init_screen_resource_funcs(&screen->base);
+ screen->use_tgsi = (LP_DEBUG & DEBUG_TGSI_IR);
screen->num_threads = util_cpu_caps.nr_cpus > 1 ? util_cpu_caps.nr_cpus : 0;
#ifdef EMBEDDED_DEVICE
screen->num_threads = 0;