tgsi: Don't bother setting the TGSI_PROPERTY_SEPARABLE_PROGRAM

Most drivers don't care about the property, and virgl should only handle
it if the host supports it.

This is a partial revert of b634030, i.e. we keep the definition of the
property, but we don't set it only based on the shader info.

Fixes: b634030542
  tgsi: Add SEPARABLE_PROGRAM property

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17344>
This commit is contained in:
Gert Wollny 2022-07-02 10:02:16 +02:00 committed by Marge Bot
parent f4a3bccf94
commit 198bcf7726
1 changed files with 0 additions and 3 deletions

View File

@ -2408,9 +2408,6 @@ ureg_setup_shader_info(struct ureg_program *ureg,
if (info->layer_viewport_relative)
ureg_property(ureg, TGSI_PROPERTY_LAYER_VIEWPORT_RELATIVE, 1);
if (info->separate_shader)
ureg_property(ureg, TGSI_PROPERTY_SEPARABLE_PROGRAM, 1);
switch (info->stage) {
case MESA_SHADER_VERTEX:
ureg_setup_clipdist_info(ureg, info);