mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
svga/nir: enable lower double option
There is no translation support for dfloor, mod, and pow in svga_tgsi_vgpu10, just enable the lowering passes in the nir compile option. Reviewed-by: Neha Bhende <bhenden@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16412>
This commit is contained in:
parent
6253a23eff
commit
742a873209
1 changed files with 3 additions and 0 deletions
|
|
@ -774,12 +774,15 @@ static const nir_shader_compiler_options svga_vgpu9_compiler_options = {
|
|||
};
|
||||
|
||||
static const nir_shader_compiler_options svga_vgpu10_compiler_options = {
|
||||
.lower_doubles_options = nir_lower_dfloor,
|
||||
.lower_extract_byte = true,
|
||||
.lower_extract_word = true,
|
||||
.lower_insert_byte = true,
|
||||
.lower_insert_word = true,
|
||||
.lower_fdph = true,
|
||||
.lower_flrp64 = true,
|
||||
.lower_fmod = true,
|
||||
.lower_fpow = true,
|
||||
.lower_rotate = true,
|
||||
.lower_uniforms_to_ubo = true,
|
||||
.lower_vector_cmp = true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue