Skip to content

Commit 9791bc9

Browse files
committed
Fix CI.
1 parent ae78362 commit 9791bc9

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ jobs:
207207
shell: powershell
208208
run: |
209209
cd docs/
210-
.\update_reference.ps1
210+
.\build_reference.ps1
211211
env:
212212
GITHUB_TOKEN: ${{ secrets.UPDATE_STDLIB_REFERENCE_PAT }}
213213

source/slang/hlsl.meta.slang

+11
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,17 @@ extension _Texture<T,Shape,isArray,isMS,sampleCount,0,isShadow,1,format>
618618
}
619619
}
620620

621+
/// Samples the texture at the given location.
622+
/// For HLSL/D3D targets, the texture element type must be a scalar or vector of float or half types.
623+
///
624+
///@param s The `SamplerState` to use for the sampling operation. This parameter is omitted when `this` is a combined texture sampler type (`isCombined == 0`).
625+
///@param location The location to sample the texture at.
626+
///@param offset Texel offset to apply.
627+
///@param clamp The max level of detail to use.
628+
///@param[out] status The result status of the operation.
629+
/// This parameter is currently only used when targeting HLSL.
630+
/// For other targets, the result status is always 0.
631+
///@return The sampled texture value.
621632
[__readNone]
622633
[ForceInline]
623634
[require(cpp_cuda_glsl_hlsl_metal_spirv_wgsl, texture_sm_4_0_fragment)]

0 commit comments

Comments
 (0)