Skip to content

Commit

Permalink
fix(brokerage): limit fetching of mismatched shaders to current gener…
Browse files Browse the repository at this point in the history
…ator version
  • Loading branch information
rayanht committed May 16, 2022
1 parent 230339e commit bcd3142
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/shader_brokerage.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def BQ_fetch_shaders_pending_execution(


def BQ_fetch_mismatched_shaders() -> RowIterator:
mismatches_query: str = """
mismatches_query: str = f"""
SELECT
t1.shader_id,
n_buffers,
Expand Down Expand Up @@ -154,6 +154,7 @@ def BQ_fetch_mismatched_shaders() -> RowIterator:
t1.shader_id = t2.shader_id
WHERE
buffer_dump IS NOT NULL
AND generator_version = "{get_spirvsmith_version()}"
ORDER BY
shader_id
"""
Expand Down

0 comments on commit bcd3142

Please sign in to comment.