diff options
author | Paul Berry <[email protected]> | 2013-03-22 21:55:03 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-04-11 09:25:26 -0700 |
commit | e9fa3a94486d80da34542cfd24425c208a8d30fe (patch) | |
tree | c3cda20ac69aa2b9102b83d804a19be558596248 /src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp | |
parent | defdb310b76ad30c192a087292e86377f4ea0d83 (diff) |
i965/vs: Don't hardcode DEBUG_VS in generic vec4 code.
Since the vec4_visitor and vec4_generator classes are going to be
re-used for geometry shaders, we can't enable their debug
functionality based on (INTEL_DEBUG & DEBUG_VS) anymore. Instead, add
a debug_flag boolean to these two classes, so that when they're
instantiated the caller can specify whether debug dumps are needed.
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp b/src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp index 5c00a739f3b..71f6b1aaa86 100644 --- a/src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp +++ b/src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp @@ -48,7 +48,8 @@ class register_coalesce_vec4_visitor : public vec4_visitor public: register_coalesce_vec4_visitor(struct brw_context *brw, struct gl_shader_program *shader_prog) - : vec4_visitor(brw, NULL, NULL, NULL, NULL, shader_prog, NULL, NULL) + : vec4_visitor(brw, NULL, NULL, NULL, NULL, shader_prog, NULL, NULL, + false) { } |