Home
last modified time | relevance | path

Searched refs:S_FIXED (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/gallium/drivers/r600/
Devergreen_compute_internal.c592 S_03C004_MIN_LOD(S_FIXED(CLAMP(sampler->state.min_lod, 0, 15), 8)) | in evergreen_set_sampler_resource()
593 S_03C004_MAX_LOD(S_FIXED(CLAMP(sampler->state.max_lod, 0, 15), 8)) in evergreen_set_sampler_resource()
596 S_03C008_LOD_BIAS(S_FIXED(CLAMP(sampler->state.lod_bias, -16, 16), 8)) | in evergreen_set_sampler_resource()
Dr600_state.c990 ss->tex_sampler_words[1] = S_03C004_MIN_LOD(S_FIXED(CLAMP(state->min_lod, 0, 15), 6)) | in r600_create_sampler_state()
991 S_03C004_MAX_LOD(S_FIXED(CLAMP(state->max_lod, 0, 15), 6)) | in r600_create_sampler_state()
992 S_03C004_LOD_BIAS(S_FIXED(CLAMP(state->lod_bias, -16, 16), 6)); in r600_create_sampler_state()
Dr600_pipe.h863 static INLINE uint32_t S_FIXED(float value, uint32_t frac_bits) in S_FIXED() function
Devergreen_state.c962 ss->tex_sampler_words[1] = S_03C004_MIN_LOD(S_FIXED(CLAMP(state->min_lod, 0, 15), 8)) | in evergreen_create_sampler_state()
963 S_03C004_MAX_LOD(S_FIXED(CLAMP(state->max_lod, 0, 15), 8)); in evergreen_create_sampler_state()
965 ss->tex_sampler_words[2] = S_03C008_LOD_BIAS(S_FIXED(CLAMP(state->lod_bias, -16, 16), 8)) | in evergreen_create_sampler_state()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dradeonsi_pipe.h228 static INLINE uint32_t S_FIXED(float value, uint32_t frac_bits) in S_FIXED() function
Dsi_state.c2166 rstate->val[1] = (S_008F34_MIN_LOD(S_FIXED(CLAMP(state->min_lod, 0, 15), 8)) | in si_create_sampler_state()
2167 S_008F34_MAX_LOD(S_FIXED(CLAMP(state->max_lod, 0, 15), 8))); in si_create_sampler_state()
2168 rstate->val[2] = (S_008F38_LOD_BIAS(S_FIXED(CLAMP(state->lod_bias, -16, 16), 8)) | in si_create_sampler_state()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen7_sampler_state.c146 sampler->ss0.lod_bias = S_FIXED(CLAMP(texUnit->LodBias + in gen7_update_sampler_state()
Dbrw_wm_sampler_state.c279 sampler->ss0.lod_bias = S_FIXED(CLAMP(texUnit->LodBias + in brw_update_sampler_state()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_context.h388 S_FIXED(float value, uint32_t frac_bits) in S_FIXED() function