summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2012-10-15 12:00:38 -0700
committerKenneth Graunke <[email protected]>2012-10-16 12:02:01 -0700
commit41954107c00d68869f0316126908e873662b4c6d (patch)
tree34c248813f0cd4947fdbe5a810f1bc96725c3e3e /src/mapi
parent56705cd36bf48d5050ac9ec10d91fd097a577f42 (diff)
i965/fs: Fix segfault when using INTEL_DEBUG=perf with non-GLSL.
Now that ARB programs and fixed function are routed through the new backend, shader might be NULL. Don't do INTEL_DEBUG=perf support in that case, since it relies on shader->compiled_once. Since INTEL_DEBUG=perf wasn't previously supported, this maintains the status quo. It might be nice to support it someday, however. This could be moved to brw_shader_program instead of brw_shader, but it appears even prog can be NULL in that case. Reviewed-by: Eric Anholt <[email protected]> Signed-off-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mapi')
0 files changed, 0 insertions, 0 deletions