diff options
author | Alejandro Piñeiro <[email protected]> | 2017-08-24 15:54:27 +0200 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-10-25 16:14:09 -0700 |
commit | 4723933b8ea62cb100c5f21b4b42f838c6e948b1 (patch) | |
tree | 7c7a3873381a973e2f26b78d8dd3388d0e8c4fde /src/egl/drivers | |
parent | 99778e7f9f874f132ec9ddace3e91714e42e690f (diff) |
i965/fs: Add brw_reg_type_from_bit_size utility method
Returns the brw_type for a given ssa.bit_size, and a reference type.
So if bit_size is 64, and the reference type is BRW_REGISTER_TYPE_F,
it returns BRW_REGISTER_TYPE_DF. The same applies if bit_size is 32
and reference type is BRW_REGISTER_TYPE_HF it returns BRW_REGISTER_TYPE_F
v2 (Jason Ekstrand):
- Use better unreachable() messages
- Add Q types
Signed-off-by: Jose Maria Casanova Crespo <[email protected]>
Signed-off-by: Alejandro Piñeiro <[email protected]
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/egl/drivers')
0 files changed, 0 insertions, 0 deletions