Commit 4ec37317 authored by Matt Turner's avatar Matt Turner

i965: Add UD null register helpers.

Reviewed-by: default avatarKenneth Graunke <>
parent 6f9428eb
......@@ -109,6 +109,7 @@ public:
static const fs_reg reg_undef;
static const fs_reg reg_null_f(ARF, BRW_ARF_NULL, BRW_REGISTER_TYPE_F);
static const fs_reg reg_null_d(ARF, BRW_ARF_NULL, BRW_REGISTER_TYPE_D);
static const fs_reg reg_null_ud(ARF, BRW_ARF_NULL, BRW_REGISTER_TYPE_UD);
class ip_record : public exec_node {
......@@ -245,6 +245,11 @@ public:
return dst_reg(retype(brw_null_reg(), BRW_REGISTER_TYPE_D));
dst_reg dst_null_ud()
return dst_reg(retype(brw_null_reg(), BRW_REGISTER_TYPE_UD));
struct gl_program *prog;
struct brw_vec4_compile *c;
const struct brw_vec4_prog_key *key;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment