mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 00:49:04 +02:00
i965: Tell backend register about double precision type
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com> Signed-off-by: Tapani P\344lli <tapani.palli@intel.com> Signed-off-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
This commit is contained in:
parent
520b3b2fd1
commit
45066a6a59
1 changed files with 2 additions and 1 deletions
|
|
@ -80,10 +80,11 @@ brw_type_for_base_type(const struct glsl_type *type)
|
|||
return BRW_REGISTER_TYPE_UD;
|
||||
case GLSL_TYPE_IMAGE:
|
||||
return BRW_REGISTER_TYPE_UD;
|
||||
case GLSL_TYPE_DOUBLE:
|
||||
return BRW_REGISTER_TYPE_DF;
|
||||
case GLSL_TYPE_VOID:
|
||||
case GLSL_TYPE_ERROR:
|
||||
case GLSL_TYPE_INTERFACE:
|
||||
case GLSL_TYPE_DOUBLE:
|
||||
case GLSL_TYPE_FUNCTION:
|
||||
unreachable("not reached");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue